4 ms·
Just went to look to see if there were any complilers for Rust on Microchip or ST. Perhaps I have found a fun side project.
by zafka 4y ago
Just went to look to see if there were any complilers for Rust on Microchip or ST. Perhaps I have found a fun side project.
- RealityVoid 4y agoSTM32 are ARM based so you can build and run it today. You have libraries and support for peripherals. I know TockOS has support for them.
- zafka 4y agoThanks, If I thought a bit before I typed I would have realized that. Most of my code the last 12 years has been C on dsPICs, but coworkers have been designing in ST micros recently. I am not very fond of the HAL system, but lots of folks seem to love it. I like setting all the registers myself.
- RealityVoid 4y ago> I like setting all the registers myself. I did as well, but once you write a low level driver for the nth time you kind of get sick of it and just want to build shit. I was just playing with the very opposite of that idea recently actually, setting the peripheral configuration through a taylored bytecode. Should be portable, debuggable with the right infrastructure, statically analyzable and more easily external tool generatable. Maybe blasphemous for embedded programmers.