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