Texas Instruments C2000 Processor, error: gmake: *** No rule to make target `all'. Stop.
25 views (last 30 days)
Show older comments
I just started learning software, so I am sorry if I am asking dump question.
I am using matlab 2022b for simulink, and it is connecting to TI board TMS320F280025C. I have installed the "Embedded Coder Support Package for Texas Instruments C2000 Processors". I followed the video and the instruction from the website, downloaded the correct processors, and the third-party Softwares. When I build the simulink from my end, it kept popping up this error "gmake: *** No rule to make target `all'. Stop." I have searched up about this error, but I have tried their method and still not working.
The exact code is:
Top model build:
### Starting build procedure for: blinkLED ### Generating code and artifacts to 'Model specific' folder structure ### Generating code into build folder: C:\Users\rita1\OneDrive\文件\MATLAB\blinkLED_ert_rtw
The model blinkLED is configured to simulate flush-to-zero (FTZ) behavior, but is using normal mode simulation. To observe FTZ behavior, simulate the model using an accelerated mode.
Component:Simulink | Category:Model
### Invoking Target Language Compiler on blinkLED.rtw ### Using System Target File: D:\Matlab\rtw\c\ert\ert.tlc ### Loading TLC function libraries ### Initial pass through model to cache user defined code . ### Caching model source code ### Writing header file blinkLED_types.h ### Writing header file blinkLED.h ### Writing header file rtwtypes.h ### Writing source file blinkLED.c . ### Writing header file blinkLED_private.h ### Writing source file blinkLED_data.c ### Writing header file rtmodel.h ### Writing source file ert_main.c ### TLC code generation complete (took 1.456s). ### Saving binary information cache.
Code Composer Studio Project:
### Using toolchain: Texas Instruments Code Composer Studio (C2000) ### Creating 'C:\Users\rita1\OneDrive\文件\MATLAB\blinkLED_ert_rtw\blinkLED.mk' ... ### Building 'blinkLED': "D:\Matlab\bin\win64\gmake" DEPRULES=1 -j5 -f blinkLED.mk all C:\Users\rita1\OneDrive\??\MATLAB\blinkLED_ert_rtw>cd . C:\Users\rita1\OneDrive\??\MATLAB\blinkLED_ert_rtw>if "all" == "" ("D:\Matlab\bin\win64\gmake" DEPRULES=1 -j5 -f blinkLED.mk all ) else ("D:\Matlab\bin\win64\gmake" DEPRULES=1 -j5 -f blinkLED.mk all ) gmake: *** No rule to make target `all'. Stop. C:\Users\rita1\OneDrive\??\MATLAB\blinkLED_ert_rtw>echo The make command returned an error of 2 The make command returned an error of 2 C:\Users\rita1\OneDrive\??\MATLAB\blinkLED_ert_rtw>exit /B 1 ### Build procedure for blinkLED aborted due to an error.
Thank you for answering.
0 Comments
Answers (1)
Nishan Nekoo
on 10 Nov 2022
Hi Yun,
This is an error message that is thrown by the "make" (make/gmake) command. One cause for this error message could be that your project path, source file path and/or include folder path contains characters that "make" cannot handle.
In the error message, I notice that the path is shown as "C:\Users\rita1\OneDrive\??\MATLAB\blinkLED_ert_rtw"
I believe the special characters in the file path may be causing this issue. Please try this again with those special characters changed to see if the issue is resolved.
Nishan
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!