rttrust
Rust wrapper for rt-thread
Usage guide can be found in example folder.
Supported rt-thread APIs
- Kernal object
- Memory
- Thread
- Timer
- IPC
- Spin lock (
rt_enter_critical
) - Semaphore
- Mutex
- Event
- Mailbox
- Message queue
- Signal
- Spin lock (
- Interrupt
- Device
- Device register
- Device access
- UART, PIN, ... (device specific APIs)
Advanced features
- Allocator
print!
andprintln!
Platforms
- stm32f4xx
Requirements
- rust toolchain:
nightly
- rust target:
thumbv7em-none-eabihf
- libclang
gcc-arm-none-eabi