Sergio Gasquez Arcos
c88dbefff8
Avoid using nb::Result as a return type ( #2882 )
...
* feat: Avoid using nb::Result in spi
* feat: Avoid using nb::Result in hmac
* feat: Avoid using nb::Result in sha
* feat: Avoid using nb::Result in usb_serial_jtag
* feat: Avoid using nb::Result in adc::read_oneshot
* feat: Avoid using nb::Result in rsa::ready
* feat: Avoid using nb::Result in timer::wait
* feat: Avoid using nb in uart and twai. Udpate examples and tests to avoid using block!
* feat: Block on sha calls, remove Option<> results
* feat: Block on hmac calls, remove Option<> results
* fix: Clippy lints
* feat: Block on spi calls, remove Option<> results
* feat: Block on timer calls, remove Option<> results
* feat: Block on twai calls, remove Option<> results
* docs: Fix wait docstring
* feat: Remove embedded_hal_nb traits
* feat: Block on uart calls, remove Option<> results
* feat: Remove nb stuff from usb_serial_jtag
* feat: Block on rsa calls, remove Option<> results
* feat: Clippy lints
* feat: Make read_bytes return how many bytes it read from the fifo and fix docs/tests
* fix: run_test_periodic_timer test
* feat: Only remove nb from stabilizing drivers
* feat: Remove unused functions
* feat: Remove emnbedded-hal-nb
* test: Adapt tests
* docs: Update changelog and migration
* test: Adapt tests
* docs: Update migration guide
* docs: Update migration
Co-authored-by: Dániel Buga <bugadani@gmail.com>
* docs: Update changelog and migration guide
* feat: Make `write_bytes` return an Result
---------
Co-authored-by: Dániel Buga <bugadani@gmail.com>
2025-01-17 15:46:20 +00:00
Dániel Buga
8c48c74039
Make Uart::read_bytes blocking ( #2935 )
2025-01-13 14:44:45 +00:00
Dániel Buga
e13c09eb92
Remove logic from InputPin and OutputPin ( #2926 )
...
* Hide PAC types exposed via peripheral singletons
* Rename AlternateFunction variants
* Move logic to AnyPin
* Remove degrade_pin
* Add a note to GPIO
* Remove mask
* Fix test
2025-01-10 14:50:03 +00:00
Juraj Sadel
03ea4f6c90
Remove the single byte read/write inherent functions ( #2915 )
...
* SPI: remove read/write_byte functions
* UART: make read/write_byte functions private
* changelog
* migration guide
* fix ieee802154_sniffer example
* review comments and cleanup
* use variable name buf instead of buff
* add pub fn read_bytes
* migration guide update
* another migration guide update
* improve docs of read/write_bytes
2025-01-10 14:36:24 +00:00
Dániel Buga
848029b152
Test all feature sets ( #2901 )
...
* Mark interconnect as unstable
* Explicitly set unstable feature in HIL tests
* WIP append feature set name to artifact
* Add name to feature sets, build all combinations
* Fix tests
* Provide a looping executor for stable async tests
* Fix usb serial jtag
* Hide interconnect types
2025-01-09 13:58:14 +00:00
Juraj Sadel
8a7f8361a6
UART: Move RX/TX pin assignment from constructor to builder functions ( #2904 )
...
* Add with_rx() and with_tx() methods to UART drivers
* changelog
* migration guide
* forgotten tests
* fmt
* fix H2 example
* Use the same calling order of calling TX and RX as before
2025-01-08 16:35:22 +00:00
Kirill Mikhailov
62c72947dd
Multiple API fixes in UART driver ( #2851 )
...
* Close a number of issues
doctest update
fmt
* changelog entry
* dumb
* addressing reviews
* Add an entry to migration guide
2024-12-20 14:01:11 +00:00
Dániel Buga
7f8af8a651
Remove prelude ( #2845 )
...
* Remove prelude
* Changelog
2024-12-20 10:24:57 +00:00
Juraj Sadel
d54f8440a5
HIL(QOL): Use global timeout instead of timeout macros ( #2489 )
...
* HIL(QOL): Add missing timeouts to various tests
* Increase timeouts for ECC
* Use global timeout in hil tests
* sha: increase test_digest_of_size_1_to_200 timeout from 10 to 15 seconds
2024-12-04 12:03:39 +00:00
Dániel Buga
92910bf1cb
Constructor consistency update ( #2610 )
...
* UART: only implement constructors with config, define ConfigError
* UART: only implement interrupt functions for Blocking
* I2C: fallible constructors
* Lcd/Cam
* SPI
* Update tests and examples
* Changelog
* Add note about ConfigError
* Fmt
2024-11-28 09:28:50 +00:00
Dániel Buga
70fe8fb077
Remove some unnecessary prelude reexports ( #2564 )
...
* Remove some unnecessary prelude reexports
* Fix test
2024-11-19 13:31:08 +00:00
Dániel Buga
fbc57542a8
Remove pins from Io
( #2508 )
...
* Split pins off of Io
* Remove the GPIO peripheral
* p.GPIO
2024-11-12 10:36:25 +00:00
Dániel Buga
561b582a80
Overhaul peripheral signal system, first run ( #2388 )
...
* Remove redundant bound
* Remove redundant Dummy variant
* Make PeripheralOutput extend PeripehralInput
* Rename AnyInputSignal to InputConnection
* Add OutputConnection
* Convert into type-erased interconnect conections
* Clean up LCD/CAM
* Document changes
* Review changes
Co-authored-by: Dominic Fischer <14130965+Dominaezzz@users.noreply.github.com>
* Clean up
---------
Co-authored-by: Dominic Fischer <14130965+Dominaezzz@users.noreply.github.com>
2024-10-25 07:01:45 +00:00
Dániel Buga
c26600f943
Fix first UART print ( #2318 )
...
* Fix first UART print
* Add test case
* Explicitly set level to cause problems
2024-10-09 15:16:56 +00:00