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.

CC1354P10: Using Wi-SUN FAN with gcc

Part Number: CC1354P10

Tool/software:

Hi

We are trying to get Wi-SUN FAN working in our gcc based project.

/usr/lib/gcc/arm-none-eabi/14.2.0/../../../../arm-none-eabi/bin/ld: ../app_sdk/third-party/ti/cc13xx_cc26xx/source/ti/ti_wisunfan/lib/ticlang/m33f/wisun_coap_mbed_ns_tls_lib_cc13x4_freertos.a(ssl_cli.c.o): in function `time':
/home/developer/.conan/data/tiarmllvm/3.2.0.LTS-0/library-msp/ga/package/be241241e9d4718e5bab4eb33935bbb69606bb0c/include/c/../../include/c/time.h:211:(.text.time+0x2): undefined reference to `__time64'

Looking at the source code for time.c it seems like that symbol is only available when using clang:

#if defined(__clang__) && defined(__TI_TIME_USES_64) && __TI_TIME_USES_64
_CODE_ACCESS __time64_t __time64(__time64_t *tout)
#else
time_t time(time_t *tout)
#endif

Is Wi-SUN FAN supposed to work for gcc? I know the binaries are only available for clang and iar.

  • Hi Marco,

    We only provide example projects with TI Clang and IAR compilers and this is all we test. We don't currently support GCC. 

    Since parts of the software is only provided as library, I don't think it's possible for you to enable GCC support. I will check with the SW developers and get back to you tomorrow.

    Cheers,

    Marie H