Loading...
 
Skip to main content

System Workbench for STM32


Start with example

Hi,
I'm also a newbie, but I want to help you with what I can. I have imported a project from the ones in en.stsw-stm32068.zip
and made it work in AC6 (workbench for STM32). I cannot attach it here because it is 1362KB and maximum size here is 976.56.
If you want it send me a PM with some email address,
Anyway, the idea is simple, create a new project in AC6 and select the STM32F4-Discovery as your board, this will add the
correct configuration file and create a skeleton with all the necessary headers etc, almost. Into the includes, the "inc" folder you'll
need to add the following file stm32f4xx_conf.h. This you can get from the project you want to import. You will also need to replace
the main.c with the one from the project you want to import. That's it, you are done, build and it works. I tested with IO_Toggle and
it works without problems. I believe if you are using something with interrupts you will need to check the stm32f4xx_it.h and
stm32f4xx_it.c files I suppose. Or the USB OTG will need extra drivers etc, but you get the idea.
Anyway, as explained, I'm just starting to grasp this thing so this much is what I know. This forum is full with good advise and
ideas and it is a great place to learn.
I wish you luck.
RA

 
Collapse/expand modules below