This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

在自动代码生成的最后link时出现了undefined preprocessor symbol 'BOOT_FROM_FLASH'



<Linking>

"C:/ProgramData/MATLAB/SupportPackages/R2021a/toolbox/target/supportpackages/tic2000/src/c28335.cmd",

line 16: warning: undefined preprocessor symbol 'BOOT_FROM_FLASH'

"C:/ProgramData/MATLAB/SupportPackages/R2021a/toolbox/target/supportpackages/tic2000/src/c28335.cmd",

line 24: warning: undefined preprocessor symbol 'BOOT_FROM_FLASH'

"C:/ProgramData/MATLAB/SupportPackages/R2021a/toolbox/target/supportpackages/tic2000/src/c28335.cmd",

line 32: warning: undefined preprocessor symbol 'BOOT_FROM_FLASH'

undefined first referenced symbol

in file --------- ---------------- _

main C:/ProgramData/MATLAB/SupportPackages/R2021a/3P.instrset/tic2000codegentools.instrset/ti-cgt-c2000_20.2.5.LTS/lib/rts2800_fpu32.lib<args_main.c.obj> _rt_OneStep c2833xSchedulerTimer0.obj error: unresolved symbols remain

error: errors encountered during linking; "../LED.out" not built

>> Compilation failure gmake: *** [../LED.out] Error 1 C:\Users\dell\Desktop\dsptest\LED_ert_rtw>echo

The make command returned an error of 2 The make command returned an error of 2

C:\Users\dell\Desktop\dsptest\LED_ert_rtw>exit /B 1 ### Creating HTML report file LED_codegen_rpt.html

 用的自己的模型

   不知道为什么出现了这个问题