this post was submitted on 29 Nov 2026
29 points (100.0% liked)
Programming
29437 readers
118 users here now
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Rules
- Follow the programming.dev instance rules
- Keep content related to programming in some way
- If you're posting long videos try to add in some form of tldr for those who don't want to watch videos
Wormhole
Follow the wormhole through a path of communities !webdev@programming.dev
founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
You can just use the ARM GCC with STLink and whatever editor/IDE you like. You don't need CubeIDE or CubeMX. You can add whatever dependency you are comfortable with from there e.g CMSIS headers, libopencm3 or iirc the STM32 HAL. You probably need to be familar with setting up your build system with make, cmake or anything else.
There is a bare metal programming guide that really starts from 0 that is quite interesting. You can find it here: https://github.com/cpq/bare-metal-programming-guide
For now, I followed this guide to get some stuff going with CMake and official HAL but I'll give the bare metal guide a shot because it looks very interesting. Ty