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
 

I am new to STM32 and I think I need the STM32 Cube IDE to program this thing. I got a Nucleo board so I don't think I need STLink.

HAL library is apparently BSD-3-clause so I got no issue with that, but I'd prefer to not run the Cube IDE.

Is there any open source toolchain to replace what Cube does?

you are viewing a single comment's thread
view the rest of the comments
[–] Croquette@sh.itjust.works 5 points 1 day ago

Cube is essentially cross-compiling for your STM32 ARM architecture with gcc.

So you could use the generated linker files as a starting point or create your own and use Make/CMake with gcc to build and the GNU Debugger (gdb) to debug your code.

If you get that far, you can use any IDE or text editor on top of your setup, but you will have to integrate your build and debug actions and anything you need to your IDE/text editor.

It isn't as complicated as it sounds, but I don't know your level of skills.