Are other programming languages supported than c++ (arduino)?
Rust is a more modern and memory safe language
The underlying SOC can theoretically used with Rust but does everything else support it? Or is there anything regarding different programming languages supported or planned?
No, we are not planning to support other programming languages.
But feel free to use any programming language that supports the Nordic nRF52840, there is no limitation.
We know that some customers are using Zephyr, I heard that MicroPython is possible as well. And commercial customers use the Nordic nRF SDK directly to write applications for the RAK4631.
You can use Rust with embassy. I’ve got it working with a LED, USB serial logging, UART0/UART1 and more. I can post the steps I’ve used to get it running.
You can use embassy-template to set up an initial repository. You should buy RAKDAP1, connect it to the MCU and then install probe.rs. embassy-template will instruct cargo to use probe-rs internally when you call cargo run.
There’s a bit more, just read the docs of embassy, probe-rs and other projects included byt embassy-template.
Thank you for pointing me to RAKDAP1 as a way to get probe-rs to work. It is is actually quite cheap. I’m unsure at this point if it is possible with the USB port of the RAK19007 WisBlock to connect via probe-rs. More research to be done but it’s good to know there is a known working path with probe.rs.
Thanks Lukas. I missed your post from the middle of last year, but I’ve been wondering for a while how to approach Rust given all the RAK hardware I already have.
I don’t think you can use probe-rs via the USB port. You can flash the UF2 firmware via USB (I made it work using adafruit-nrfutil) but developing is 4 times better with a debug probe such as RAKDAP1. Just buy it.