mciantyre / teensy4-rs

Rust support for the Teensy 4
Apache License 2.0
271 stars 31 forks source link

Expose flexspi2 register block #139

Closed Finomnis closed 1 year ago

Finomnis commented 1 year ago

While a driver for it doesn't exist yet, it would still be already helpful (for driver development) to expose the raw FlexSPI registers, so we don't need to unsafely pry them out of imxrt-ral.

Especially for the Teensy MicroMod, where the FlexSPI plays a central role.

Exposing flexspi1 doesn't make sense (to my understanding), because it is connected to the flash memory that stores the executable code.

Finomnis commented 1 year ago

Never mind. I just realized that those pins are uSDHC pins, not Flexspi pins.