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.

CC3235SF: Unresolved symbol in drivers_cc32xx.aem4

Part Number: CC3235SF

Hi,

I'm trying to compile a project for a cc3235sf device on a custom board, but i get the unresolved symbols error:

 undefined                  first referenced                                                                                                                                                             
  symbol                        in file                                                                                                                                                                  
 ---------                  ----------------                                                                                                                                                             
 ClockP_Params_init         /Users/NMeyne/Documents/Github/andon.misc.smartbox-v2/amazon-freertos/vendors/ti/SimpleLink_CC32xx/v2_10_00_04/source/ti/drivers/lib/drivers_cc32xx.aem4<UARTCC32XX.oem4>    
 ClockP_create              /Users/NMeyne/Documents/Github/andon.misc.smartbox-v2/amazon-freertos/vendors/ti/SimpleLink_CC32xx/v2_10_00_04/source/ti/drivers/lib/drivers_cc32xx.aem4<UARTCC32XX.oem4>    
 ClockP_delete              /Users/NMeyne/Documents/Github/andon.misc.smartbox-v2/amazon-freertos/vendors/ti/SimpleLink_CC32xx/v2_10_00_04/source/ti/drivers/lib/drivers_cc32xx.aem4<UARTCC32XX.oem4>    
 ClockP_getCpuFreq          /Users/NMeyne/Documents/Github/andon.misc.smartbox-v2/amazon-freertos/vendors/ti/SimpleLink_CC32xx/v2_10_00_04/source/ti/drivers/lib/drivers_cc32xx.aem4<CaptureCC32XX.oem4> 
 ClockP_getSystemTicks      /Users/NMeyne/Documents/Github/andon.misc.smartbox-v2/amazon-freertos/vendors/ti/SimpleLink_CC32xx/v2_10_00_04/source/ti/drivers/net/wifi/ccs/rtos/simplelink.a<cc_pal.obj>  
 ClockP_setTimeout          /Users/NMeyne/Documents/Github/andon.misc.smartbox-v2/amazon-freertos/vendors/ti/SimpleLink_CC32xx/v2_10_00_04/source/ti/drivers/lib/drivers_cc32xx.aem4<UARTCC32XX.oem4>    
 ClockP_start               /Users/NMeyne/Documents/Github/andon.misc.smartbox-v2/amazon-freertos/vendors/ti/SimpleLink_CC32xx/v2_10_00_04/source/ti/drivers/lib/drivers_cc32xx.aem4<UARTCC32XX.oem4>    
 ClockP_stop                /Users/NMeyne/Documents/Github/andon.misc.smartbox-v2/amazon-freertos/vendors/ti/SimpleLink_CC32xx/v2_10_00_04/source/ti/drivers/lib/drivers_cc32xx.aem4<UARTCC32XX.oem4>    
 HwiP_Params_init           /Users/NMeyne/Documents/Github/andon.misc.smartbox-v2/amazon-freertos/vendors/ti/SimpleLink_CC32xx/v2_10_00_04/source/ti/drivers/lib/drivers_cc32xx.aem4<CaptureCC32XX.oem4> 
 HwiP_clearInterrupt        /Users/NMeyne/Documents/Github/andon.misc.smartbox-v2/amazon-freertos/vendors/ti/SimpleLink_CC32xx/v2_10_00_04/source/ti/drivers/lib/drivers_cc32xx.aem4<I2CCC32XX.oem4>     
 HwiP_create                /Users/NMeyne/Documents/Github/andon.misc.smartbox-v2/amazon-freertos/vendors/ti/SimpleLink_CC32xx/v2_10_00_04/source/ti/drivers/lib/drivers_cc32xx.aem4<CaptureCC32XX.oem4> 
 HwiP_delete                /Users/NMeyne/Documents/Github/andon.misc.smartbox-v2/amazon-freertos/vendors/ti/SimpleLink_CC32xx/v2_10_00_04/source/ti/drivers/lib/drivers_cc32xx.aem4<CaptureCC32XX.oem4> 
 HwiP_disable               /Users/NMeyne/Documents/Github/andon.misc.smartbox-v2/amazon-freertos/vendors/ti/SimpleLink_CC32xx/v2_10_00_04/source/ti/drivers/lib/drivers_cc32xx.aem4<ADCCC32XX.oem4>     
 HwiP_disableInterrupt      /Users/NMeyne/Documents/Github/andon.misc.smartbox-v2/amazon-freertos/vendors/ti/SimpleLink_CC32xx/v2_10_00_04/source/ti/drivers/lib/drivers_cc32xx.aem4<I2CCC32XX.oem4>     
 HwiP_enableInterrupt       /Users/NMeyne/Documents/Github/andon.misc.smartbox-v2/amazon-freertos/vendors/ti/SimpleLink_CC32xx/v2_10_00_04/source/ti/drivers/lib/drivers_cc32xx.aem4<I2CCC32XX.oem4>     
 HwiP_restore               /Users/NMeyne/Documents/Github/andon.misc.smartbox-v2/amazon-freertos/vendors/ti/SimpleLink_CC32xx/v2_10_00_04/source/ti/drivers/lib/drivers_cc32xx.aem4<ADCCC32XX.oem4>     
 MutexP_Params_init         /Users/NMeyne/Documents/Github/andon.misc.smartbox-v2/amazon-freertos/vendors/ti/SimpleLink_CC32xx/v2_10_00_04/source/ti/drivers/net/wifi/ccs/rtos/simplelink.a<cc_pal.obj>  
 MutexP_create              /Users/NMeyne/Documents/Github/andon.misc.smartbox-v2/amazon-freertos/vendors/ti/SimpleLink_CC32xx/v2_10_00_04/source/ti/drivers/net/wifi/ccs/rtos/simplelink.a<cc_pal.obj>  
 MutexP_delete              /Users/NMeyne/Documents/Github/andon.misc.smartbox-v2/amazon-freertos/vendors/ti/SimpleLink_CC32xx/v2_10_00_04/source/ti/drivers/net/wifi/ccs/rtos/simplelink.a<cc_pal.obj>  
 MutexP_lock                /Users/NMeyne/Documents/Github/andon.misc.smartbox-v2/amazon-freertos/vendors/ti/SimpleLink_CC32xx/v2_10_00_04/source/ti/drivers/net/wifi/ccs/rtos/simplelink.a<cc_pal.obj>  
 MutexP_unlock              /Users/NMeyne/Documents/Github/andon.misc.smartbox-v2/amazon-freertos/vendors/ti/SimpleLink_CC32xx/v2_10_00_04/source/ti/drivers/net/wifi/ccs/rtos/simplelink.a<cc_pal.obj>  
 PowerCC32XX_initPolicy     ./ti_code/CC3235SF_LAUNCHXL.obj                                                                                                                                              
 PowerCC32XX_sleepPolicy    ./ti_code/CC3235SF_LAUNCHXL.obj                                                                                                                                              
 SYSTEM_Init                ./main.obj                                                                                                                                                                   
 SemaphoreP_Params_init     /Users/NMeyne/Documents/Github/andon.misc.smartbox-v2/amazon-freertos/vendors/ti/SimpleLink_CC32xx/v2_10_00_04/source/ti/drivers/lib/drivers_cc32xx.aem4<I2CCC32XX.oem4>     
 SemaphoreP_create          /Users/NMeyne/Documents/Github/andon.misc.smartbox-v2/amazon-freertos/vendors/ti/SimpleLink_CC32xx/v2_10_00_04/source/ti/drivers/lib/drivers_cc32xx.aem4<I2CCC32XX.oem4>     
 SemaphoreP_createBinary    /Users/NMeyne/Documents/Github/andon.misc.smartbox-v2/amazon-freertos/vendors/ti/SimpleLink_CC32xx/v2_10_00_04/source/ti/drivers/lib/drivers_cc32xx.aem4<GPIOCC32XX.oem4>    
 SemaphoreP_delete          /Users/NMeyne/Documents/Github/andon.misc.smartbox-v2/amazon-freertos/vendors/ti/SimpleLink_CC32xx/v2_10_00_04/source/ti/drivers/lib/drivers_cc32xx.aem4<GPIOCC32XX.oem4>    
 SemaphoreP_pend            /Users/NMeyne/Documents/Github/andon.misc.smartbox-v2/amazon-freertos/vendors/ti/SimpleLink_CC32xx/v2_10_00_04/source/ti/drivers/lib/drivers_cc32xx.aem4<GPIOCC32XX.oem4>    
 SemaphoreP_post            /Users/NMeyne/Documents/Github/andon.misc.smartbox-v2/amazon-freertos/vendors/ti/SimpleLink_CC32xx/v2_10_00_04/source/ti/drivers/lib/drivers_cc32xx.aem4<GPIOCC32XX.oem4>    
 SimpleLinkSockEventHandler /Users/NMeyne/Documents/Github/andon.misc.smartbox-v2/amazon-freertos/vendors/ti/SimpleLink_CC32xx/v2_10_00_04/source/ti/drivers/net/wifi/ccs/rtos/simplelink.a<eventreg.obj>
 WIFI_Off                   ./main.obj                                                                                                                                                                   
 WIFI_On                    ./main.obj                                                                                                                                                                   
 pvPortMalloc               ./ti_code/uart_term.obj                                                                                                                                                      
 sleep                      ./ti_code/network_if.obj                                                                                                                                                     
 usleep                     ./ti_code/network_if.obj                                                                                                                                                     
 vDevModeKeyProvisioning    ./main.obj                                                                                                                                                                   
 vLoggingPrintf             ./main.obj                                                                                                                                                                   
 vPortFree                  ./ti_code/uart_term.obj                                                                                                                                                      
 vTaskDelay                 ./main.obj                                                                                                                                                                   
 vTaskStartScheduler        ./main.obj                                                                                                                                                                   
 xInitializePkcs11Session   ./main.obj                                                                                                                                                                   
 xLoggingTaskInitialize     ./main.obj                                                                                                                                                                   
 xProvisionCertificate      ./main.obj 

The drivers_cc32xx.aem4, driverlib.a and the simplelink.a are added to the "file search path" in the ARM linker menu.  

Any suggestions how to resolve this issue?

  • Hi Nick,

    Have you started from a new project or used an example project from the CC32xx SDK as a base? I would suggest copying an example project from the SDK so that you can resolve these types of issues quickly. 

    If unable, refer to the build and import settings of those projects anyways to find what you may be missing. 

  • Hi,

    Do you have installed exact SDK version which is expected by that project?

    Jan

  • Hi, 

    I got a step further by implementing the correct code in the .cmd file which I copied from an older working project. 

    This gave me the resetISR error, this was solved by linking the file "startup_c32xx_ccs.c" to the project.  

    After this I get the following error messages: 

    >> Compilation failure
    makefile:159: recipe for target 'Smartbox_V2.out' failed
     undefined                     first referenced                                                                                                                                                             
      symbol                           in file                                                                                                                                                                  
     ---------                     ----------------                                                                                                                                                             
     SYSTEM_Init                   ./main.obj                                                                                                                                                                   
     SimpleLinkSockEventHandler    /Users/NMeyne/Documents/Github/andon.misc.smartbox-v2/amazon-freertos/vendors/ti/SimpleLink_CC32xx/v2_10_00_04/source/ti/drivers/net/wifi/ccs/rtos/simplelink.a<eventreg.obj>
     WIFI_Off                      ./main.obj                                                                                                                                                                   
     WIFI_On                       ./main.obj                                                                                                                                                                   
     eTaskConfirmSleepModeStatus   ./freertos/dpl/PowerCC32XX_freertos.obj                                                                                                                                      
     pvPortMalloc                  ./freertos/dpl/ClockP_freertos.obj                                                                                                                                           
     pvTimerGetTimerID             ./freertos/dpl/ClockP_freertos.obj                                                                                                                                           
     sleep                         ./ti_code/network_if.obj                                                                                                                                                     
     usleep                        ./ti_code/network_if.obj                                                                                                                                                     
     vAssertCalled                 ./freertos/dpl/ClockP_freertos.obj                                                                                                                                           
     vDevModeKeyProvisioning       ./main.obj                                                                                                                                                                   
     vLoggingPrintf                ./main.obj                                                                                                                                                                   
     vPortEnterCritical            ./freertos/dpl/HwiPCC32XX_freertos.obj                                                                                                                                       
     vPortExitCritical             ./freertos/dpl/HwiPCC32XX_freertos.obj                                                                                                                                       
     vPortFree                     ./freertos/dpl/ClockP_freertos.obj                                                                                                                                           
     vPortSVCHandler               ./freertos/startup/startup_cc32xx_ccs.obj                                                                                                                                    
     vQueueDelete                  ./freertos/dpl/MutexP_freertos.obj                                                                                                                                           
     vTaskDelay                    ./main.obj                                                                                                                                                                   
     vTaskStartScheduler           ./main.obj                                                                                                                                                                   
     vTaskStepTick                 ./freertos/dpl/PowerCC32XX_freertos.obj                                                                                                                                      
     xInitializePkcs11Session      ./main.obj                                                                                                                                                                   
     xLoggingTaskInitialize        ./main.obj                                                                                                                                                                   
     xPortPendSVHandler            ./freertos/startup/startup_cc32xx_ccs.obj                                                                                                                                    
     xPortSysTickHandler           ./freertos/startup/startup_cc32xx_ccs.obj                                                                                                                                    
     xProvisionCertificate         ./main.obj                                                                                                                                                                   
     xQueueCreateCountingSemaphore ./freertos/dpl/SemaphoreP_freertos.obj                                                                                                                                       
     xQueueCreateMutex             ./freertos/dpl/MutexP_freertos.obj                                                                                                                                           
     xQueueGenericCreate           ./freertos/dpl/SemaphoreP_freertos.obj                                                                                                                                       
     xQueueGenericSend             ./freertos/dpl/SemaphoreP_freertos.obj                                                                                                                                       
     xQueueGiveFromISR             ./freertos/dpl/SemaphoreP_freertos.obj                                                                                                                                       
     xQueueGiveMutexRecursive      ./freertos/dpl/MutexP_freertos.obj                                                                                                                                           
     xQueueSemaphoreTake           ./freertos/dpl/SemaphoreP_freertos.obj                                                                                                                                       
     xQueueTakeMutexRecursive      ./freertos/dpl/MutexP_freertos.obj                                                                                                                                           
     xTaskGetTickCount             ./freertos/dpl/ClockP_freertos.obj                                                                                                                                           
     xTaskGetTickCountFromISR      ./freertos/dpl/ClockP_freertos.obj                                                                                                                                           
     xTimerCreate                  ./freertos/dpl/ClockP_freertos.obj                                                                                                                                           
     xTimerGenericCommand          ./freertos/dpl/ClockP_freertos.obj                                                                                                                                           
     xTimerGetExpiryTime           ./freertos/dpl/ClockP_freertos.obj                                                                                                                                           
     xTimerIsTimerActive           ./freertos/dpl/ClockP_freertos.obj     

    For the project I used the cloned module from the AWS freertos Github page:  https://github.com/aws/amazon-freertos

    This uses the Simplelink V2.10.00.04 SDK framework version.  

    I started a new project, since we use the CC3235SF on a custom board, and the demo version is using the CC3230 from the launchpadXL

  • Hi,

    I am not sure what exactly you have done, and you you are not able compile code. But I think better will be ask at FreeRTOS forum.

    CC32xx SDK version 2.10 does not support CC3235 or CC3230 devices.

    Jan