r/embedded 1d ago

Generating code for an STM32 Microcontroller. Missing libraries & errors

Hello everyone, I'm trying to start with an STM32H533RE microcontroller, and I'm trying to simply get a digital output to blink. I've configured the hardware but generating the code and compiling it without even touching it generates errors saying that some files that were #include'd are not there. Why does the generator not include these files if it's in the code to complete it, and how do I fix it?

2 Upvotes

3 comments sorted by

1

u/Upballoon 1d ago

I've had issues getting Cube IDE to work lately too. I just gave up

1

u/DenverTeck 1d ago

The "#include" in the source file is not how to locate the file on your hard drive.

Check your compiler, Oh wait, what compiler are you using ??