- Check your project folder to confirm that BlinkLED.c is present.
- Go to Model Settings > Code Generation > Custom Code If BlinkLED.c is listed as a source file but you don't have it, remove the reference or add the file.
- Also, make sure the file is named exactly BlinkLED.c (the way you have given the naming convention)
- Delete the slprj and <model>_ert_rtw folders in your project directory to rebuild.
- If your model uses S-Functions, ensure all necessary source files are included in the project.
- Test with a Basic Model: Try building a simple Simulink model without custom code to confirm your environment is set up correctly.
ISSUE WITH STM32F779NI WITH SIMULINK LED BLINK
8 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I AM GETTING THIS ERROR
GMAKE:*** NO RULE TO MAKE TARGET BLINKLED.C NEDDED BY BLINKED.O STOP. THE MAKE COMMAND RETURNED AN ERROR OF 2
0 Commenti
Risposte (2)
Simon
il 18 Ago 2025
Hi,
It sounds like you’re running into a build error related to missing source files in your Simulink STM32 project. Here are some steps you can follow to resolve the issue:
You can also refer to similar documentation if not exact to get the setup idea:
Hope it helps!
0 Commenti
Shivam
il 26 Ago 2025
Hello Ankit,
This is a compilation issue. We will need more information.
If the issue is not resolved, kindly contact the Technical Support for further assistance:
Please make sure to attach the relevant files pertaining to the project like simplified/reduced Simulink model and the IOC file. It will be helpful in reproducing the issue faced by you.
Regards,
Shivam Gothi
0 Commenti
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!