CC3220SF: CCS

Part Number: CC3220SF

Hi,

i build my project on old CCS and upgrade CCS to v10.

my project work good with simplelink_cc32xx_sdk_4_20_00_07.

i move to the latest Simplelink simplelink_cc32xx_sdk_5_10_00_02 and i get errors on ADC_init and SPI_init and more function in the drivers lib.

what I'm doing wrong?

  • Hi Asaf,
    I don't know what errors you are seeing because you did not add them to the post.

    I assume one of your issues is the drivers libraries in the ti/drivers/lib folder moved into another layer of folders for their IDE (CCS, IAR, etc.). Please fix your link for this library.

    Best regards,

    Sarah

  • Hi,

    i compare with example project and fix most of the problem now i have error on :

    Description Resource Path Location Type
    #1965 cannot open source file "arpa/inet.h" network_sl.c /WiFiGateway/WiFi/AWS line 19 C/C++ Problem

    advice

  • Hi Asaf,

    arpa/inet.h is in the source/ti/net/bsd folder of the CC32xx SDK.

    Best regards,

    Sarah

  • i add the libs :

    ${INHERITED_LIBRARIES}
    ${COM_TI_AWS_CC32XX_LIBRARIES}
    /ti/utils/json/lib/ccs/m4/json_release.a
    ${workspace_loc:/driverlib/Release/driverlib.a}
    /ti/net/mqtt/lib/ccs/m4/mqtt_release.a
    ${workspace_loc:/libemail/Release/libemail.a}
    /ti/net/utils/ccs/Release/net_utils.a
    /ti/net/sntp/lib/ccs/m4/sntp_release.a
    /ti/grlib/lib/ccs/m4/grlib.a
    /ti/net/lib/ccs/m4/slnetsock_release.a
    /ti/drivers/net/wifi/ccs/rtos/simplelink.a
    /ti/drivers/lib/ccs/m4/drivers_cc32xx.a
    /ti/drivers/net/wifi/slnetif/ccs/Release/slnetifwifi.a
    libc.a

    i get error:

    Description Resource Path Location Type
    unresolved symbol TimerPrescaleSet, first referenced in C:/ti/simplelink_cc32xx_sdk_5_10_00_02/source//ti/drivers/lib/ccs/m4/drivers_cc32xx.a<TimerCC32XX.oem4> WiFiGateway C/C++ Problem
    unresolved symbol TimerLoadSet, first referenced in C:/ti/simplelink_cc32xx_sdk_5_10_00_02/source//ti/drivers/lib/ccs/m4/drivers_cc32xx.a<TimerCC32XX.oem4> WiFiGateway C/C++ Problem
    unresolved symbol TimerIntEnable, first referenced in C:/ti/simplelink_cc32xx_sdk_5_10_00_02/source//ti/drivers/lib/ccs/m4/drivers_cc32xx.a<CaptureCC32XX.oem4> WiFiGateway C/C++ Problem
    unresolved symbol TimerIntDisable, first referenced in C:/ti/simplelink_cc32xx_sdk_5_10_00_02/source//ti/drivers/lib/ccs/m4/drivers_cc32xx.a<CaptureCC32XX.oem4> WiFiGateway C/C++ Problem
    unresolved symbol TimerIntClear, first referenced in C:/ti/simplelink_cc32xx_sdk_5_10_00_02/source//ti/drivers/lib/ccs/m4/drivers_cc32xx.a<CaptureCC32XX.oem4> WiFiGateway C/C++ Problem
    unresolved symbol TimerEnable, first referenced in C:/ti/simplelink_cc32xx_sdk_5_10_00_02/source//ti/drivers/lib/ccs/m4/drivers_cc32xx.a<CaptureCC32XX.oem4> WiFiGateway C/C++ Problem
    unresolved symbol TimerDisable, first referenced in C:/ti/simplelink_cc32xx_sdk_5_10_00_02/source//ti/drivers/lib/ccs/m4/drivers_cc32xx.a<CaptureCC32XX.oem4> WiFiGateway C/C++ Problem
    unresolved symbol TimerControlStall, first referenced in C:/ti/simplelink_cc32xx_sdk_5_10_00_02/source//ti/drivers/lib/ccs/m4/drivers_cc32xx.a<CaptureCC32XX.oem4> WiFiGateway C/C++ Problem
    unresolved symbol SHAMD5WriteDigestCount, first referenced in C:/ti/simplelink_cc32xx_sdk_5_10_00_02/source//ti/drivers/lib/ccs/m4/drivers_cc32xx.a<CryptoCC32XX.oem4> WiFiGateway C/C++ Problem
    unresolved symbol SHAMD5ResultWrite, first referenced in C:/ti/simplelink_cc32xx_sdk_5_10_00_02/source//ti/drivers/lib/ccs/m4/drivers_cc32xx.a<CryptoCC32XX.oem4> WiFiGateway C/C++ Problem
    unresolved symbol SHAMD5ReadDigestCount, first referenced in C:/ti/simplelink_cc32xx_sdk_5_10_00_02/source//ti/drivers/lib/ccs/m4/drivers_cc32xx.a<CryptoCC32XX.oem4> WiFiGateway C/C++ Problem
    unresolved symbol SHAMD5HMACKeySet, first referenced in C:/ti/simplelink_cc32xx_sdk_5_10_00_02/source//ti/drivers/lib/ccs/m4/drivers_cc32xx.a<CryptoCC32XX.oem4> WiFiGateway C/C++ Problem
    unresolved symbol SHAMD5DataWriteMultiple, first referenced in C:/ti/simplelink_cc32xx_sdk_5_10_00_02/source//ti/drivers/lib/ccs/m4/drivers_cc32xx.a<CryptoCC32XX.oem4> WiFiGateway C/C++ Problem
    unresolved symbol SHAMD5DataLengthSet, first referenced in C:/ti/simplelink_cc32xx_sdk_5_10_00_02/source//ti/drivers/lib/ccs/m4/drivers_cc32xx.a<CryptoCC32XX.oem4> WiFiGateway C/C++ Problem
    unresolved symbol SHAMD5ConfigSet, first referenced in C:/ti/simplelink_cc32xx_sdk_5_10_00_02/source//ti/drivers/lib/ccs/m4/drivers_cc32xx.a<CryptoCC32XX.oem4> WiFiGateway C/C++ Problem
    unresolved symbol SemaphoreP_post, first referenced in ./DriversLib/uart/UARTCC32XXDMA.obj WiFiGateway C/C++ Problem
    unresolved symbol SemaphoreP_pend, first referenced in ./DriversLib/uart/UARTCC32XXDMA.obj WiFiGateway C/C++ Problem
    unresolved symbol SemaphoreP_Params_init, first referenced in ./DriversLib/uart/UARTCC32XXDMA.obj WiFiGateway C/C++ Problem
    unresolved symbol SemaphoreP_destruct, first referenced in C:/ti/simplelink_cc32xx_sdk_5_10_00_02/source//ti/drivers/lib/ccs/m4/drivers_cc32xx.a<TimerCC32XX.oem4> WiFiGateway C/C++ Problem
    unresolved symbol SemaphoreP_delete, first referenced in ./DriversLib/uart/UARTCC32XXDMA.obj WiFiGateway C/C++ Problem
    unresolved symbol SemaphoreP_createBinary, first referenced in C:/ti/simplelink_cc32xx_sdk_5_10_00_02/source//ti/drivers/lib/ccs/m4/drivers_cc32xx.a<GPIOCC32XX.oem4> WiFiGateway C/C++ Problem
    unresolved symbol SemaphoreP_create, first referenced in ./DriversLib/uart/UARTCC32XXDMA.obj WiFiGateway C/C++ Problem
    unresolved symbol SemaphoreP_constructBinary, first referenced in C:/ti/simplelink_cc32xx_sdk_5_10_00_02/source//ti/drivers/lib/ccs/m4/drivers_cc32xx.a<TimerCC32XX.oem4> WiFiGateway C/C++ Problem
    unresolved symbol PowerCC32XX_sleepPolicy, first referenced in ./CC3220SF_LAUNCHXL.obj WiFiGateway C/C++ Problem
    unresolved symbol PowerCC32XX_initPolicy, first referenced in ./CC3220SF_LAUNCHXL.obj WiFiGateway C/C++ Problem
    unresolved symbol MutexP_unlock, first referenced in C:/ti/simplelink_cc32xx_sdk_5_10_00_02/source//ti/net/utils/ccs/Release/net_utils.a<clock_sync.obj> WiFiGateway C/C++ Problem
    unresolved symbol MutexP_lock, first referenced in C:/ti/simplelink_cc32xx_sdk_5_10_00_02/source//ti/net/utils/ccs/Release/net_utils.a<clock_sync.obj> WiFiGateway C/C++ Problem
    unresolved symbol MutexP_create, first referenced in C:/ti/simplelink_cc32xx_sdk_5_10_00_02/source//ti/net/utils/ccs/Release/net_utils.a<clock_sync.obj> WiFiGateway C/C++ Problem
    unresolved symbol HwiP_restore, first referenced in ./DriversLib/uart/UARTCC32XXDMA.obj WiFiGateway C/C++ Problem
    unresolved symbol HwiP_Params_init, first referenced in ./DriversLib/uart/UARTCC32XXDMA.obj WiFiGateway C/C++ Problem
    unresolved symbol HwiP_enableInterrupt, first referenced in C:/ti/simplelink_cc32xx_sdk_5_10_00_02/source//ti/drivers/lib/ccs/m4/drivers_cc32xx.a<SPICC32XXDMA.oem4> WiFiGateway C/C++ Problem
    unresolved symbol HwiP_disableInterrupt, first referenced in C:/ti/simplelink_cc32xx_sdk_5_10_00_02/source//ti/drivers/lib/ccs/m4/drivers_cc32xx.a<SPICC32XXDMA.oem4> WiFiGateway C/C++ Problem
    unresolved symbol HwiP_disable, first referenced in ./DriversLib/uart/UARTCC32XXDMA.obj WiFiGateway C/C++ Problem
    unresolved symbol HwiP_delete, first referenced in ./DriversLib/uart/UARTCC32XXDMA.obj WiFiGateway C/C++ Problem
    unresolved symbol HwiP_create, first referenced in ./DriversLib/uart/UARTCC32XXDMA.obj WiFiGateway C/C++ Problem
    unresolved symbol HwiP_clearInterrupt, first referenced in ./DriversLib/uart/UARTCC32XXDMA.obj WiFiGateway C/C++ Problem
    unresolved symbol ClockP_stop, first referenced in ./DriversLib/uart/UARTCC32XXDMA.obj WiFiGateway C/C++ Problem
    unresolved symbol ClockP_start, first referenced in ./DriversLib/uart/UARTCC32XXDMA.obj WiFiGateway C/C++ Problem
    unresolved symbol ClockP_setTimeout, first referenced in ./DriversLib/uart/UARTCC32XXDMA.obj WiFiGateway C/C++ Problem
    unresolved symbol ClockP_Params_init, first referenced in ./DriversLib/uart/UARTCC32XXDMA.obj WiFiGateway C/C++ Problem
    unresolved symbol ClockP_getSystemTicks, first referenced in C:/ti/simplelink_cc32xx_sdk_5_10_00_02/source//ti/drivers/net/wifi/ccs/rtos/simplelink.a<cc_pal.obj> WiFiGateway C/C++ Problem
    unresolved symbol ClockP_getSystemTickPeriod, first referenced in ./DriversLib/uart/UARTCC32XXDMA.obj WiFiGateway C/C++ Problem
    unresolved symbol ClockP_getCpuFreq, first referenced in ./DriversLib/uart/UARTCC32XXDMA.obj WiFiGateway C/C++ Problem
    unresolved symbol ClockP_delete, first referenced in ./DriversLib/uart/UARTCC32XXDMA.obj WiFiGateway C/C++ Problem
    unresolved symbol ClockP_create, first referenced in ./DriversLib/uart/UARTCC32XXDMA.obj WiFiGateway C/C++ Problem

    advice

  • Hi Asaf,

    Your libraries may not be in the correct order for linking. Go to project properties -> Build -> Arm Linker -> File Search Path and check "Reread libraries" at the bottom.

    Also, if you are using an RTOS, is the kernel project referenced correctly? Go to properties -> Build -> Dependencies tab and add the kernel project in your workspace.

    Best regards,

    Sarah