Other Parts Discussed in Thread: , SYSCONFIG
Tool/software:
Hi TI-Experts,
I'm using CCS Theia with example project "secondary_bsl_uart_LP_MSPM0G3507_nortos_ticlang".
Now I'm trying to include the software BSL invoke and would like to make the Invokation visible by turning an LED on the Launchpad on.
I put my
into the secondary_bsl.c
and the #defines for the GPIOs
into the ti_msp_dl_config.h
and the inits
into the ti_msp_dl_config.c
And when I try to build my Project I get the following error messages:
[0]**** Build of configuration Debug for project secondary_bsl_uart_LP_MSPM0G3507_nortos_ticlang ****
[1]"C:\\ti\\ccstheia141\\ccs\\utils\\bin\\gmake" -k -j 4 all -O
[2]Building file: "../secondary_bsl.c"
[3]Invoking: Arm Compiler
[4]"C:/ti/ccstheia141/ccs/tools/compiler/ti-cgt-armllvm_3.2.2.LTS/bin/tiarmclang.exe" -c -march=thumbv6m -mcpu=cortex-m0plus -mfloat-abi=soft -mlittle-endian -mthumb -Oz -I"C:/Users/m#########/Documents/GIT/WiPro3_facelift/Sandbox.wiproiii_facelift.sw.LP-MSPM0G3507/secondary_bsl_uart_LP_MSPM0G3507_nortos_ticlang" -I"C:/Users/m#########/Documents/GIT/WiPro3_facelift/Sandbox.wiproiii_facelift.sw.LP-MSPM0G3507/secondary_bsl_uart_LP_MSPM0G3507_nortos_ticlang/Debug" -I"C:/ti/mspm0_sdk_2_01_00_03/source/third_party/CMSIS/Core/Include" -I"C:/ti/mspm0_sdk_2_01_00_03/source" -D__MSPM0G3507__ -DUART_Plugin -gdwarf-3 -MMD -MP -MF"secondary_bsl.d_raw" -MT"secondary_bsl.o" -o"secondary_bsl.o" "../secondary_bsl.c"
[5]subdir_rules.mk:9: recipe for target 'secondary_bsl.o' failed
[6]../secondary_bsl.c:222:21: error: use of undeclared identifier 'GPIO_LEDS_PORT'
[7] DL_GPIO_setPins(GPIO_LEDS_PORT, GPIO_LEDS_USER_LED_1_PIN);
[8] ^
[9]../secondary_bsl.c:222:37: error: use of undeclared identifier 'GPIO_LEDS_USER_LED_1_PIN'
[10] DL_GPIO_setPins(GPIO_LEDS_PORT, GPIO_LEDS_USER_LED_1_PIN);
[11] ^
[12]2 errors generated.
[13]gmake: *** [secondary_bsl.o] Error 1
[14]Building file: "../ti_msp_dl_config.c"
[15]Invoking: Arm Compiler
[16]"C:/ti/ccstheia141/ccs/tools/compiler/ti-cgt-armllvm_3.2.2.LTS/bin/tiarmclang.exe" -c -march=thumbv6m -mcpu=cortex-m0plus -mfloat-abi=soft -mlittle-endian -mthumb -Oz -I"C:/Users/m#########/Documents/GIT/WiPro3_facelift/Sandbox.wiproiii_facelift.sw.LP-MSPM0G3507/secondary_bsl_uart_LP_MSPM0G3507_nortos_ticlang" -I"C:/Users/m#########/Documents/GIT/WiPro3_facelift/Sandbox.wiproiii_facelift.sw.LP-MSPM0G3507/secondary_bsl_uart_LP_MSPM0G3507_nortos_ticlang/Debug" -I"C:/ti/mspm0_sdk_2_01_00_03/source/third_party/CMSIS/Core/Include" -I"C:/ti/mspm0_sdk_2_01_00_03/source" -D__MSPM0G3507__ -DUART_Plugin -gdwarf-3 -MMD -MP -MF"ti_msp_dl_config.d_raw" -MT"ti_msp_dl_config.o" -o"ti_msp_dl_config.o" "../ti_msp_dl_config.c"
[17]Finished building: "../ti_msp_dl_config.c"
[18]gmake: Target 'all' not remade because of errors.
[19]**** Build Finished ****
And when I press CTRL + Left klick on "GPIO_LEDs_PORT" in ti_msp_dl_config.h I see the following references.
There are two references to files named "ti_msp_dl_config.h". one is in the root folder, one is in the Debug folder.
But when I look into the Debug folder there is no "ti_msp_dl_config.h"
. It is only in the root folder.
And when I search my project with notepad++ for ti_msp_dl_config.h I find 3 files in "C:\Users\m#########\Documents\GIT\WiPro3_facelift\Sandbox.wiproiii_facelift.sw.LP-MSPM0G3507\secondary_bsl_uart_LP_MSPM0G3507_nortos_ticlang\Debug\.clangd\.cache\clangd\index" that contain the text/path "/Debug/ti_msp_dl_config.h".
their names are:
boot_config.h.1667296CE236B965.idx
ti_msp_dl_config.c.F4FE0E1FE98BC6AB.idx
ti_msp_dl_config.h.32203948910323DA.idx
My guess is that there might be anything wrong about the linker as I don't use the sysconfig generation because the example project for secondary bsl is implemented without sysconfig generation.
I hope I gave you the full information that you need to help me.
Thanks a lot in advance!
Regards
Matze