Let's run this #RustLang program on Apache #NuttX OS
https://github.com/lupyuen/incubator-nuttx-apps/blob/rust/examples/rust_test/rust/src/lib.rs
#RustLang builds OK with #NuttX OS! π Let's run the NuttX Firmware
https://gist.github.com/lupyuen/9bfd71f7029bb66e327f89c8a58f450d
Once we implement the #RustLang Embedded HAL on #NuttX OS ... We can run all kinds of Rust Drivers on NuttX! π
https://github.com/tweedegolf/sx126x-rs/blob/master/examples/stm32f103-ping-pong.rs#L58-L85
#RustLang opens GPIO Ports on Apache #NuttX OS ... The POSIX Way π
https://github.com/lupyuen/incubator-nuttx-apps/blob/rust/examples/rust_test/rust/src/lib.rs#L10-L27
#RustLang on Apache #NuttX OS ... SPI Data Transfer works OK! π
https://gist.github.com/lupyuen/995de62d678cd6d1fadf464e1795fc8d
Let's implement #RustLang Embedded HAL for #NuttX OS ... So that we can test the Rust Driver for LoRa SX1262
https://github.com/lupyuen/incubator-nuttx-apps/blob/rust/examples/rust_test/rust/src/sx1262.rs
#RustLang Embedded HAL for #NuttX OS ... Builds OK with the Rust Driver for LoRa SX1262! π
https://github.com/lupyuen/incubator-nuttx-apps/blob/rust/examples/rust_test/rust/src/sx1262.rs
But the #RustLang Driver for LoRa SX1262 doesn't run correctly on #NuttX OS π€
https://gist.github.com/lupyuen/ee010b118166627f04f4fa63d8ccc0c9
#RustLang Driver for LoRa SX1262 splits SPI Transfers into 1-byte and 2-byte chunks ... So this driver won't work on #NuttX OS unless we merge the SPI Transfers π€
https://gist.github.com/lupyuen/ee010b118166627f04f4fa63d8ccc0c9
Let's merge the SPI Transfers in the #RustLang Driver for LoRa SX1262 ... And make it work on Apache #NuttX OS
https://github.com/lupyuen/sx126x-rs-nuttx/blob/master/src/sx/slave_select.rs
Modified #RustLang Driver for LoRa SX1262 ... Now runs correctly on Apache #NuttX OS! π
https://gist.github.com/lupyuen/9c637e2c1f6ea331c3df8d8d29e282a8
@lupyuen tagging @laufi @eichkat3r
@guenther @lupyuen @eichkat3r i'm in love. β€οΈ
@laufi @guenther @eichkat3r Thanks! Here's the article I'm writing now...
#RustLang runs OK on #NuttX OS ... We're ready to create Rust Embedded Apps on NuttX! π
https://github.com/lupyuen/incubator-nuttx-apps/blob/rust/examples/rust_test/rust/src/lib.rs