Part Number: CC2640R2F
Other Parts Discussed in Thread: CC2640, , CC2650, BLE-STACK, CC2642R, CC2652R
Tool/software: Code Composer Studio
Having updated to CCS 10. I'm having related issues. Please see below/attached.
I'm trying to build the example project "rtls_master" for a CC2640R2 device. So far I've tried...
(1) build the hello world example for the CC2640, load and run -> "hello world" appears in the console as expected.
(2) I build import and "rtls_master". All is ok. I try to load this onto the CC2640 target and get the error something like "program falls into a memory region that is not writable".
(3) I go into preferences->general and change the variant from CC2652R1F->CC2640R2F to match my hardware and then get a series of build errors. I included the CC2640 SDK into the project via preferences and disable floating point optimisation as there is another build error here. The build progresses but still having trouble.
What is the workflow for building for a different target? Have I misunderstood something?
Please advise. Many thanks in advance.
Dave
Invoking: ARM Linker
"/home/dmohamad/ti/ccs1000/ccs/tools/compiler/ti-cgt-arm_20.2.0.LTS/bin/armcl" --cmd_file="/home/dmohamad/workspace_v10/rtls_master_CC26X2R1_LAUNCHXL_tirtos_ccs/Tools/Defines/rtls_master_app.opt" --cmd_file="/home/dmohamad/ti/simplelink_cc13x2_26x2_sdk_4_10_00_78/source/ti/ble5stack/config/build_components.opt" --cmd_file="/home/dmohamad/ti/simplelink_cc13x2_26x2_sdk_4_10_00_78/source/ti/ble5stack/config/factory_config.opt" --cmd_file="/home/dmohamad/workspace_v10/rtls_master_CC26X2R1_LAUNCHXL_tirtos_ccs/build_config.opt" -mv7M4 --code_state=16 --float_support=none -me -Ooff --opt_for_speed=0 --define=DeviceFamily_CC26X2 --define=FLASH_ROM_BUILD --define=NVOCMP_NWSAMEITEM=1 -g --c99 --gcc --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi -z -m"rtls_master_CC26X2R1_LAUNCHXL_tirtos_ccs.map" -i"/home/dmohamad/ti/simplelink_cc13x2_26x2_sdk_4_10_00_78/source" -i"/home/dmohamad/ti/ccs1000/ccs/tools/compiler/ti-cgt-arm_20.2.0.LTS/lib" --reread_libs --define=FLASH_ROM_BUILD=2 --diag_suppress=16002-D --diag_suppress=10247-D --diag_suppress=10325-D --diag_suppress=10229-D --diag_suppress=16032-D --diag_wrap=off --display_error_number --warn_sections --xml_link_info="rtls_master_CC26X2R1_LAUNCHXL_tirtos_ccs_linkInfo.xml" --rom_model -o "rtls_master_CC26X2R1_LAUNCHXL_tirtos_ccs.out" "./syscfg/ti_devices_config.obj" "./syscfg/ti_radio_config.obj" "./syscfg/ti_drivers_config.obj" "./Application/rtls_master.obj" "./Application/util.obj" "./Drivers/AOA/AOA.obj" "./Drivers/AOA/ant_array1_config_boostxl_rev1v1.obj" "./Drivers/AOA/ant_array2_config_boostxl_rev1v1.obj" "./Drivers/NV/crc.obj" "./Drivers/NV/nvocmp.obj" "./NPI/Transport/UART/npi_tl_uart.obj" "./NPI/Transport/npi_tl.obj" "./NPI/U_NPI/npi_task.obj" "./NPI/U_NPI/npi_util.obj" "./RTLSCtrl/rtls_aoa.obj" "./RTLSCtrl/rtls_ctrl.obj" "./RTLSCtrl/rtls_ctrl_aoa.obj" "./RTLSCtrl/rtls_host_npi.obj" "./Startup/CC26X2R1_LAUNCHXL_fxns.obj" "./Startup/main.obj" "./Startup/osal_icall_ble.obj" "./Startup/rom_init.obj" "./iCall/icall.obj" "./iCall/icall_cc2650.obj" "./iCall/icall_user_config.obj" "./iCallBLE/ble_user_config.obj" "./iCallBLE/ble_user_config_stack.obj" "./iCallBLE/icall_api_lite.obj" "../cc13x2_cc26x2_app.cmd" -l"configPkg/linker.cmd" -l"/home/dmohamad/ti/simplelink_cc13x2_26x2_sdk_4_10_00_78/source/ti/ble5stack/libraries/cc26x2r1/OneLib.a" -l"/home/dmohamad/ti/simplelink_cc13x2_26x2_sdk_4_10_00_78/source/ti/ble5stack/libraries/cc26x2r1/StackWrapper.a" -l"/home/dmohamad/ti/simplelink_cc13x2_26x2_sdk_4_10_00_78/source/ti/ble5stack/libraries/cc26x2r1/ble_r2.symbols" -l"/home/dmohamad/ti/simplelink_cc13x2_26x2_sdk_4_10_00_78/source/ti/display/lib/display.aem4f" -l"/home/dmohamad/ti/simplelink_cc13x2_26x2_sdk_4_10_00_78/source/ti/grlib/lib/ccs/m4f/grlib.a" -l"/home/dmohamad/ti/simplelink_cc13x2_26x2_sdk_4_10_00_78/source/ti/drivers/rf/lib/rf_multiMode_cc26x2.aem4f" -l"/home/dmohamad/ti/simplelink_cc13x2_26x2_sdk_4_10_00_78/source/ti/devices/cc13x2_cc26x2/driverlib/bin/ccs/driverlib.lib" -l"/home/dmohamad/ti/simplelink_cc13x2_26x2_sdk_4_10_00_78/source/ti/drivers/lib/drivers_cc26x2.aem4f" -l"/home/dmohamad/ti/simplelink_cc13x2_26x2_sdk_4_10_00_78/kernel/tirtos/packages/ti/dpl/lib/dpl_cc26x2.aem4f" -l"ti/devices/cc13x2_cc26x2/driverlib/bin/ccs/driverlib.lib" -llibc.a
<Linking>
error #16004-D: file "/home/dmohamad/ti/simplelink_cc13x2_26x2_sdk_4_10_00_78/source/ti/display/lib/display.aem4f<LCDDogm1286_util.oem4f>" has a Tag_ABI_VFP_args attribute value of "1" that is different than one previously seen ("0"); combining incompatible files
error #10010: errors encountered during linking; "rtls_master_CC26X2R1_LAUNCHXL_tirtos_ccs.out" not built
>> Compilation failure
