Part Number: LAUNCHXL-CC1352R1
Other Parts Discussed in Thread: SYSBIOS
I am testing the Thread technology in the LAUNCHXL-CC1352R1 and i have not been able to compile the cli_ftd example provided in the SimpleLink SDK. Every time i try to compile the example project, the code composer starts by compiling the OpenThread libraries until it gets stuck with the linking. I did not have any problems compiling other examples so i guess some configuration or detail is missing.
Could you please provide any guide or how to compile and run this example?
Is it related to the type of optimization?
I leave below the console output during compilation, exactly where the CCS gets blocked:
**** Build of configuration Debug for project cli_ftd_CC1352R1_LAUNCHXL_tirtos_ccs ****
/home/user/ti/ccs1040/ccs/utils/bin/gmake -k -j 4 all -O
making ../src/sysbios/rom_sysbios.aem4f ...
gmake[1]: No se hace nada para 'all'.
making ../src/sysbios/rom_sysbios.aem4f ...
gmake[2]: No se hace nada para 'all'.
Building target: "cli_ftd_CC1352R1_LAUNCHXL_tirtos_ccs.out"
Invoking: Arm Linker
"/home/user/ti/ccs1040/ccs/tools/compiler/ti-cgt-arm_20.2.5.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me -O4 --opt_for_speed=0 --define=HAVE_CONFIG_H --define=Board_EXCLUDE_NVS_EXTERNAL_FLASH --define=NVOCMP_POSIX_MUTEX --define=NVOCMP_NVPAGES=2 --define=NDEBUG --define=BOARD_DISPLAY_USE_UART=1 --define=MBEDTLS_CONFIG_FILE='"mbedtls-config-cc13x2_26x2.h"' --define=OPENTHREAD_CONFIG_FILE='"openthread-config-cc13x2_26x2-ftd.h"' --define=OPENTHREAD_PROJECT_CORE_CONFIG_FILE='"openthread-core-cc13x2_26x2-config.h"' --define=TIOP_ENABLE_UART=1 --define=DeviceFamily_CC13X2_CC26X2 -g --c99 --gcc --printf_support=nofloat --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --gen_data_subsections=on --abi=eabi -z -m"cli_ftd_CC1352R1_LAUNCHXL_tirtos_ccs.map" --heap_size=0 -i"/home/user/texas/projects/libopenthread_cli_ftd_cc13x2_26x2_ccs/OptimizeSize" -i"/home/user/texas/projects/libopenthread_ftd_cc13x2_26x2_ccs/OptimizeSize" -i"/home/user/texas/projects/libopenthread_platform_utils_ftd_cc13x2_26x2_ccs/OptimizeSize" -i"/home/user/texas/projects/libmbedcrypto_cc13x2_26x2_ccs/OptimizeSize" -i"/home/user/ti/simplelink_cc13x2_26x2_sdk_5_20_00_52/source" -i"/home/user/ti/simplelink_cc13x2_26x2_sdk_5_20_00_52/kernel/tirtos/packages" -i"/home/user/texas/projects/cli_ftd_CC1352R1_LAUNCHXL_tirtos_ccs/Debug/syscfg" -i"/home/user/ti/ccs1040/ccs/tools/compiler/ti-cgt-arm_20.2.5.LTS/lib" --diag_wrap=off --display_error_number --warn_sections --xml_link_info="cli_ftd_CC1352R1_LAUNCHXL_tirtos_ccs_linkInfo.xml" --rom_model --unused_section_elimination=on -o "cli_ftd_CC1352R1_LAUNCHXL_tirtos_ccs.out" "./cli.obj" "./syscfg/tiop_config.obj" "./syscfg/ti_devices_config.obj" "./syscfg/ti_radio_config.obj" "./syscfg/ti_drivers_config.obj" "./main.obj" "./otstack.obj" "./otsupport/otrtosapi.obj" "./platform/alarm.obj" "./platform/alarm_micro.obj" "./platform/debug_uart.obj" "./platform/diag.obj" "./platform/entropy.obj" "./platform/misc.obj" "./platform/radio.obj" "./platform/settings.obj" "./platform/system.obj" "./platform/uart.obj" "./platform/crypto/aes_alt.obj" "./platform/crypto/crypto_misc.obj" "./platform/crypto/ecjpake_alt.obj" "./platform/crypto/sha256_alt.obj" "./platform/nv/crc.obj" "./platform/nv/nvocmp.obj" "../cc13x2_cc26x2_tirtos.cmd" -l"configPkg/linker.cmd" -llibopenthread_cli_ftd.a -llibopenthread_ftd.a -llibopenthread_platform_utils_ftd.a -llibmbedcrypto.a -l"/home/user/texas/projects/cli_ftd_CC1352R1_LAUNCHXL_tirtos_ccs/Debug/syscfg/ti_utils_build_linker.cmd.genlibs" -l"ti/devices/cc13x2_cc26x2/driverlib/bin/ccs/driverlib.lib" -llibc.a
<Linking>
Warnings:
Description Resource Path Location Type
#179-D variable "extAddress" was declared but never referenced tiop_config.c /cli_ftd_CC1352R1_LAUNCHXL_tirtos_ccs/Debug/syscfg line 48 C/C++ Problem
Thank you!