Loading...
 
Skip to main content

System Workbench for STM32


No interrupt.c file

Hello!

For my project I have a problem. I created a project just as described in the documentation

The project is created with a main.c and a interrupt file (stm32f4xx_it.h). Unfortunatly it won't create a stm32f4xx.c file. Or I can't find that file. Can someone help me fix this issue?

I need to be able to make the interrupt function which is needed for a timer.

When I create an empty C project, 4 source files are generated, including the stm32l0xx_it.c, with the SysTick_Handler function in it, allowing interruptions.
Maybe you can try to create another empty project, copy its interrupt source file and paste it in your project? I'm not sure this solution works but you could try this.
Maybe it depends on the board you're working on ? (I have a L0 model)

Hope it helps a bit.