@oblate @lupyuen
these days there are many choices, from bare metal to CMSIS to stm32duino
https://github.com/stm32duino/Arduino_Core_STM32
https://www.stm32duino.com/
stm32duino has a history from
leaflabs maple
https://www.leaflabs.com/maple
stm32f103cb maple mini and later blue pill stm32f103c8
https://github.com/rogerclarkmelbourne/Arduino_STM32
@lupyuen Ooo, nice little guide, and has given me some new takes on how to program for them.
@lupyuen Nice to see microcontrollers getting some love.
If I may be permitted a small plug for my stm32f411re CMSIS stuff:
https://gitlab.com/mcturra2000/rpi/-/tree/master/stm32f411re/cmsis
I've got quite a few examples there, including blinky (of course), timers, systick, uart (oblig, of course, inc. blocking and interrupt), a couple of I2C peripherals (inc. ssd1306) , and more.
I'm also a fan of libopencm3.
#stm32 and #rp2040 are mcu's that I use the most.