Loading...
 
Skip to main content

System Workbench for STM32


Importing Cube example programs: F7-discovery

Thanks for the info. Your steps helped, as I eventually figured out that "copy files into workspace" was the culprit checkbox. I unchecked it. Otherwise you just get a bunch of unresolved includes / files etc.

Also, browse to the MX cube generated folder to find the ELF file for debugging.

So, still had a few problems as I had to include the ...legacy.h hal driver file manually, but am flashing an LED now at least.

As far as I can see as well, the default clock speed is way less that 216MHz (105MHz?) and the internal caches and ART accelerator are off. I'll try re-generating with those configured and clocks set up etc, and see what I get.

Just mentioning the gotchas above for others.

Thanks for your help. 😊