Scott Mabin
f83ab23f04
Avoid abbreviations in API ( #2844 )
...
* Avoid abbreviations in API
* changelog/migration
2024-12-19 14:39:40 +00:00
Dániel Buga
b8f15f0a8b
Refine API-GUIDELINES recommendations ( #2832 )
...
* Refine C-COMMON-TRAITS recommendations
* Recommend deriving Error
* Clarify that Instance, State and Info are private implementation details at this point
2024-12-19 07:08:25 +00:00
Juraj Sadel
3a03dd88c7
Prefer line comments // over block comments /* */ ( #2738 )
...
* Prefer line comments // over block comments /* */
* esp-wifi: Prefer line comments // over block comments /* */
* Mention in our API guideline that // should be prefered over /* */
2024-12-12 15:53:38 +00:00
Dániel Buga
d2f15d69d7
Fix signal fn recommendation ( #2692 )
2024-12-06 13:36:20 +00:00
Jesse Braham
b26b31f1ce
Mention that config structs should derive procmacros::BuilderLite
in the API guidelines ( #2686 )
2024-12-05 13:23:09 +00:00
Dániel Buga
50387290d9
API-GUIDELINES tweaks ( #2677 )
...
* Add PeripheralGuard exception
* Add cfg! macro recommendation
2024-12-04 15:52:59 +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
b50a075449
Amend rust guidelines ( #2617 )
2024-11-27 12:41:51 +00:00
Scott Mabin
6a008bf597
note rustdoc linkage ( #2595 )
2024-11-25 14:32:01 +00:00
Scott Mabin
2fc10d684c
API guideline touchups ( #2573 )
...
* guideline touchups
* review comments
2024-11-21 07:41:26 +00:00
Dániel Buga
31d714a156
Tweak guidelines ( #2482 )
...
* Tweak guidelines
* Restore builder rule
* Address review comments
2024-11-08 11:50:52 +00:00
Dániel Buga
8a23dbe1b6
Modernize UART interrupts ( #2406 )
...
* Modernize UART interrupts
* Also derive Debug and Format for interrupt enums
* Fix changelog
* Touch up API-GUIDELINES
2024-10-28 09:07:15 +00:00
Sergio Gasquez Arcos
b5f0246129
Reordered RX-TX pairs to be consistent ( #2074 )
...
* feat: Update rx-tx order in i2s
* feat: Update rx-tx order in dma macros
* feat: Update rx-tx order in spi
* feat: Update rx-tx order in aes
* feat: Update rx-tx order in mem2mem
* feat: Update rx-tx order in twai and split methods
* feat: Update rx-tx order in twai
* feat: Update rx-tx order in twai and uart docs
* docs: Add sentence about order
* docs: Update changelog
* feat: Update rx-tx order in embassy_interrupt_spi_dma tests
* style: Rustfmt
* docs: Migrating guide
* fix: Typo
Co-authored-by: Dániel Buga <bugadani@gmail.com>
* fix: Diff
Co-authored-by: Dániel Buga <bugadani@gmail.com>
* fix: Tests rx-tx order
* fix: Update new_with_default_pins order
* feat: Update rx/tx order in hil_test::common_test_pins!
* feat: Update dma_extmem2mem example
* fix: Revert deleted input arg
* style: rustfmt
* feat: Disable test_asymmetric_dma_transfer for S2
---------
Co-authored-by: Dániel Buga <bugadani@gmail.com>
2024-09-06 09:56:10 +00:00
Dániel Buga
447411fb58
Rework hal initialization ( #1970 )
...
* Rework hal initialization
* Turn sw interrupt control into a virtual peripheral
* Return a tuple instead of a named struct
* Fix docs
* Remove SystemClockControl
* Move software interrupts under interrupt
* Re-document what's left in system
* Update time docs
* Update sw int docs
* Introduce Config
* Fix tests
* Remove redundant inits
* Doc
* Clean up examples&tests
* Update tests
* Add changelog entry
* Start migration guide
* Restore some convenience-imports
* Remove Config from prelude
2024-09-02 13:38:46 +00:00
Dániel Buga
8aa1a88a23
Prefer cfg_if
( #2003 )
2024-08-27 11:53:55 +00:00
Dániel Buga
1003ce0c0f
Clean up SHA, RSA, mandate #[must_use]
on Futures ( #2000 )
...
* Janitor go brr
* Clean up SHA
* Use max CPU speed
* RSA cleanup part 1
* Clean up nonsense comments
* Mark all futures as must_use
2024-08-27 10:43:58 +00:00
Scott Mabin
361a6c58b7
make contribution docs more visible ( #1947 )
2024-08-15 07:58:06 +00:00