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.

MSP430FR2522: MSP430FR2522

Part Number: MSP430FR2522
Other Parts Discussed in Thread: MATHLIB

I am getting the compiling error:

>> Compilation failure
captivate/ADVANCED/subdir_rules.mk:9: recipe for target 'captivate/ADVANCED/CAPT_Manager.obj' failed
"../captivate/ADVANCED/CAPT_Manager.c", line 44: fatal error #1965: cannot open source file "CAPT_Type.h"
1 catastrophic error detected in the compilation of "../captivate/ADVANCED/CAPT_Manager.c".
Compilation terminated.
gmake: *** [captivate/ADVANCED/CAPT_Manager.obj] Error 1

But the file is in the path under project -> propertiies -> Build -> MSP430 Compiler -> include Options under $(PROJECT_ROOT|/captivate_config

  • I am getting two types of errors:  #35 and #1965

    >> Compilation failure
    captivate_app/subdir_rules.mk:9: recipe for target 'captivate_app/CAPT_App.obj' failed
    "..\captivate\BASE\rom_headers/rom_captivate_msp430fr2522_family.h", line 578: fatal error #35: #error directive: "Large code/data models are not supported"
    1 catastrophic error detected in the compilation of "../captivate_app/CAPT_App.c".
    Compilation terminated.
    gmake: *** [captivate_app/CAPT_App.obj] Error 1

  • Can you give a picture of the project?

    Or you can load the porject at there to see if it doesn't have the same problem.


  • **** Build of configuration Debug for project cancel1 ****

    "C:\\ti\\ccs1240\\ccs\\utils\\bin\\gmake" -k -j 24 all -O

    Building file: "../captivate/ADVANCED/CAPT_Manager.c"
    Invoking: MSP430 Compiler
    "C:/ti/ccs1240/ccs/tools/compiler/ti-cgt-msp430_21.6.1.LTS/bin/cl430" -vmspx --code_model=small --data_model=small -O3 --opt_for_speed=0 --use_hw_mpy=F5 --include_path="C:/Users/MAbdi/Documents/TiMSP430/workspace/cancel1" --include_path="C:/ti/ccs1240/ccs/ccs_base/msp430/include" --include_path="C:/ti/ccs1240/ccs/tools/compiler/ti-cgt-msp430_21.6.1.LTS/include" --advice:hw_config="all" --define=__MSP430FR2522__ --define=TARGET_IS_MSP430FR2XX_4XX -g --printf_support=minimal --diag_warning=225 --diag_wrap=off --display_error_number --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU40 --preproc_with_compile --preproc_dependency="captivate/ADVANCED/CAPT_Manager.d_raw" --obj_directory="captivate/ADVANCED" "../captivate/ADVANCED/CAPT_Manager.c"

    >> Compilation failure
    captivate/ADVANCED/subdir_rules.mk:9: recipe for target 'captivate/ADVANCED/CAPT_Manager.obj' failed
    "../captivate/ADVANCED/CAPT_Manager.c", line 44: fatal error #1965: cannot open source file "CAPT_Type.h"
    1 catastrophic error detected in the compilation of "../captivate/ADVANCED/CAPT_Manager.c".
    Compilation terminated.
    gmake: *** [captivate/ADVANCED/CAPT_Manager.obj] Error 1
    Building file: "../captivate/COMM/FunctionTimer.c"
    Invoking: MSP430 Compiler
    "C:/ti/ccs1240/ccs/tools/compiler/ti-cgt-msp430_21.6.1.LTS/bin/cl430" -vmspx --code_model=small --data_model=small -O3 --opt_for_speed=0 --use_hw_mpy=F5 --include_path="C:/Users/MAbdi/Documents/TiMSP430/workspace/cancel1" --include_path="C:/ti/ccs1240/ccs/ccs_base/msp430/include" --include_path="C:/ti/ccs1240/ccs/tools/compiler/ti-cgt-msp430_21.6.1.LTS/include" --advice:hw_config="all" --define=__MSP430FR2522__ --define=TARGET_IS_MSP430FR2XX_4XX -g --printf_support=minimal --diag_warning=225 --diag_wrap=off --display_error_number --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU40 --preproc_with_compile --preproc_dependency="captivate/COMM/FunctionTimer.d_raw" --obj_directory="captivate/COMM" "../captivate/COMM/FunctionTimer.c"

    >> Compilation failure
    captivate/COMM/subdir_rules.mk:9: recipe for target 'captivate/COMM/FunctionTimer.obj' failed
    "..\captivate\COMM\FunctionTimer_Definitions.h", line 55: fatal error #1965: cannot open source file "driverlib.h"
    1 catastrophic error detected in the compilation of "../captivate/COMM/FunctionTimer.c".
    Compilation terminated.
    gmake: *** [captivate/COMM/FunctionTimer.obj] Error 1
    Building file: "../captivate/COMM/CAPT_Interface.c"
    Invoking: MSP430 Compiler
    "C:/ti/ccs1240/ccs/tools/compiler/ti-cgt-msp430_21.6.1.LTS/bin/cl430" -vmspx --code_model=small --data_model=small -O3 --opt_for_speed=0 --use_hw_mpy=F5 --include_path="C:/Users/MAbdi/Documents/TiMSP430/workspace/cancel1" --include_path="C:/ti/ccs1240/ccs/ccs_base/msp430/include" --include_path="C:/ti/ccs1240/ccs/tools/compiler/ti-cgt-msp430_21.6.1.LTS/include" --advice:hw_config="all" --define=__MSP430FR2522__ --define=TARGET_IS_MSP430FR2XX_4XX -g --printf_support=minimal --diag_warning=225 --diag_wrap=off --display_error_number --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU40 --preproc_with_compile --preproc_dependency="captivate/COMM/CAPT_Interface.d_raw" --obj_directory="captivate/COMM" "../captivate/COMM/CAPT_Interface.c"

    >> Compilation failure
    captivate/COMM/subdir_rules.mk:9: recipe for target 'captivate/COMM/CAPT_Interface.obj' failed
    "..\captivate\COMM\CAPT_CommConfig.h", line 72: fatal error #1965: cannot open source file "CAPT_UserConfig.h"
    1 catastrophic error detected in the compilation of "../captivate/COMM/CAPT_Interface.c".
    Compilation terminated.
    gmake: *** [captivate/COMM/CAPT_Interface.obj] Error 1
    Building file: "../captivate/COMM/I2CSlave.c"
    Invoking: MSP430 Compiler
    "C:/ti/ccs1240/ccs/tools/compiler/ti-cgt-msp430_21.6.1.LTS/bin/cl430" -vmspx --code_model=small --data_model=small -O3 --opt_for_speed=0 --use_hw_mpy=F5 --include_path="C:/Users/MAbdi/Documents/TiMSP430/workspace/cancel1" --include_path="C:/ti/ccs1240/ccs/ccs_base/msp430/include" --include_path="C:/ti/ccs1240/ccs/tools/compiler/ti-cgt-msp430_21.6.1.LTS/include" --advice:hw_config="all" --define=__MSP430FR2522__ --define=TARGET_IS_MSP430FR2XX_4XX -g --printf_support=minimal --diag_warning=225 --diag_wrap=off --display_error_number --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU40 --preproc_with_compile --preproc_dependency="captivate/COMM/I2CSlave.d_raw" --obj_directory="captivate/COMM" "../captivate/COMM/I2CSlave.c"

    >> Compilation failure
    captivate/COMM/subdir_rules.mk:9: recipe for target 'captivate/COMM/I2CSlave.obj' failed
    "..\captivate\COMM\I2CSlave_Definitions.h", line 50: fatal error #1965: cannot open source file "rom_driverlib.h"
    1 catastrophic error detected in the compilation of "../captivate/COMM/I2CSlave.c".
    Compilation terminated.
    gmake: *** [captivate/COMM/I2CSlave.obj] Error 1
    Building file: "../captivate/COMM/UART.c"
    Invoking: MSP430 Compiler
    "C:/ti/ccs1240/ccs/tools/compiler/ti-cgt-msp430_21.6.1.LTS/bin/cl430" -vmspx --code_model=small --data_model=small -O3 --opt_for_speed=0 --use_hw_mpy=F5 --include_path="C:/Users/MAbdi/Documents/TiMSP430/workspace/cancel1" --include_path="C:/ti/ccs1240/ccs/ccs_base/msp430/include" --include_path="C:/ti/ccs1240/ccs/tools/compiler/ti-cgt-msp430_21.6.1.LTS/include" --advice:hw_config="all" --define=__MSP430FR2522__ --define=TARGET_IS_MSP430FR2XX_4XX -g --printf_support=minimal --diag_warning=225 --diag_wrap=off --display_error_number --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU40 --preproc_with_compile --preproc_dependency="captivate/COMM/UART.d_raw" --obj_directory="captivate/COMM" "../captivate/COMM/UART.c"

    >> Compilation failure
    captivate/COMM/subdir_rules.mk:9: recipe for target 'captivate/COMM/UART.obj' failed
    "..\captivate\COMM\UART_Definitions.h", line 52: fatal error #1965: cannot open source file "rom_driverlib.h"
    1 catastrophic error detected in the compilation of "../captivate/COMM/UART.c".
    Compilation terminated.
    gmake: *** [captivate/COMM/UART.obj] Error 1
    Building file: "../main.c"
    Invoking: MSP430 Compiler
    "C:/ti/ccs1240/ccs/tools/compiler/ti-cgt-msp430_21.6.1.LTS/bin/cl430" -vmspx --code_model=small --data_model=small -O3 --opt_for_speed=0 --use_hw_mpy=F5 --include_path="C:/ti/ccs1240/ccs/ccs_base/msp430/include" --include_path="C:/Users/MAbdi/Documents/TiMSP430/workspace/cancel1/driverlib/MSP430FR2xx_4xx" --include_path="C:/Users/MAbdi/OneDrive" --include_path="C:/ti/ccs1240/ccs/tools/compiler/ti-cgt-msp430_21.6.1.LTS/include" --advice:hw_config="all" --define=__MSP430FR2522__ --define=TARGET_IS_MSP430FR2XX_4XX -g --printf_support=minimal --diag_warning=225 --diag_wrap=off --display_error_number --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU40 --preproc_with_compile --preproc_dependency="main.d_raw" "../main.c"

    >> Compilation failure
    subdir_rules.mk:9: recipe for target 'main.obj' failed
    "../main.c", line 52: fatal error #1965: cannot open source file "captivate.h"
    1 catastrophic error detected in the compilation of "../main.c".
    Compilation terminated.
    gmake: *** [main.obj] Error 1
    Building file: "../captivate_app/CAPT_BSP.c"
    Invoking: MSP430 Compiler
    "C:/ti/ccs1240/ccs/tools/compiler/ti-cgt-msp430_21.6.1.LTS/bin/cl430" -vmspx --code_model=small --data_model=small -O3 --opt_for_speed=0 --use_hw_mpy=F5 --include_path="C:/ti/ccs1240/ccs/ccs_base/msp430/include" --include_path="C:/Users/MAbdi/Documents/TiMSP430/workspace/cancel1" --include_path="C:/Users/MAbdi/Documents/TiMSP430/workspace/cancel1/demo" --include_path="C:/Users/MAbdi/Documents/TiMSP430/workspace/cancel1/driverlib" --include_path="C:/Users/MAbdi/Documents/TiMSP430/workspace/cancel1/driverlib/MSP430FR2xx_4xx" --include_path="C:/Users/MAbdi/Documents/TiMSP430/workspace/cancel1/mathlib" --include_path="C:/Users/MAbdi/Documents/TiMSP430/workspace/cancel1/captivate_config" --include_path="C:/Users/MAbdi/Documents/TiMSP430/workspace/cancel1/captivate" --include_path="C:/Users/MAbdi/Documents/TiMSP430/workspace/cancel1/captivate/ADVANCED" --include_path="C:/Users/MAbdi/Documents/TiMSP430/workspace/cancel1/captivate/BASE" --include_path="C:/Users/MAbdi/Documents/TiMSP430/workspace/cancel1/captivate/COMM" --include_path="C:/Users/MAbdi/Documents/TiMSP430/workspace/cancel1/captivate_app" --include_path="C:/ti/ccs1240/ccs/tools/compiler/ti-cgt-msp430_21.6.1.LTS/include" --advice:hw_config="all" --define=__MSP430FR2522__ --define=TARGET_IS_MSP430FR2XX_4XX -g --printf_support=minimal --diag_warning=225 --diag_wrap=off --display_error_number --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU40 --preproc_with_compile --preproc_dependency="captivate_app/CAPT_BSP.d_raw" --obj_directory="captivate_app" "../captivate_app/CAPT_BSP.c"
    Finished building: "../captivate_app/CAPT_BSP.c"

    Building file: "../captivate/BASE/CAPT_ISR.c"
    Invoking: MSP430 Compiler
    "C:/ti/ccs1240/ccs/tools/compiler/ti-cgt-msp430_21.6.1.LTS/bin/cl430" -vmspx --code_model=small --data_model=small -O3 --opt_for_speed=0 --use_hw_mpy=F5 --include_path="C:/ti/ccs1240/ccs/ccs_base/msp430/include" --include_path="C:/Users/MAbdi/Documents/TiMSP430/workspace/cancel1" --include_path="C:/ti/ccs1240/ccs/tools/compiler/ti-cgt-msp430_21.6.1.LTS/include" --advice:hw_config="all" --define=__MSP430FR2522__ --define=TARGET_IS_MSP430FR2XX_4XX -g --printf_support=minimal --diag_warning=225 --diag_wrap=off --display_error_number --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU40 --preproc_with_compile --preproc_dependency="captivate/BASE/CAPT_ISR.d_raw" --obj_directory="captivate/BASE" "../captivate/BASE/CAPT_ISR.c"
    Finished building: "../captivate/BASE/CAPT_ISR.c"

    Building file: "../captivate_app/CAPT_App.c"
    Invoking: MSP430 Compiler
    "C:/ti/ccs1240/ccs/tools/compiler/ti-cgt-msp430_21.6.1.LTS/bin/cl430" -vmspx --code_model=small --data_model=small -O3 --opt_for_speed=0 --use_hw_mpy=F5 --include_path="C:/ti/ccs1240/ccs/ccs_base/msp430/include" --include_path="C:/Users/MAbdi/Documents/TiMSP430/workspace/cancel1" --include_path="C:/Users/MAbdi/Documents/TiMSP430/workspace/cancel1/demo" --include_path="C:/Users/MAbdi/Documents/TiMSP430/workspace/cancel1/driverlib" --include_path="C:/Users/MAbdi/Documents/TiMSP430/workspace/cancel1/driverlib/MSP430FR2xx_4xx" --include_path="C:/Users/MAbdi/Documents/TiMSP430/workspace/cancel1/mathlib" --include_path="C:/Users/MAbdi/Documents/TiMSP430/workspace/cancel1/captivate_config" --include_path="C:/Users/MAbdi/Documents/TiMSP430/workspace/cancel1/captivate" --include_path="C:/Users/MAbdi/Documents/TiMSP430/workspace/cancel1/captivate/ADVANCED" --include_path="C:/Users/MAbdi/Documents/TiMSP430/workspace/cancel1/captivate/BASE" --include_path="C:/Users/MAbdi/Documents/TiMSP430/workspace/cancel1/captivate/COMM" --include_path="C:/Users/MAbdi/Documents/TiMSP430/workspace/cancel1/captivate_app" --include_path="C:/ti/ccs1240/ccs/tools/compiler/ti-cgt-msp430_21.6.1.LTS/include" --advice:hw_config="all" --define=__MSP430FR2522__ --define=TARGET_IS_MSP430FR2XX_4XX -g --printf_support=minimal --diag_warning=225 --diag_wrap=off --display_error_number --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU40 --preproc_with_compile --preproc_dependency="captivate_app/CAPT_App.d_raw" --obj_directory="captivate_app" "../captivate_app/CAPT_App.c"
    Finished building: "../captivate_app/CAPT_App.c"

    Building file: "../captivate_config/CAPT_UserConfig.c"
    Invoking: MSP430 Compiler
    "C:/ti/ccs1240/ccs/tools/compiler/ti-cgt-msp430_21.6.1.LTS/bin/cl430" -vmspx --code_model=small --data_model=small -O3 --opt_for_speed=0 --use_hw_mpy=F5 --include_path="C:/ti/ccs1240/ccs/ccs_base/msp430/include" --include_path="C:/Users/MAbdi/Documents/TiMSP430/workspace/cancel1" --include_path="C:/Users/MAbdi/Documents/TiMSP430/workspace/cancel1/demo" --include_path="C:/Users/MAbdi/Documents/TiMSP430/workspace/cancel1/driverlib" --include_path="C:/Users/MAbdi/Documents/TiMSP430/workspace/cancel1/driverlib/MSP430FR2xx_4xx" --include_path="C:/Users/MAbdi/Documents/TiMSP430/workspace/cancel1/mathlib" --include_path="C:/Users/MAbdi/Documents/TiMSP430/workspace/cancel1/captivate_config" --include_path="C:/Users/MAbdi/Documents/TiMSP430/workspace/cancel1/captivate" --include_path="C:/Users/MAbdi/Documents/TiMSP430/workspace/cancel1/captivate/ADVANCED" --include_path="C:/Users/MAbdi/Documents/TiMSP430/workspace/cancel1/captivate/BASE" --include_path="C:/Users/MAbdi/Documents/TiMSP430/workspace/cancel1/captivate/COMM" --include_path="C:/Users/MAbdi/Documents/TiMSP430/workspace/cancel1/captivate_app" --include_path="C:/ti/ccs1240/ccs/tools/compiler/ti-cgt-msp430_21.6.1.LTS/include" --advice:hw_config="all" --define=__MSP430FR2522__ --define=TARGET_IS_MSP430FR2XX_4XX -g --printf_support=minimal --diag_warning=225 --diag_wrap=off --display_error_number --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU40 --preproc_with_compile --preproc_dependency="captivate_config/CAPT_UserConfig.d_raw" --obj_directory="captivate_config" "../captivate_config/CAPT_UserConfig.c"
    Finished building: "../captivate_config/CAPT_UserConfig.c"

    Building file: "../demo/demo.c"
    Invoking: MSP430 Compiler
    "C:/ti/ccs1240/ccs/tools/compiler/ti-cgt-msp430_21.6.1.LTS/bin/cl430" -vmspx --code_model=small --data_model=small -O3 --opt_for_speed=0 --use_hw_mpy=F5 --include_path="C:/ti/ccs1240/ccs/ccs_base/msp430/include" --include_path="C:/Users/MAbdi/Documents/TiMSP430/workspace/cancel1" --include_path="C:/Users/MAbdi/Documents/TiMSP430/workspace/cancel1/demo" --include_path="C:/Users/MAbdi/Documents/TiMSP430/workspace/cancel1/driverlib" --include_path="C:/Users/MAbdi/Documents/TiMSP430/workspace/cancel1/driverlib/MSP430FR2xx_4xx" --include_path="C:/Users/MAbdi/Documents/TiMSP430/workspace/cancel1/mathlib" --include_path="C:/Users/MAbdi/Documents/TiMSP430/workspace/cancel1/captivate_config" --include_path="C:/Users/MAbdi/Documents/TiMSP430/workspace/cancel1/captivate" --include_path="C:/Users/MAbdi/Documents/TiMSP430/workspace/cancel1/captivate/ADVANCED" --include_path="C:/Users/MAbdi/Documents/TiMSP430/workspace/cancel1/captivate/BASE" --include_path="C:/Users/MAbdi/Documents/TiMSP430/workspace/cancel1/captivate/COMM" --include_path="C:/Users/MAbdi/Documents/TiMSP430/workspace/cancel1/captivate_app" --include_path="C:/ti/ccs1240/ccs/tools/compiler/ti-cgt-msp430_21.6.1.LTS/include" --advice:hw_config="all" --define=__MSP430FR2522__ --define=TARGET_IS_MSP430FR2XX_4XX -g --printf_support=minimal --diag_warning=225 --diag_wrap=off --display_error_number --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU40 --preproc_with_compile --preproc_dependency="demo/demo.d_raw" --obj_directory="demo" "../demo/demo.c"
    Finished building: "../demo/demo.c"

    gmake: Target 'all' not remade because of errors.

    **** Build Finished ****

  • Can you upload the code? It seems that without debug, the IDE already see there is some error.

  • Please send me the secure link to upload the code. 

    Thanks

  • Can you upload it to E2E directly? 

**Attention** This is a public forum