Re:Programming ARM Cortex-M Microcontrollers with Rust
by turbinerneiter on Sunday April 09, 2017 @06:49AM
(#14071606)
True, the libraries are C.
Compilers are often gcc. Like AVR has a gcc compiler and as you said some parts of C++ are implemented.
For ARM there is also a gcc.
I only have experience with AVR and ARM (STM) to be honest.
Re:Programming ARM Cortex-M Microcontrollers with Rust
by uxp on Sunday April 09, 2017 @09:30AM
(#14072175)
I came across this [0] yesterday while looking for STM32 stuff for those cheap ass $2 STM32F103 boards. To your point, however, it's still just writing values directly out to register pointers. That entire repo can be boiled down to one little C program like this [1].
0. https://github.com/jamesmunns/bluepill
1. https://gist.github.com/uxp/35c9d5d51b2229f5c4c2e5b11c3341e5
In my experience most bundle their own compiler suite. Nothing like learning what parts of C++03 are/aren't implemented.
Especially in the RTOS space where most the time your program is just an object file being injected into the OS.