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.

TMS570LS3137: TI Safety Diagnostic Library 2.3.1

Part Number: TMS570LS3137
Other Parts Discussed in Thread: HALCOGEN

Hello

I'm trying to add the Safety Diagnostic Library 2.3.1 to one of my previously built project, but I have several link problems. Is there any guide with clear indication on how to add the library to an existing project? I was looking for something better then the explanations provided in the doc SafeTIDiagnosticLibrary-User'sGuide-v2.3.1.chm. This doc is not well written in the section regarding how to add the library to a project. I had to infer how to add the library based on the provided example. Also the wiki at http://processors.wiki.ti.com/index.php/Integration_of_HALCoGen_with_Hercules_SafeTI_Diagnostics_Library

  • Hello Fermat,

    I've forwarded your post to our SafeTI Diag Library SW lead. They should get back with you soon.
  • Hi,

    Were you able to link successfully with a previous version of the Hercules Safety diagnostics library and it is not linking now? What are the errors you're getting?
     Could you please link your compile log to your post?

    Thanks.

  • Hello
    I have a simple project where I set the NHET LEDs high and then low, make them blinking. This project uses only the GIO driver. I can compile this project and make it running. Since I'm trying to understand the Safety Library, I decided to add the library to this simple project. I've never used a previous version of the library. My first problem was to look for some clear indications on how to add the library to my simple project. I've understood there are two ways:
    1) Add the source files from the library and compile them. Looking at the example app inside the library package I've understood that I have to add some folders such as the "hal" folder, the "include" and "source" from the safety library, and some more files ( the file 'esm_application_callback.h' and 'register_readback.h' from 'common/include/' directory, the file 'esm_application_callback.c', 'exception_handlers.c', 'misc.asm' and 'register_readback.c). I also replaced the linker cmd, but when I compile this project I get some linking errors:
    <Linking>

    undefined first referenced
    symbol in file
    --------- ----------------
    adcInit ./source/sys_startup.obj
    canInit ./source/sys_startup.obj
    dcc1GetConfigValue ./demo_app/common/source/register_readback.obj
    dcc2GetConfigValue ./demo_app/common/source/register_readback.obj
    linInit ./source/sys_startup.obj
    mibspiInit ./source/sys_startup.obj
    rtiGetConfigValue ./demo_app/common/source/register_readback.obj
    sciInit ./source/sys_startup.obj
    spiInit ./source/sys_startup.obj

    error #10234-D: unresolved symbols remain

    error #10010: errors encountered during linking; "TMS570Blinky.out" not built
    >> Compilation failure
    makefile:170: recipe for target 'TMS570Blinky.out' failed
    gmake: *** [TMS570Blinky.out] Error 1
    gmake: Target 'all' not remade because of errors.

    **** Build Finished ****

    In the "include options" of the project I think I have included the necessary folders. I couldn't find a note about which files and folfders I'm supposed to add.
    2) second way:  link the prebuilt library . In this case which files .h am I supposed to add to my project? I couldn't find any clear indication.

    Regards

  • The compile log is the following:

    **** Build of configuration Debug for project TMS570Blinky ****

    "C:\\ti\\ccsv6\\utils\\bin\\gmake" -k all
    'Building file: C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/source/sl_asm_api.asm'
    'Invoking: ARM Compiler'
    "C:/ti/ccsv6/tools/compiler/arm_15.12.3.LTS/bin/armcl" -mv7R4 --code_state=32 --float_support=VFPv3D16 --abi=eabi -g --include_path="C:/Users/matteo/HALCoGenWS/TMS570Blinky/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/include" --include_path="C:/Users/matteo/HALCoGenWS/TMS570Blinky/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/demo_app/common/include" --include_path="C:/ti/ccsv6/tools/compiler/arm_15.12.3.LTS/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/source" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/hal/include" --define=_TMS570LS31x_ --define=_VFP_SUPPORT_=1 --diag_warning=225 --display_error_number --diag_wrap=off --enum_type=packed --preproc_with_compile --preproc_dependency="SL/source/sl_asm_api.d" --obj_directory="SL/source" "C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/source/sl_asm_api.asm"
    'Finished building: C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/source/sl_asm_api.asm'
    ' '
    'Building file: C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/source/sl_esm.c'
    'Invoking: ARM Compiler'
    "C:/ti/ccsv6/tools/compiler/arm_15.12.3.LTS/bin/armcl" -mv7R4 --code_state=32 --float_support=VFPv3D16 --abi=eabi -g --include_path="C:/Users/matteo/HALCoGenWS/TMS570Blinky/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/include" --include_path="C:/Users/matteo/HALCoGenWS/TMS570Blinky/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/demo_app/common/include" --include_path="C:/ti/ccsv6/tools/compiler/arm_15.12.3.LTS/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/source" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/hal/include" --define=_TMS570LS31x_ --define=_VFP_SUPPORT_=1 --diag_warning=225 --display_error_number --diag_wrap=off --enum_type=packed --preproc_with_compile --preproc_dependency="SL/source/sl_esm.d" --obj_directory="SL/source" "C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/source/sl_esm.c"
    'Finished building: C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/source/sl_esm.c'
    ' '
    'Building file: C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/source/sl_init.c'
    'Invoking: ARM Compiler'
    "C:/ti/ccsv6/tools/compiler/arm_15.12.3.LTS/bin/armcl" -mv7R4 --code_state=32 --float_support=VFPv3D16 --abi=eabi -g --include_path="C:/Users/matteo/HALCoGenWS/TMS570Blinky/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/include" --include_path="C:/Users/matteo/HALCoGenWS/TMS570Blinky/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/demo_app/common/include" --include_path="C:/ti/ccsv6/tools/compiler/arm_15.12.3.LTS/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/source" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/hal/include" --define=_TMS570LS31x_ --define=_VFP_SUPPORT_=1 --diag_warning=225 --display_error_number --diag_wrap=off --enum_type=packed --preproc_with_compile --preproc_dependency="SL/source/sl_init.d" --obj_directory="SL/source" "C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/source/sl_init.c"
    'Finished building: C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/source/sl_init.c'
    ' '
    'Building file: C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/source/sl_log.c'
    'Invoking: ARM Compiler'
    "C:/ti/ccsv6/tools/compiler/arm_15.12.3.LTS/bin/armcl" -mv7R4 --code_state=32 --float_support=VFPv3D16 --abi=eabi -g --include_path="C:/Users/matteo/HALCoGenWS/TMS570Blinky/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/include" --include_path="C:/Users/matteo/HALCoGenWS/TMS570Blinky/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/demo_app/common/include" --include_path="C:/ti/ccsv6/tools/compiler/arm_15.12.3.LTS/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/source" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/hal/include" --define=_TMS570LS31x_ --define=_VFP_SUPPORT_=1 --diag_warning=225 --display_error_number --diag_wrap=off --enum_type=packed --preproc_with_compile --preproc_dependency="SL/source/sl_log.d" --obj_directory="SL/source" "C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/source/sl_log.c"
    'Finished building: C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/source/sl_log.c'
    ' '
    'Building file: C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/source/sl_misc.c'
    'Invoking: ARM Compiler'
    "C:/ti/ccsv6/tools/compiler/arm_15.12.3.LTS/bin/armcl" -mv7R4 --code_state=32 --float_support=VFPv3D16 --abi=eabi -g --include_path="C:/Users/matteo/HALCoGenWS/TMS570Blinky/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/include" --include_path="C:/Users/matteo/HALCoGenWS/TMS570Blinky/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/demo_app/common/include" --include_path="C:/ti/ccsv6/tools/compiler/arm_15.12.3.LTS/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/source" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/hal/include" --define=_TMS570LS31x_ --define=_VFP_SUPPORT_=1 --diag_warning=225 --display_error_number --diag_wrap=off --enum_type=packed --preproc_with_compile --preproc_dependency="SL/source/sl_misc.d" --obj_directory="SL/source" "C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/source/sl_misc.c"
    'Finished building: C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/source/sl_misc.c'
    ' '
    'Building file: C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/source/sl_pmu.asm'
    'Invoking: ARM Compiler'
    "C:/ti/ccsv6/tools/compiler/arm_15.12.3.LTS/bin/armcl" -mv7R4 --code_state=32 --float_support=VFPv3D16 --abi=eabi -g --include_path="C:/Users/matteo/HALCoGenWS/TMS570Blinky/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/include" --include_path="C:/Users/matteo/HALCoGenWS/TMS570Blinky/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/demo_app/common/include" --include_path="C:/ti/ccsv6/tools/compiler/arm_15.12.3.LTS/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/source" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/hal/include" --define=_TMS570LS31x_ --define=_VFP_SUPPORT_=1 --diag_warning=225 --display_error_number --diag_wrap=off --enum_type=packed --preproc_with_compile --preproc_dependency="SL/source/sl_pmu.d" --obj_directory="SL/source" "C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/source/sl_pmu.asm"
    'Finished building: C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/source/sl_pmu.asm'
    ' '
    'Building file: C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/source/sl_priv.c'
    'Invoking: ARM Compiler'
    "C:/ti/ccsv6/tools/compiler/arm_15.12.3.LTS/bin/armcl" -mv7R4 --code_state=32 --float_support=VFPv3D16 --abi=eabi -g --include_path="C:/Users/matteo/HALCoGenWS/TMS570Blinky/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/include" --include_path="C:/Users/matteo/HALCoGenWS/TMS570Blinky/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/demo_app/common/include" --include_path="C:/ti/ccsv6/tools/compiler/arm_15.12.3.LTS/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/source" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/hal/include" --define=_TMS570LS31x_ --define=_VFP_SUPPORT_=1 --diag_warning=225 --display_error_number --diag_wrap=off --enum_type=packed --preproc_with_compile --preproc_dependency="SL/source/sl_priv.d" --obj_directory="SL/source" "C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/source/sl_priv.c"
    'Finished building: C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/source/sl_priv.c'
    ' '
    'Building file: C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/source/sl_selftest.c'
    'Invoking: ARM Compiler'
    "C:/ti/ccsv6/tools/compiler/arm_15.12.3.LTS/bin/armcl" -mv7R4 --code_state=32 --float_support=VFPv3D16 --abi=eabi -g --include_path="C:/Users/matteo/HALCoGenWS/TMS570Blinky/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/include" --include_path="C:/Users/matteo/HALCoGenWS/TMS570Blinky/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/demo_app/common/include" --include_path="C:/ti/ccsv6/tools/compiler/arm_15.12.3.LTS/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/source" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/hal/include" --define=_TMS570LS31x_ --define=_VFP_SUPPORT_=1 --diag_warning=225 --display_error_number --diag_wrap=off --enum_type=packed --preproc_with_compile --preproc_dependency="SL/source/sl_selftest.d" --obj_directory="SL/source" "C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/source/sl_selftest.c"
    'Finished building: C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/source/sl_selftest.c'
    ' '
    'Building file: C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/demo_app/common/source/esm_application_callback.c'
    'Invoking: ARM Compiler'
    "C:/ti/ccsv6/tools/compiler/arm_15.12.3.LTS/bin/armcl" -mv7R4 --code_state=32 --float_support=VFPv3D16 --abi=eabi -g --include_path="C:/Users/matteo/HALCoGenWS/TMS570Blinky/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/include" --include_path="C:/Users/matteo/HALCoGenWS/TMS570Blinky/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/demo_app/common/include" --include_path="C:/ti/ccsv6/tools/compiler/arm_15.12.3.LTS/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/source" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/hal/include" --define=_TMS570LS31x_ --define=_VFP_SUPPORT_=1 --diag_warning=225 --display_error_number --diag_wrap=off --enum_type=packed --preproc_with_compile --preproc_dependency="demo_app/common/source/esm_application_callback.d" --obj_directory="demo_app/common/source" "C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/demo_app/common/source/esm_application_callback.c"
    'Finished building: C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/demo_app/common/source/esm_application_callback.c'
    ' '
    'Building file: C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/demo_app/common/source/exception_handlers.c'
    'Invoking: ARM Compiler'
    "C:/ti/ccsv6/tools/compiler/arm_15.12.3.LTS/bin/armcl" -mv7R4 --code_state=32 --float_support=VFPv3D16 --abi=eabi -g --include_path="C:/Users/matteo/HALCoGenWS/TMS570Blinky/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/include" --include_path="C:/Users/matteo/HALCoGenWS/TMS570Blinky/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/demo_app/common/include" --include_path="C:/ti/ccsv6/tools/compiler/arm_15.12.3.LTS/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/source" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/hal/include" --define=_TMS570LS31x_ --define=_VFP_SUPPORT_=1 --diag_warning=225 --display_error_number --diag_wrap=off --enum_type=packed --preproc_with_compile --preproc_dependency="demo_app/common/source/exception_handlers.d" --obj_directory="demo_app/common/source" "C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/demo_app/common/source/exception_handlers.c"
    'Finished building: C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/demo_app/common/source/exception_handlers.c'
    ' '
    'Building file: C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/demo_app/common/source/misc.asm'
    'Invoking: ARM Compiler'
    "C:/ti/ccsv6/tools/compiler/arm_15.12.3.LTS/bin/armcl" -mv7R4 --code_state=32 --float_support=VFPv3D16 --abi=eabi -g --include_path="C:/Users/matteo/HALCoGenWS/TMS570Blinky/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/include" --include_path="C:/Users/matteo/HALCoGenWS/TMS570Blinky/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/demo_app/common/include" --include_path="C:/ti/ccsv6/tools/compiler/arm_15.12.3.LTS/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/source" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/hal/include" --define=_TMS570LS31x_ --define=_VFP_SUPPORT_=1 --diag_warning=225 --display_error_number --diag_wrap=off --enum_type=packed --preproc_with_compile --preproc_dependency="demo_app/common/source/misc.d" --obj_directory="demo_app/common/source" "C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/demo_app/common/source/misc.asm"
    'Finished building: C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/demo_app/common/source/misc.asm'
    ' '
    'Building file: C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/demo_app/common/source/register_readback.c'
    'Invoking: ARM Compiler'
    "C:/ti/ccsv6/tools/compiler/arm_15.12.3.LTS/bin/armcl" -mv7R4 --code_state=32 --float_support=VFPv3D16 --abi=eabi -g --include_path="C:/Users/matteo/HALCoGenWS/TMS570Blinky/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/include" --include_path="C:/Users/matteo/HALCoGenWS/TMS570Blinky/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/demo_app/common/include" --include_path="C:/ti/ccsv6/tools/compiler/arm_15.12.3.LTS/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/source" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/hal/include" --define=_TMS570LS31x_ --define=_VFP_SUPPORT_=1 --diag_warning=225 --display_error_number --diag_wrap=off --enum_type=packed --preproc_with_compile --preproc_dependency="demo_app/common/source/register_readback.d" --obj_directory="demo_app/common/source" "C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/demo_app/common/source/register_readback.c"
    'Finished building: C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/demo_app/common/source/register_readback.c'
    ' '
    'Building file: ../source/dabort.asm'
    'Invoking: ARM Compiler'
    "C:/ti/ccsv6/tools/compiler/arm_15.12.3.LTS/bin/armcl" -mv7R4 --code_state=32 --float_support=VFPv3D16 --abi=eabi -g --include_path="C:/Users/matteo/HALCoGenWS/TMS570Blinky/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/include" --include_path="C:/Users/matteo/HALCoGenWS/TMS570Blinky/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/demo_app/common/include" --include_path="C:/ti/ccsv6/tools/compiler/arm_15.12.3.LTS/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/source" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/hal/include" --define=_TMS570LS31x_ --define=_VFP_SUPPORT_=1 --diag_warning=225 --display_error_number --diag_wrap=off --enum_type=packed --preproc_with_compile --preproc_dependency="source/dabort.d" --obj_directory="source" "../source/dabort.asm"
    'Finished building: ../source/dabort.asm'
    ' '
    'Building file: ../source/esm.c'
    'Invoking: ARM Compiler'
    "C:/ti/ccsv6/tools/compiler/arm_15.12.3.LTS/bin/armcl" -mv7R4 --code_state=32 --float_support=VFPv3D16 --abi=eabi -g --include_path="C:/Users/matteo/HALCoGenWS/TMS570Blinky/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/include" --include_path="C:/Users/matteo/HALCoGenWS/TMS570Blinky/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/demo_app/common/include" --include_path="C:/ti/ccsv6/tools/compiler/arm_15.12.3.LTS/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/source" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/hal/include" --define=_TMS570LS31x_ --define=_VFP_SUPPORT_=1 --diag_warning=225 --display_error_number --diag_wrap=off --enum_type=packed --preproc_with_compile --preproc_dependency="source/esm.d" --obj_directory="source" "../source/esm.c"
    'Finished building: ../source/esm.c'
    ' '
    'Building file: ../source/gio.c'
    'Invoking: ARM Compiler'
    "C:/ti/ccsv6/tools/compiler/arm_15.12.3.LTS/bin/armcl" -mv7R4 --code_state=32 --float_support=VFPv3D16 --abi=eabi -g --include_path="C:/Users/matteo/HALCoGenWS/TMS570Blinky/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/include" --include_path="C:/Users/matteo/HALCoGenWS/TMS570Blinky/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/demo_app/common/include" --include_path="C:/ti/ccsv6/tools/compiler/arm_15.12.3.LTS/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/source" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/hal/include" --define=_TMS570LS31x_ --define=_VFP_SUPPORT_=1 --diag_warning=225 --display_error_number --diag_wrap=off --enum_type=packed --preproc_with_compile --preproc_dependency="source/gio.d" --obj_directory="source" "../source/gio.c"
    'Finished building: ../source/gio.c'
    ' '
    'Building file: ../source/het.c'
    'Invoking: ARM Compiler'
    "C:/ti/ccsv6/tools/compiler/arm_15.12.3.LTS/bin/armcl" -mv7R4 --code_state=32 --float_support=VFPv3D16 --abi=eabi -g --include_path="C:/Users/matteo/HALCoGenWS/TMS570Blinky/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/include" --include_path="C:/Users/matteo/HALCoGenWS/TMS570Blinky/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/demo_app/common/include" --include_path="C:/ti/ccsv6/tools/compiler/arm_15.12.3.LTS/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/source" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/hal/include" --define=_TMS570LS31x_ --define=_VFP_SUPPORT_=1 --diag_warning=225 --display_error_number --diag_wrap=off --enum_type=packed --preproc_with_compile --preproc_dependency="source/het.d" --obj_directory="source" "../source/het.c"
    'Finished building: ../source/het.c'
    ' '
    'Building file: ../source/notification.c'
    'Invoking: ARM Compiler'
    "C:/ti/ccsv6/tools/compiler/arm_15.12.3.LTS/bin/armcl" -mv7R4 --code_state=32 --float_support=VFPv3D16 --abi=eabi -g --include_path="C:/Users/matteo/HALCoGenWS/TMS570Blinky/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/include" --include_path="C:/Users/matteo/HALCoGenWS/TMS570Blinky/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/demo_app/common/include" --include_path="C:/ti/ccsv6/tools/compiler/arm_15.12.3.LTS/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/source" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/hal/include" --define=_TMS570LS31x_ --define=_VFP_SUPPORT_=1 --diag_warning=225 --display_error_number --diag_wrap=off --enum_type=packed --preproc_with_compile --preproc_dependency="source/notification.d" --obj_directory="source" "../source/notification.c"
    'Finished building: ../source/notification.c'
    ' '
    'Building file: ../source/pinmux.c'
    'Invoking: ARM Compiler'
    "C:/ti/ccsv6/tools/compiler/arm_15.12.3.LTS/bin/armcl" -mv7R4 --code_state=32 --float_support=VFPv3D16 --abi=eabi -g --include_path="C:/Users/matteo/HALCoGenWS/TMS570Blinky/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/include" --include_path="C:/Users/matteo/HALCoGenWS/TMS570Blinky/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/demo_app/common/include" --include_path="C:/ti/ccsv6/tools/compiler/arm_15.12.3.LTS/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/source" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/hal/include" --define=_TMS570LS31x_ --define=_VFP_SUPPORT_=1 --diag_warning=225 --display_error_number --diag_wrap=off --enum_type=packed --preproc_with_compile --preproc_dependency="source/pinmux.d" --obj_directory="source" "../source/pinmux.c"
    'Finished building: ../source/pinmux.c'
    ' '
    'Building file: ../source/sys_core.asm'
    'Invoking: ARM Compiler'
    "C:/ti/ccsv6/tools/compiler/arm_15.12.3.LTS/bin/armcl" -mv7R4 --code_state=32 --float_support=VFPv3D16 --abi=eabi -g --include_path="C:/Users/matteo/HALCoGenWS/TMS570Blinky/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/include" --include_path="C:/Users/matteo/HALCoGenWS/TMS570Blinky/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/demo_app/common/include" --include_path="C:/ti/ccsv6/tools/compiler/arm_15.12.3.LTS/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/source" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/hal/include" --define=_TMS570LS31x_ --define=_VFP_SUPPORT_=1 --diag_warning=225 --display_error_number --diag_wrap=off --enum_type=packed --preproc_with_compile --preproc_dependency="source/sys_core.d" --obj_directory="source" "../source/sys_core.asm"
    'Finished building: ../source/sys_core.asm'
    ' '
    'Building file: ../source/sys_dma.c'
    'Invoking: ARM Compiler'
    "C:/ti/ccsv6/tools/compiler/arm_15.12.3.LTS/bin/armcl" -mv7R4 --code_state=32 --float_support=VFPv3D16 --abi=eabi -g --include_path="C:/Users/matteo/HALCoGenWS/TMS570Blinky/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/include" --include_path="C:/Users/matteo/HALCoGenWS/TMS570Blinky/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/demo_app/common/include" --include_path="C:/ti/ccsv6/tools/compiler/arm_15.12.3.LTS/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/source" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/hal/include" --define=_TMS570LS31x_ --define=_VFP_SUPPORT_=1 --diag_warning=225 --display_error_number --diag_wrap=off --enum_type=packed --preproc_with_compile --preproc_dependency="source/sys_dma.d" --obj_directory="source" "../source/sys_dma.c"
    'Finished building: ../source/sys_dma.c'
    ' '
    'Building file: ../source/sys_intvecs.asm'
    'Invoking: ARM Compiler'
    "C:/ti/ccsv6/tools/compiler/arm_15.12.3.LTS/bin/armcl" -mv7R4 --code_state=32 --float_support=VFPv3D16 --abi=eabi -g --include_path="C:/Users/matteo/HALCoGenWS/TMS570Blinky/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/include" --include_path="C:/Users/matteo/HALCoGenWS/TMS570Blinky/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/demo_app/common/include" --include_path="C:/ti/ccsv6/tools/compiler/arm_15.12.3.LTS/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/source" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/hal/include" --define=_TMS570LS31x_ --define=_VFP_SUPPORT_=1 --diag_warning=225 --display_error_number --diag_wrap=off --enum_type=packed --preproc_with_compile --preproc_dependency="source/sys_intvecs.d" --obj_directory="source" "../source/sys_intvecs.asm"
    'Finished building: ../source/sys_intvecs.asm'
    ' '
    'Building file: ../source/sys_main.c'
    'Invoking: ARM Compiler'
    "C:/ti/ccsv6/tools/compiler/arm_15.12.3.LTS/bin/armcl" -mv7R4 --code_state=32 --float_support=VFPv3D16 --abi=eabi -g --include_path="C:/Users/matteo/HALCoGenWS/TMS570Blinky/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/include" --include_path="C:/Users/matteo/HALCoGenWS/TMS570Blinky/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/demo_app/common/include" --include_path="C:/ti/ccsv6/tools/compiler/arm_15.12.3.LTS/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/source" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/hal/include" --define=_TMS570LS31x_ --define=_VFP_SUPPORT_=1 --diag_warning=225 --display_error_number --diag_wrap=off --enum_type=packed --preproc_with_compile --preproc_dependency="source/sys_main.d" --obj_directory="source" "../source/sys_main.c"
    "../source/sys_main.c", line 120: warning #112-D: statement is unreachable
    'Finished building: ../source/sys_main.c'
    ' '
    'Building file: ../source/sys_mpu.asm'
    'Invoking: ARM Compiler'
    "C:/ti/ccsv6/tools/compiler/arm_15.12.3.LTS/bin/armcl" -mv7R4 --code_state=32 --float_support=VFPv3D16 --abi=eabi -g --include_path="C:/Users/matteo/HALCoGenWS/TMS570Blinky/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/include" --include_path="C:/Users/matteo/HALCoGenWS/TMS570Blinky/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/demo_app/common/include" --include_path="C:/ti/ccsv6/tools/compiler/arm_15.12.3.LTS/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/source" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/hal/include" --define=_TMS570LS31x_ --define=_VFP_SUPPORT_=1 --diag_warning=225 --display_error_number --diag_wrap=off --enum_type=packed --preproc_with_compile --preproc_dependency="source/sys_mpu.d" --obj_directory="source" "../source/sys_mpu.asm"
    'Finished building: ../source/sys_mpu.asm'
    ' '
    'Building file: ../source/sys_pcr.c'
    'Invoking: ARM Compiler'
    "C:/ti/ccsv6/tools/compiler/arm_15.12.3.LTS/bin/armcl" -mv7R4 --code_state=32 --float_support=VFPv3D16 --abi=eabi -g --include_path="C:/Users/matteo/HALCoGenWS/TMS570Blinky/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/include" --include_path="C:/Users/matteo/HALCoGenWS/TMS570Blinky/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/demo_app/common/include" --include_path="C:/ti/ccsv6/tools/compiler/arm_15.12.3.LTS/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/source" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/hal/include" --define=_TMS570LS31x_ --define=_VFP_SUPPORT_=1 --diag_warning=225 --display_error_number --diag_wrap=off --enum_type=packed --preproc_with_compile --preproc_dependency="source/sys_pcr.d" --obj_directory="source" "../source/sys_pcr.c"
    'Finished building: ../source/sys_pcr.c'
    ' '
    'Building file: ../source/sys_phantom.c'
    'Invoking: ARM Compiler'
    "C:/ti/ccsv6/tools/compiler/arm_15.12.3.LTS/bin/armcl" -mv7R4 --code_state=32 --float_support=VFPv3D16 --abi=eabi -g --include_path="C:/Users/matteo/HALCoGenWS/TMS570Blinky/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/include" --include_path="C:/Users/matteo/HALCoGenWS/TMS570Blinky/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/demo_app/common/include" --include_path="C:/ti/ccsv6/tools/compiler/arm_15.12.3.LTS/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/source" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/hal/include" --define=_TMS570LS31x_ --define=_VFP_SUPPORT_=1 --diag_warning=225 --display_error_number --diag_wrap=off --enum_type=packed --preproc_with_compile --preproc_dependency="source/sys_phantom.d" --obj_directory="source" "../source/sys_phantom.c"
    'Finished building: ../source/sys_phantom.c'
    ' '
    'Building file: ../source/sys_pmm.c'
    'Invoking: ARM Compiler'
    "C:/ti/ccsv6/tools/compiler/arm_15.12.3.LTS/bin/armcl" -mv7R4 --code_state=32 --float_support=VFPv3D16 --abi=eabi -g --include_path="C:/Users/matteo/HALCoGenWS/TMS570Blinky/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/include" --include_path="C:/Users/matteo/HALCoGenWS/TMS570Blinky/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/demo_app/common/include" --include_path="C:/ti/ccsv6/tools/compiler/arm_15.12.3.LTS/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/source" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/hal/include" --define=_TMS570LS31x_ --define=_VFP_SUPPORT_=1 --diag_warning=225 --display_error_number --diag_wrap=off --enum_type=packed --preproc_with_compile --preproc_dependency="source/sys_pmm.d" --obj_directory="source" "../source/sys_pmm.c"
    'Finished building: ../source/sys_pmm.c'
    ' '
    'Building file: ../source/sys_pmu.asm'
    'Invoking: ARM Compiler'
    "C:/ti/ccsv6/tools/compiler/arm_15.12.3.LTS/bin/armcl" -mv7R4 --code_state=32 --float_support=VFPv3D16 --abi=eabi -g --include_path="C:/Users/matteo/HALCoGenWS/TMS570Blinky/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/include" --include_path="C:/Users/matteo/HALCoGenWS/TMS570Blinky/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/demo_app/common/include" --include_path="C:/ti/ccsv6/tools/compiler/arm_15.12.3.LTS/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/source" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/hal/include" --define=_TMS570LS31x_ --define=_VFP_SUPPORT_=1 --diag_warning=225 --display_error_number --diag_wrap=off --enum_type=packed --preproc_with_compile --preproc_dependency="source/sys_pmu.d" --obj_directory="source" "../source/sys_pmu.asm"
    'Finished building: ../source/sys_pmu.asm'
    ' '
    'Building file: ../source/sys_selftest.c'
    'Invoking: ARM Compiler'
    "C:/ti/ccsv6/tools/compiler/arm_15.12.3.LTS/bin/armcl" -mv7R4 --code_state=32 --float_support=VFPv3D16 --abi=eabi -g --include_path="C:/Users/matteo/HALCoGenWS/TMS570Blinky/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/include" --include_path="C:/Users/matteo/HALCoGenWS/TMS570Blinky/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/demo_app/common/include" --include_path="C:/ti/ccsv6/tools/compiler/arm_15.12.3.LTS/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/source" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/hal/include" --define=_TMS570LS31x_ --define=_VFP_SUPPORT_=1 --diag_warning=225 --display_error_number --diag_wrap=off --enum_type=packed --preproc_with_compile --preproc_dependency="source/sys_selftest.d" --obj_directory="source" "../source/sys_selftest.c"
    'Finished building: ../source/sys_selftest.c'
    ' '
    'Building file: ../source/sys_startup.c'
    'Invoking: ARM Compiler'
    "C:/ti/ccsv6/tools/compiler/arm_15.12.3.LTS/bin/armcl" -mv7R4 --code_state=32 --float_support=VFPv3D16 --abi=eabi -g --include_path="C:/Users/matteo/HALCoGenWS/TMS570Blinky/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/include" --include_path="C:/Users/matteo/HALCoGenWS/TMS570Blinky/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/demo_app/common/include" --include_path="C:/ti/ccsv6/tools/compiler/arm_15.12.3.LTS/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/source" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/hal/include" --define=_TMS570LS31x_ --define=_VFP_SUPPORT_=1 --diag_warning=225 --display_error_number --diag_wrap=off --enum_type=packed --preproc_with_compile --preproc_dependency="source/sys_startup.d" --obj_directory="source" "../source/sys_startup.c"
    "../source/sys_startup.c", line 1213: warning #225-D: function "dmaEnableParityCheck" declared implicitly
    "../source/sys_startup.c", line 1233: warning #225-D: function "spiInit" declared implicitly
    "../source/sys_startup.c", line 1235: warning #225-D: function "sciInit" declared implicitly
    "../source/sys_startup.c", line 1236: warning #225-D: function "linInit" declared implicitly
    'Finished building: ../source/sys_startup.c'
    ' '
    'Building file: ../source/sys_vim.c'
    'Invoking: ARM Compiler'
    "C:/ti/ccsv6/tools/compiler/arm_15.12.3.LTS/bin/armcl" -mv7R4 --code_state=32 --float_support=VFPv3D16 --abi=eabi -g --include_path="C:/Users/matteo/HALCoGenWS/TMS570Blinky/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/include" --include_path="C:/Users/matteo/HALCoGenWS/TMS570Blinky/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/demo_app/common/include" --include_path="C:/ti/ccsv6/tools/compiler/arm_15.12.3.LTS/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/source" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/hal/include" --define=_TMS570LS31x_ --define=_VFP_SUPPORT_=1 --diag_warning=225 --display_error_number --diag_wrap=off --enum_type=packed --preproc_with_compile --preproc_dependency="source/sys_vim.d" --obj_directory="source" "../source/sys_vim.c"
    'Finished building: ../source/sys_vim.c'
    ' '
    'Building file: ../source/system.c'
    'Invoking: ARM Compiler'
    "C:/ti/ccsv6/tools/compiler/arm_15.12.3.LTS/bin/armcl" -mv7R4 --code_state=32 --float_support=VFPv3D16 --abi=eabi -g --include_path="C:/Users/matteo/HALCoGenWS/TMS570Blinky/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/include" --include_path="C:/Users/matteo/HALCoGenWS/TMS570Blinky/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/demo_app/common/include" --include_path="C:/ti/ccsv6/tools/compiler/arm_15.12.3.LTS/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/source" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/safety_library/include" --include_path="C:/ti/Hercules/SafeTI Diagnostic Library/2.3.1/hal/include" --define=_TMS570LS31x_ --define=_VFP_SUPPORT_=1 --diag_warning=225 --display_error_number --diag_wrap=off --enum_type=packed --preproc_with_compile --preproc_dependency="source/system.d" --obj_directory="source" "../source/system.c"
    'Finished building: ../source/system.c'
    ' '
    'Building target: TMS570Blinky.out'
    'Invoking: ARM Linker'
    "C:/ti/ccsv6/tools/compiler/arm_15.12.3.LTS/bin/armcl" -mv7R4 --code_state=32 --float_support=VFPv3D16 --abi=eabi -g --define=_TMS570LS31x_ --define=_VFP_SUPPORT_=1 --diag_warning=225 --display_error_number --diag_wrap=off --enum_type=packed -z -m"TMS570Blinky.map" -i"C:/ti/ccsv6/tools/compiler/arm_15.12.3.LTS/lib" -i"C:/ti/ccsv6/tools/compiler/arm_15.12.3.LTS/include" --reread_libs --warn_sections --display_error_number --diag_wrap=off --xml_link_info="TMS570Blinky_linkInfo.xml" --rom_model --be32 -o "TMS570Blinky.out" "./SL/source/sl_asm_api.obj" "./SL/source/sl_esm.obj" "./SL/source/sl_init.obj" "./SL/source/sl_log.obj" "./SL/source/sl_misc.obj" "./SL/source/sl_pmu.obj" "./SL/source/sl_priv.obj" "./SL/source/sl_selftest.obj" "./demo_app/common/source/esm_application_callback.obj" "./demo_app/common/source/exception_handlers.obj" "./demo_app/common/source/misc.obj" "./demo_app/common/source/register_readback.obj" "./source/dabort.obj" "./source/esm.obj" "./source/gio.obj" "./source/het.obj" "./source/notification.obj" "./source/pinmux.obj" "./source/sys_core.obj" "./source/sys_dma.obj" "./source/sys_intvecs.obj" "./source/sys_main.obj" "./source/sys_mpu.obj" "./source/sys_pcr.obj" "./source/sys_phantom.obj" "./source/sys_pmm.obj" "./source/sys_pmu.obj" "./source/sys_selftest.obj" "./source/sys_startup.obj" "./source/sys_vim.obj" "./source/system.obj" "../SL_TMS570LS3137_NoOS_sys_link.cmd" -lrtsv7R4_T_be_v3D16_eabi.lib
    <Linking>

    undefined first referenced
    symbol in file
    --------- ----------------
    adcInit ./source/sys_startup.obj
    canInit ./source/sys_startup.obj
    dcc1GetConfigValue ./demo_app/common/source/register_readback.obj
    dcc2GetConfigValue ./demo_app/common/source/register_readback.obj
    linInit ./source/sys_startup.obj
    mibspiInit ./source/sys_startup.obj
    rtiGetConfigValue ./demo_app/common/source/register_readback.obj
    sciInit ./source/sys_startup.obj
    spiInit ./source/sys_startup.obj

    error #10234-D: unresolved symbols remain

    error #10010: errors encountered during linking; "TMS570Blinky.out" not built
    >> Compilation failure
    makefile:170: recipe for target 'TMS570Blinky.out' failed
    gmake: *** [TMS570Blinky.out] Error 1
    gmake: Target 'all' not remade because of errors.

    **** Build Finished ****
  • Hi Fermat,

    Could you please zip and send us the project with HALCoGen sources? If not entire project then send the sys_startup.c file.
  • Hi Fermat,

    Looks like the starup file you sent us does reference to below underlined functions, which are part of HALCoGen. The below functions will be part of their respective c files ( spi.c, can.c, lin.c, etcc..). Make sure in HALCogen , under Driver Enable tab these modules are enabled, like the snap below.

    adcInit ./source/sys_startup.obj
    canInit ./source/sys_startup.obj
    linInit ./source/sys_startup.obj
    mibspiInit ./source/sys_startup.obj
    sciInit ./source/sys_startup.obj
    spiInit ./source/sys_startup.obj

  • Ok, even if my project needs only the GIO driver. That's why I have set only GIO in HALCOGen. So I followed the instructions in the example that comes with HALCoGen and now I'm able to compile the library.

    I would recommend anybody that needs to integrate the Safety Diagnostic library to start from the example that comes with HALCoGen. Any other source (the help file in the library and the wiki about the library) in my opinion are misleading.

    Thank you for your support, regards