2020-03-25 07:41 AM
I get an error everytime i try to debug LED2. The error says: expectet identifier or `(` before `{`token. I added a screenshot of the code and where exactly the error is positioned. The code was modeled by simulink
2020-03-25 08:20 AM
The error message is pretty descriptive. You're missing a function declaration there. Something like this:
void SysTick_Handler(void) {
Not sure what your code generator is missing.
2020-03-26 06:18 AM
2020-03-26 06:21 AM
Yes, it is very common. So common that when I typed it into Google I got 172,000 results.
It sounds like your code generator is broken. I'm not sure what "Using Mat-target" means, but I don't really want to debug it for you. Generally, the code generated by STM32CubeMX using the latest versions is free from major bugs.