esp-pacs
esp-pacs copied to clipboard
Peripheral Access Crates for Espressif SoCs and modules
Correct definition for the ESP32 ```xml TIMER0_SYNC 0xC 0x20 TIMER0_SYNCI_EN 0 1 read-write SW 1 1 read-write TIMER0_SYNCO_SEL 2 2 read-write TIMER0_PHASE 4 16 read-write TIMER0_PHASE_DIRECTION 20 1 read-write ```...
Do not change case of enum names and values, autoderive fields instead of enums (on common enum rule).
`README.md` should mention when to use `common_patches` directory and discuss patching conventions
Since we've now changed the workflow slightly, the `README.md` should be updated accordingly. It should be clear to users who have never contributed before how to write patches and where...
Spotted in https://github.com/esp-rs/esp-hal/pull/1397/files#diff-b984f0a4e39566134a42a24478359a9451a60d4a92014074067c518a8dc1a53cR46
Although this is still nightly feature (see https://github.com/rust-lang/rustfmt/issues/3988)
Register numbers don't match with the ID of peripheral due to them being transmuted to the same type
In the current driver code similar peripherals are cast to the same type (usually the type for the `XXX0` peripheral). So the register names are named also with the 0th...
An inconsistency between a register name and a function name, generated after `svd2rust` in multiple registers was noticed.