Other Parts Discussed in Thread: CC2340R5, SYSCONFIG
Tool/software:
Hi TI Experts.
I using Version: 12.3.0.00005 and simplelink_lowpower_f3_sdk_8_10_01_02
I'm importing the basic_ble project.
and modify to CC2340R2RGE by syscfg.
when I compile the source code, it will cause a build to fail.
the error message is as below:
Building target: "basic_ble_LP_EM_CC2340R5_freertos_ticlang.out" Invoking: Arm Linker "C:/ti/ccs1200/ccs/tools/compiler/ti-cgt-armllvm_2.1.3.LTS/bin/tiarmclang.exe" @"C:/ti/simplelink_lowpower_f3_sdk_8_10_01_02/source/ti/ble5stack_flash/config/build_components.opt" @"C:/ti/simplelink_lowpower_f3_sdk_8_10_01_02/source/ti/ble5stack_flash/config/factory_config.opt" -march=thumbv6m -mcpu=cortex-m0plus -mfloat-abi=soft -mlittle-endian -mthumb -Oz -DICALL_NO_APP_EVENTS -DCC23X0 -DNVOCMP_NWSAMEITEM=1 -DFLASH_ONLY_BUILD -DUSE_RCL -DNVOCMP_NVPAGES=6 -DFREERTOS -DNVOCMP_POSIX_MUTEX -gdwarf-3 -ffunction-sections -Wl,-m"basic_ble_LP_EM_CC2340R5_freertos_ticlang.map" -Wl,-i"C:/ti/simplelink_lowpower_f3_sdk_8_10_01_02/source" -Wl,-i"C:/Users/Weli/workspace_v12_CC2340_6_3/basic_ble_LP_EM_CC2340R5_freertos_ticlang/Release/syscfg" -Wl,-i"C:/ti/ccs1200/ccs/tools/compiler/ti-cgt-armllvm_2.1.3.LTS/lib" -Wl,--reread_libs -Wl,--diag_wrap=off -Wl,--display_error_number -Wl,--warn_sections -Wl,--xml_link_info="basic_ble_LP_EM_CC2340R5_freertos_ticlang_linkInfo.xml" -Wl,--rom_model -o "basic_ble_LP_EM_CC2340R5_freertos_ticlang.out" "./syscfg/ti_ble_config.o" "./syscfg/ti_devices_config.o" "./syscfg/ti_radio_config.o" "./syscfg/ti_drivers_config.o" "./syscfg/ti_freertos_config.o" "./syscfg/ti_freertos_portable_config.o" "./main_freertos.o" "./app/Profiles/app_dev_info.o" "./app/Profiles/app_simple_gatt.o" "./app/app_broadcaster.o" "./app/app_central.o" "./app/app_connection.o" "./app/app_data.o" "./app/app_main.o" "./app/app_menu.o" "./app/app_observer.o" "./app/app_pairing.o" "./app/app_peripheral.o" "./common/BLEAppUtil/bleapputil_init.o" "./common/BLEAppUtil/bleapputil_process.o" "./common/BLEAppUtil/bleapputil_stack_callbacks.o" "./common/BLEAppUtil/bleapputil_task.o" "./common/Drivers/NV/crc.o" "./common/Drivers/NV/nvocmp.o" "./common/MenuModule/menu_module.o" "./common/Profiles/simple_gatt/simple_gatt_profile.o" "./common/Services/dev_info/dev_info_service.o" "./common/Startup/ble_user_config_stack.o" "./common/Startup/osal_icall_ble.o" "./common/Startup/rom_init.o" "./common/iCall/icall_POSIX.o" "./common/iCall/icall_cc23x0.o" "./common/iCall/icall_user_config.o" "./common/iCallBLE/ble_stack_api.o" "./common/iCallBLE/ble_user_config.o" "./common/iCallBLE/icall_api_lite.o" "../lpf3_app_freertos.cmd" -Wl,-lti_utils_build_linker.cmd.genlibs -Wl,-llibc.a makefile:191: recipe for target 'basic_ble_LP_EM_CC2340R5_freertos_ticlang.out' failed warning #10325-D: creating memory range $BOUND$0x7c000 to accommodate BOUND section ".TI.bound:flashBuf0" "../lpf3_app_freertos.cmd", line 293: error #10099-D: program will not fit into available memory, or the section contains a call site that requires a trampoline that can't be generated for this section. run placement with alignment fails for section ".data" size 0xd2b. Available memory ranges: SRAM size: 0x7000 unused: 0x2d6 max hole: 0x262 error #10010: errors encountered during linking; "basic_ble_LP_EM_CC2340R5_freertos_ticlang.out" not built tiarmclang: error: tiarmlnk command failed with exit code 1 (use -v to see invocation) gmake[1]: *** [basic_ble_LP_EM_CC2340R5_freertos_ticlang.out] Error 1 makefile:187: recipe for target 'all' failed gmake: *** [all] Error 2 **** Build Finished ****
so how can I fix it?
Thanks.