ISSUE WITH STM32F779NI WITH SIMULINK LED BLINK

8 ビュー (過去 30 日間)
Ankit
Ankit 2025 年 8 月 12 日
回答済み: Shivam 2025 年 8 月 26 日
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

回答 (2 件)

Simon
Simon 2025 年 8 月 18 日
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:
  1. Check your project folder to confirm that BlinkLED.c is present.
  2. 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.
  3. Also, make sure the file is named exactly BlinkLED.c (the way you have given the naming convention)
  4. Delete the slprj and <model>_ert_rtw folders in your project directory to rebuild.
  5. If your model uses S-Functions, ensure all necessary source files are included in the project.
  6. Test with a Basic Model: Try building a simple Simulink model without custom code to confirm your environment is set up correctly.
You can also refer to similar documentation if not exact to get the setup idea:
Hope it helps!

Shivam
Shivam 2025 年 8 月 26 日
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

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by