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.

CC2642R-Q1: Compile normal procedures under the same project, modify part of the code, recompile will report errors

Part Number: CC2642R-Q1

Compile normal procedures under the same project, modify part of the code, recompile will report errors. You need to switch modes to compile to pass. See the video for the process. The error message is:

**** Build of configuration Debug for project simple_peripheral_CC26X2R1_LAUNCHXL_tirtos7_ticlang ****

"C:\\ti\\ccs1200\\ccs\\utils\\bin\\gmake" -k -j 12 all -O

Building file: ".. /Application/yx_uart.c"

Invoking: Arm Compiler

"C: / ti/ccs1200 / CCS/tools/compiler/ti - CGT - armllvm_2. 1.2 LTS/bin/tiarmclang. Exe" - C @"F:/CCS/CCS2/simple_peripheral_CC26X2R1_LAUNCHXL_tirtos7_ticlang/Debug/syscfg/ti_ble_app_config.opt" @"F:/CCS/CCS2/simple_peripheral_CC26X2R1_LAUNCHXL_tirtos7_ticlang/Debug/syscfg/ti_build_config.opt" @"C:/ti/simplelink_cc13xx_cc26xx_sdk_6_20_00_29/source/ti/ble5stack/config/build_components.opt" @"C:/ti/simplelink_cc13xx_cc26xx_sdk_6_20_00_29/source/ti/ble5stack/config/factory_config.opt" -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -mlittle-endian -mthumb -Oz -I"F:/CCS/CCS2/simple_peripheral_CC26X2R1_LAUNCHXL_tirtos7_ticlang" -I"F:/CCS/CCS2/simple_peripheral_CC26X2R1_LAUNCHXL_tirtos7_ticlang/Debug" -I"F:/CCS/CCS2/simple_peripheral_CC26X2R1_LAUNCHXL_tirtos7_ticlang/Application" -I"C:/ti/simplelink_cc13xx_cc26xx_sdk_6_20_00_29/source" -I"C:/ti/simplelink_cc13xx_cc26xx_sdk_6_20_00_29/source/ti" -I"C:/ti/simplelink_cc13xx_cc26xx_sdk_6_20_00_29/source/ti/ble5stack" -I"C:/ti/simplelink_cc13xx_cc26xx_sdk_6_20_00_29/source/ti/ble5stack/controller/cc26xx/inc" -I"C:/ti/simplelink_cc13xx_cc26xx_sdk_6_20_00_29/source/ti/ble5stack/inc" -I"C:/ti/simplelink_cc13xx_cc26xx_sdk_6_20_00_29/source/ti/ble5stack/rom" -I"C:/ti/simplelink_cc13xx_cc26xx_sdk_6_20_00_29/source/ti/ble5stack/common/cc26xx" -I"C:/ti/simplelink_cc13xx_cc26xx_sdk_6_20_00_29/source/ti/ble5stack/icall/inc" -I"C:/ti/simplelink_cc13xx_cc26xx_sdk_6_20_00_29/source/ti/ble5stack/hal/src/target/_common" -I"C:/ti/simplelink_cc13xx_cc26xx_sdk_6_20_00_29/source/ti/ble5stack/hal/src/target/_common/cc26xx" -I"C:/ti/simplelink_cc13xx_cc26xx_sdk_6_20_00_29/source/ti/ble5stack/hal/src/inc" -I"C:/ti/simplelink_cc13xx_cc26xx_sdk_6_20_00_29/source/ti/ble5stack/heapmgr" -I"C:/ti/simplelink_cc13xx_cc26xx_sdk_6_20_00_29/source/ti/ble5stack/profiles/dev_info" -I"C:/ti/simplelink_cc13xx_cc26xx_sdk_6_20_00_29/source/ti/ble5stack/profiles/simple_profile" -I"C:/ti/simplelink_cc13xx_cc26xx_sdk_6_20_00_29/source/ti/ble5stack/icall/src/inc" -I"C:/ti/simplelink_cc13xx_cc26xx_sdk_6_20_00_29/source/ti/ble5stack/osal/src/inc" -I"C:/ti/simplelink_cc13xx_cc26xx_sdk_6_20_00_29/source/ti/ble5stack/services/src/saddr" -I"C:/ti/simplelink_cc13xx_cc26xx_sdk_6_20_00_29/source/ti/ble5stack/services/src/sdata" -I"C:/ti/simplelink_cc13xx_cc26xx_sdk_6_20_00_29/source/ti/common/nv" -I"C:/ti/simplelink_cc13xx_cc26xx_sdk_6_20_00_29/source/ti/common/cc26xx" -I"C:/ti/simplelink_cc13xx_cc26xx_sdk_6_20_00_29/source/ti/ble5stack/common/cc26xx/rcosc" -I"C:/ti/simplelink_cc13xx_cc26xx_sdk_6_20_00_29/source/ti/ble5stack/npi/src" -I"C:/ti/simplelink_cc13xx_cc26xx_sdk_6_20_00_29/source/ti/ble5stack/npi/src/inc" -I"C:/ti/simplelink_cc13xx_cc26xx_sdk_6_20_00_29/source/ti/devices/cc13x2_cc26x2" -I"C:/ti/simplelink_cc13xx_cc26xx_sdk_6_20_00_29/kernel/tirtos7/packages" -I"C:/ti/simplelink_cc13xx_cc26xx_sdk_6_20_00_29/source/ti/posix/ticlang" -DDeviceFamily_CC26X2 -DFLASH_ROM_BUILD -DNVOCMP_NWSAMEITEM=1 -DHEAPMGR_CONFIG=0x80 -DTIRTOS7_SUPPORT -DHEAPMGR_SIZE=0x0 -gstrict-dwarf -gdwarf-3 -march=armv7e-m -MMD -MP -MF"Application/yx_uart.d_raw" -MT"Application/yx_uart.o" -I"F:/CCS/CCS2/simple_peripheral_CC26X2R1_LAUNCHXL_tirtos7_ticlang/Debug/syscfg" -std=gnu9x @"syscfg/ti_build_config.opt" @"syscfg/ti_ble_app_config.opt" -o"Application/yx_uart.o" ".. /Application/yx_uart.c"

tiarmclang: warning: Strict DWARF is not supported. [-Winvalid-command-line-argument]

tiarmclang: warning: argument unused during compilation: '-gstrict-dwarf' [-Wunused-command-line-argument]

Finished building: ".. /Application/yx_uart.c"

Building target: "simple_peripheral_CC26X2R1_LAUNCHXL_tirtos7_ticlang.out"

Invoking: Arm Linker

"C: / ti/ccs1200 / CCS/tools/compiler/ti - CGT - armllvm_2. 1.2 LTS/bin/tiarmclang. Exe" @"F:/CCS/CCS2/simple_peripheral_CC26X2R1_LAUNCHXL_tirtos7_ticlang/Debug/syscfg/ti_ble_app_config.opt" @"F:/CCS/CCS2/simple_peripheral_CC26X2R1_LAUNCHXL_tirtos7_ticlang/Debug/syscfg/ti_build_config.opt" @"C:/ti/simplelink_cc13xx_cc26xx_sdk_6_20_00_29/source/ti/ble5stack/config/build_components.opt" @"C:/ti/simplelink_cc13xx_cc26xx_sdk_6_20_00_29/source/ti/ble5stack/config/factory_config.opt" -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -mlittle-endian -mthumb -Oz -DDeviceFamily_CC26X2 -DFLASH_ROM_BUILD -DNVOCMP_NWSAMEITEM=1 -DHEAPMGR_CONFIG=0x80 -DTIRTOS7_SUPPORT -DHEAPMGR_SIZE=0x0 -gstrict-dwarf -gdwarf-3 -march=armv7e-m -Wl,-m"simple_peripheral_CC26X2R1_LAUNCHXL_tirtos7_ticlang.map" -Wl,-i"C:/ti/simplelink_cc13xx_cc26xx_sdk_6_20_00_29/source" -Wl,-i"C:/ti/simplelink_cc13xx_cc26xx_sdk_6_20_00_29/kernel/tirtos/packages" -Wl,-i"C:/ti/simplelink_cc13xx_cc26xx_sdk_6_20_00_29/kernel/tirtos7/packages" -Wl,-i"F:/CCS/CCS2/simple_peripheral_CC26X2R1_LAUNCHXL_tirtos7_ticlang