rttrust 0.1.3

Rust wrapper for rt-thread
Documentation

rttrust

Rust wrapper for rt-thread

Usage guide can be found in example folder.

Supported rt-thread APIs

  1. Kernal object
  2. Memory
  3. Thread
  4. Timer
  5. IPC
    1. Spin lock (rt_enter_critical)
    2. Semaphore
    3. Mutex
    4. Event
    5. Mailbox
    6. Message queue
    7. Signal
  6. Interrupt
  7. Device
    1. Device register
    2. Device access
    3. UART, PIN, ... (device specific APIs)

Advanced features

  • Allocator
  • print! and println!

Platforms

  • stm32f4xx

Requirements

  • rust toolchain: nightly
  • rust target: thumbv7em-none-eabihf
  • libclang
  • gcc-arm-none-eabi