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.

LP-MSPM0L1306: Arm-based microcontrollers forum

Part Number: LP-MSPM0L1306
Other Parts Discussed in Thread: MSPM0L1306, SYSCONFIG

driverlib: "timx_timer_mode_periodic_stop_LP_MSPM0L1306_nortos_ticlang"

and "timx_timer_mode_periodic_standby_LP_MSPM0L1306_nortos_ticlang"

build projects failed. 

only "timx_timer_mode_periodic_sleep_LP_MSPM0L1306_nortos_ticlang"

build success.

ccs system information:

windows 10,

ccs 12.2.0

mspm0_sdk_0_57_00_00_eng

sysconfig_1.15.0

console message:

_______________________________________________________________________________________________________

**** Build of configuration Debug for project timx_timer_mode_periodic_stop_LP_MSPM0L1306_nortos_ticlang ****

"C:\\ti\\ccs1220\\ccs\\utils\\bin\\gmake" -k -j 8 all -O

Building file: "../timx_timer_mode_periodic_stop.syscfg"
Invoking: SysConfig
"C:/ti/ccs1220/ccs/utils/sysconfig_1.15.0/sysconfig_cli.bat" -s "C:/ti/mspm0_sdk_0_57_00_00_eng/.metadata/product.json" --script "D:/precision_users/henglong/TI_MCU/timx_timer_mode_periodic_stop_LP_MSPM0L1306_nortos_ticlang/timx_timer_mode_periodic_stop.syscfg" -o "syscfg" --compiler ticlang
Running script...
Validating...
Generating Code (timx_timer_mode_periodic_stop.syscfg)...
Writing D:\precision_users\henglong\TI_MCU\timx_timer_mode_periodic_stop_LP_MSPM0L1306_nortos_ticlang\Debug\syscfg\ti_msp_dl_config.c...
Writing D:\precision_users\henglong\TI_MCU\timx_timer_mode_periodic_stop_LP_MSPM0L1306_nortos_ticlang\Debug\syscfg\ti_msp_dl_config.h...
Writing D:\precision_users\henglong\TI_MCU\timx_timer_mode_periodic_stop_LP_MSPM0L1306_nortos_ticlang\Debug\syscfg\Event.dot...
Finished building: "../timx_timer_mode_periodic_stop.syscfg"

Building file: "syscfg/ti_msp_dl_config.c"
Invoking: Arm Compiler
"C:/ti/ccs1220/ccs/tools/compiler/ti-cgt-armllvm_2.1.2.LTS/bin/tiarmclang.exe" -c -march=thumbv6m -mcpu=cortex-m0plus -mfloat-abi=soft -mlittle-endian -mthumb -O2 -I"D:/precision_users/henglong/TI_MCU/timx_timer_mode_periodic_stop_LP_MSPM0L1306_nortos_ticlang" -I"D:/precision_users/henglong/TI_MCU/timx_timer_mode_periodic_stop_LP_MSPM0L1306_nortos_ticlang/Debug" -I"C:/ti/mspm0_sdk_0_57_00_00_eng/source/third_party/CMSIS/Core/Include" -I"C:/ti/mspm0_sdk_0_57_00_00_eng/source" -D__MSPM0L1306__ -gdwarf-3 -MMD -MP -MF"syscfg/ti_msp_dl_config.d_raw" -MT"syscfg/ti_msp_dl_config.o" -I"D:/precision_users/henglong/TI_MCU/timx_timer_mode_periodic_stop_LP_MSPM0L1306_nortos_ticlang/Debug/syscfg" -o"syscfg/ti_msp_dl_config.o" "syscfg/ti_msp_dl_config.c"
subdir_rules.mk:28: recipe for target 'syscfg/ti_msp_dl_config.o' failed
syscfg/ti_msp_dl_config.c:69:28: error: use of undeclared identifier 'IOMUX_PINCM11_PF_SYSCTL_CLK_OUT'
GPIO_CLKOUT_IOMUX, GPIO_CLKOUT_IOMUX_FUNC);
^
D:/precision_users/henglong/TI_MCU/timx_timer_mode_periodic_stop_LP_MSPM0L1306_nortos_ticlang/Debug/syscfg/ti_msp_dl_config.h:74:50: note: expanded from macro 'GPIO_CLKOUT_IOMUX_FUNC'
#define GPIO_CLKOUT_IOMUX_FUNC IOMUX_PINCM11_PF_SYSCTL_CLK_OUT
^
1 error generated.
gmake: *** [syscfg/ti_msp_dl_config.o] Error 1
Building file: "../ticlang/startup_mspm0l1306_ticlang.c"
Invoking: Arm Compiler
"C:/ti/ccs1220/ccs/tools/compiler/ti-cgt-armllvm_2.1.2.LTS/bin/tiarmclang.exe" -c -march=thumbv6m -mcpu=cortex-m0plus -mfloat-abi=soft -mlittle-endian -mthumb -O2 -I"D:/precision_users/henglong/TI_MCU/timx_timer_mode_periodic_stop_LP_MSPM0L1306_nortos_ticlang" -I"D:/precision_users/henglong/TI_MCU/timx_timer_mode_periodic_stop_LP_MSPM0L1306_nortos_ticlang/Debug" -I"C:/ti/mspm0_sdk_0_57_00_00_eng/source/third_party/CMSIS/Core/Include" -I"C:/ti/mspm0_sdk_0_57_00_00_eng/source" -D__MSPM0L1306__ -gdwarf-3 -MMD -MP -MF"ticlang/startup_mspm0l1306_ticlang.d_raw" -MT"ticlang/startup_mspm0l1306_ticlang.o" -I"D:/precision_users/henglong/TI_MCU/timx_timer_mode_periodic_stop_LP_MSPM0L1306_nortos_ticlang/Debug/syscfg" -o"ticlang/startup_mspm0l1306_ticlang.o" "../ticlang/startup_mspm0l1306_ticlang.c"
Finished building: "../ticlang/startup_mspm0l1306_ticlang.c"

Building file: "../timx_timer_mode_periodic_stop.c"
Invoking: Arm Compiler
"C:/ti/ccs1220/ccs/tools/compiler/ti-cgt-armllvm_2.1.2.LTS/bin/tiarmclang.exe" -c -march=thumbv6m -mcpu=cortex-m0plus -mfloat-abi=soft -mlittle-endian -mthumb -O2 -I"D:/precision_users/henglong/TI_MCU/timx_timer_mode_periodic_stop_LP_MSPM0L1306_nortos_ticlang" -I"D:/precision_users/henglong/TI_MCU/timx_timer_mode_periodic_stop_LP_MSPM0L1306_nortos_ticlang/Debug" -I"C:/ti/mspm0_sdk_0_57_00_00_eng/source/third_party/CMSIS/Core/Include" -I"C:/ti/mspm0_sdk_0_57_00_00_eng/source" -D__MSPM0L1306__ -gdwarf-3 -MMD -MP -MF"timx_timer_mode_periodic_stop.d_raw" -MT"timx_timer_mode_periodic_stop.o" -I"D:/precision_users/henglong/TI_MCU/timx_timer_mode_periodic_stop_LP_MSPM0L1306_nortos_ticlang/Debug/syscfg" -o"timx_timer_mode_periodic_stop.o" "../timx_timer_mode_periodic_stop.c"
Finished building: "../timx_timer_mode_periodic_stop.c"

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

**** Build Finished ****

_____________________________________________________________________________________________________________________________________________________-

please help!

Changhe Huang

  • Hi,

    I tried the code example and it can be built successfully. It seems that you have modified the example. And there is no IOMUX_PINCM11_PF_SYSCTL_CLK_OUT in the default code.

    Best regards,

    Cash Hao

  • Hello Cash:

    I didn't modify example project.

    compare to the

     "timx_timer_mode_periodic_sleep_LP_MSPM0L1306_nortos_ticlang"

    the error in 

    "timx_timer_mode_periodic_stop_LP_MSPM0L1306_nortos_ticlang"

    come from:

    "External Clock Output (CLK_OUT)

    Enable CLK_OUT"

    just uncheck the "Enable CLK_OUT", project was built successfully.

    Thanks,

    Changhe Huang