2020-03-13 04:15 AM
Hi everyone,
I have bought a STM32F4-Discovery Board DTM32F429I-Disc1, and my intention is to work in Matlab-Simulink.
This is the process I have followed:
C:/Users/isc2tr/Documents/MATLAB/Examples/BlinkLED/Debug/../Src/main.c:124: undefined reference to `BlinkLED_initialize'
C:/Users/isc2tr/Documents/MATLAB/Examples/BlinkLED/Debug/../Src/main.c:145: undefined reference to `BlinkLED_step'
C:/Users/isc2tr/Documents/MATLAB/Examples/BlinkLED/Debug/../Src/main.c:134: undefined reference to `BlinkLED_M'
collect2.exe: error: ld returned 1 exit status
make: *** [makefile:44: BlinkLED.elf] Error 1
What am I missing?
How can I deploy the code generated in Simulink to the board, by using the STM32CubeIDE?
Thanks
SOLVED: Follow the updated step-by-step process above.
2020-03-30 05:04 AM
2020-03-30 05:24 AM
Hi @DCagi.1 ,
I quickly looked at your zip; everything is mixed in all this.
The following link may help you:
Regards.
Cyril
2020-03-30 06:43 AM
2020-03-30 07:45 AM
Hi @DCagi.1 ,
"Generate IRQ handler" is not set for "Time base Sys tick timer" in your STM32CubeMX project (BlinkLED.ioc).
Regards.
Cyril
2020-03-31 01:46 AM
Hi @Cyril FENARD
Eureka! Now it is up a running, thanks a lot for your valuable help. I will try to make some comments in the 1st post, for others to benefit from it.
Have a nice day