teensy4-rs
teensy4-rs copied to clipboard
Rust support for the Teensy 4
A more common (in my opinion) PWM example is 1 pin, but the example uses https://docs.rs/imxrt-hal/latest/imxrt_hal/pwm/struct.Submodule.html which calls for 2 pins. > Converts two pins into PWM outputs. Returns a...
The [`imxrt-usbd` package](https://github.com/imxrt-rs/imxrt-usbd) provides a USB driver that's compatible with the `usb-device` Rust ecosystem. `imxrt-usbd` should be sufficient to replace the BSP's custom USB stack. Remove the C-based USB driver,...
This issue tracks ideas and discussions for a Rust-based SD card driver for Teensy 4.1 boards. Some possible goals: 1. a driver that can interface SD cards, and is usable...
This seems to be a feature request, that belongs into this repo. But what would be awesome to have is that the panic handler can write over USB serial the...
The `teensy4-bsp` supports both Teensy 4.0 and 4.1 boards. We achieve this with a single linker script. However, the common support means that we are not using the Teensy **4.1**'s...
I would like to use my Teensy4 to generate keypresses and mouse clicks. The C API is discussed at https://www.pjrc.com/teensy/usb_keyboard.html but I can not find an example in in the...
This [SRTC note in the imxrt-hal documentation](https://github.com/imxrt-rs/imxrt-hal/blob/c4ed3228d7f85d1f5e2a51322f8c1a5820e2c804/imxrt1060-hal/src/srtc.rs#L23-L28) could be moved into the BSP.
EEPROM
Hi there, thanks for all the great work! I can't seem to find any information about reading and writing from / to EEPROM. Is this something that is on the...
**Describe the bug** When the BSP presents I2C drivers to the user, it should ensure that the I2C lines are configured for open drain. As of today, this configuration doesn't...
This allows users to use their own logging systems without fiddling with `teensy4-bsp` default features. Removal also resolves issues like #130, and removes magic from firmware [and the build](https://github.com/mciantyre/teensy4-rs/discussions/142). I...