i am facing problems while generating code for my c2000 picolo launchpad f28027 processor from MATLAB 2015b

checkEnvSetup ('ccsv4','f28027','check')
1. CCSv4 (Code Composer Studio) Your version : Required version: 4.0.0 to 4.2.0 Required for : Code Generation TI_DIR=""
2. CGT (Texas Instruments C2000 Code Generation Tools) Your version : Required version: 5.2.1 to 5.2.3 Required for : Code generation C2000_CGT_INSTALLDIR=""
3. DSP/BIOS (Real Time Operating System) Your version : Required version: 5.33.05 to 5.41.09.34 Required for : Code generation CCSV4_DSPBIOS_INSTALLDIR=""
4. XDC Tools (eXpress DSP Components) Your version : 3.20.03.63 Required version: 3.16.02.32 or later Required for : Code generation
5. 2802x C/C++ Header Files Your version : 2.20 Required version: 2.20 Required for : Code generation DSP2802x_INSTALLDIR="C:\ti\controlSUITE\device_support\f2802x\v220"
6. Flash Tools (TMS320F2802x Piccolo™ Flash API) Your version : 2.01 Required version: 2.01 Required for : Flash Programming FLASH_2802X_API_INSTALLDIR="C:\ti\controlSUITE\libs\utilities\flash_api\2802x\v201" >> following is the error while building the code ### Generating code into build folder: C:\Users\DELL\Documents\MATLAB\untitled_ert_rtw ### Invoking Target Language Compiler on untitled.rtw ### Using System Target File: C:\MATLAB\R2015b\rtw\c\ert\ert.tlc ### Loading TLC function libraries Warning: The data type "int8" uses a word size that is not available on the intended target. Fixed-point signals using this data type will be put inside a larger word or multi words. When used, extra software will be generated to force this larger word or multi words to emulate a smaller word. This emulation is helpful when your prototype target and your final production target are not the same. If the smaller word size does NOT exist on the final production target, then consider increasing the word size to one that is supported. Warning: The data type "uint8" uses a word size that is not available on the intended target. . Warning: The data type "boolean" uses a word size that is not available on the intended target. ### Initial pass through model to cache user defined code ### Caching model source code ### Writing header file untitled.h ### Writing header file untitled_types.h ### Writing header file rtwtypes.h ### Writing source file untitled.c . ### Writing header file untitled_private.h ### Writing source file untitled_data.c ### Writing source file ert_main.c ### TLC code generation complete. ### Evaluating PostCodeGenCommand specified in the model ### Using toolchain: Texas Instruments C2000 Code Generation Tools v5.2.12 | gmake (64-bit Windows) ### 'C:\Users\DELL\Documents\MATLAB\untitled_ert_rtw\untitled.mk' is up to date ### Building 'untitled': C:\MATLAB\R2015b\bin\win64\gmake -B -f untitled.mk all
C:\Users\DELL\Documents\MATLAB\untitled_ert_rtw>cd .
C:\Users\DELL\Documents\MATLAB\untitled_ert_rtw>if "" == "" (C:\MATLAB\R2015b\bin\win64\gmake -B -f untitled.mk all ) else (C:\MATLAB\R2015b\bin\win64\gmake -B -f untitled.mk ) C:/PROGRA~2/TEXASI~1/ccsv4/tools/compiler/c2000/bin/cl2000 --compile_only --large_memory_model --cla_support=cla0 --silicon_version=28 --define="LARGE_MODEL" -i"/~SupportFiles/DSP280x_headers" -i"/~SupportFiles/DSP280x_headers/include" -i"C:/PROGRA~2/TEXASI~1/ccsv4/tools/compiler/c2000/include" -v28 -ml -DMODEL=untitled -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DONESTEPFCN=1 -DTERMFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DRT -DSTACK_SIZE=512 -DONESTEPFCN=1 -DTERMFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DRT -DSTACK_SIZE=512 -DMODEL=untitled -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -IC:/Users/DELL/Documents/MATLAB/untitled_ert_rtw -IC:/Users/DELL/Documents/MATLAB -IC:/MATLAB/R2015b/extern/include -IC:/MATLAB/R2015b/simulink/include -IC:/MATLAB/R2015b/rtw/c/src -IC:/MATLAB/R2015b/rtw/c/src/ext_mode/common -IC:/MATLAB/R2015b/rtw/c/ert -IC:/MATLAB/SupportPackages/R2015b/texasinstrumentsc2000/toolbox/target/supportpackages/tic2000/src -IC:/MATLAB/SupportPackages/R2015b/texasinstrumentsc2000/toolbox/target/supportpackages/tic2000/inc -IC:/ti/controlSUITE/device_support/f2802x/v220/f2802x_common/include -IC:/ti/controlSUITE/device_support/f2802x/v220/f2802x_headers/include -IC:/ti/controlSUITE/device_support/f2802x/v220 --output_file="MW_c28xx_board.obj" "MW_c28xx_board.c" "C:/ti/controlSUITE/device_support/f2802x/v220/F2802x_Device.h", line 104: fatal error: could not open source file "stdbool.h" 1 fatal error detected in the compilation of "MW_c28xx_board.c". Compilation terminated.
>> Compilation failure gmake: * [MW_c28xx_board.obj] Error 1
C:\Users\DELL\Documents\MATLAB\untitled_ert_rtw>echo The make command returned an error of 2 The make command returned an error of 2
C:\Users\DELL\Documents\MATLAB\untitled_ert_rtw>An_error_occurred_during_the_call_to_make 'An_error_occurred_during_the_call_to_make' is not recognized as an internal or external command, operable program or batch file. ### Build procedure for model: 'untitled' aborted due to an error. Error(s) encountered while building "untitled": ### Failed to generate all binary outputs.

Answers (0)

Asked:

on 8 May 2017

Community Treasure Hunt

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

Start Hunting!