3 unstable releases
0.2.1 | Jun 4, 2021 |
---|---|
0.2.0 | May 30, 2021 |
0.1.0 | Sep 3, 2020 |
#1458 in Embedded development
56 downloads per month
Used in kea-hal
2.5MB
81K
SLoC
SKEAZN642
Rust Peripheral Access Crate (PAC) for the NXP Kinetis KEA64 subfamily of automotive microcontrollers.
- S9KEAZN16AMLC
- S9KEAZN32AMLC
- S9KEAZN64AMLC
- S9KEAZN16AMLH
- S9KEAZN32AMLH
- S9KEAZN64AMLH
This crate was generated by svd2rust with some manual additions as needed.
SVD obtained from ARM CMSIS Device Packs.
memory.x
An example memory.x is provided for the S9KEAZN32AMLH (32K Flash, 4K RAM, 256b EEPROM).
To use in your project, rename memory-32.x to memory.x and adjust as needed. Note that there are protected configuration values (Section .FlashConfig) from 0x400 up to 0x410. The text section begins at 0x410.
EEPROM
EEPROM (Section .eeprom) begins at 0x1000_0000. There appears to be no way to program the eeprom directly with development tools.
The work around is to detect if the eeprom is empty/invalid and write to it during setup/initialization. This is not a deficiency in rust or this crate.
License
Excluding the source SVD and any licenses that may apply to the generated code, all files in this project are licensed under the MIT license.
Dependencies
~0.6–0.8MB
~11K SLoC