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:drivers_cc32xx.aem4中的未解析符号

Guru**** 1139930 points
Other Parts Discussed in Thread: CC3235SF
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/wireless-connectivity/wi-fi-group/wifi/f/wi-fi-forum/1135581/cc3235sf-unresolved-symbol-in-drivers_cc32xx-aem4

器件型号:CC3235SF

您好!

我正在尝试为定制板上的 cc3235sf 器件编译工程、但我得到未解析的符号错误:

 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 

drivers_cc32xx.aem4、driverlib.a 和 simplelink.a 被添加到 ARM 连接器菜单中的"文件搜索路径"中。   

是否有任何关于如何解决此问题的建议?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、Nick、

    您是否已从新项目开始或以 CC32xx SDK 中的示例项目为基础? 我建议从 SDK 中复制示例工程、以便您可以快速解决这些类型的问题。  

    如果无法实现、请无论如何参考这些工程的编译和导入设置、以查找可能缺少的内容。  

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!

    您是否安装了该项目所需的确切 SDK 版本?

    1月

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!  

    我在.cmd 文件中实现了正确的代码、这是我从较旧的工作项目中复制的、这进一步提高了我的工作能力。  

    这导致了复位 ISR 错误、通过将文件"startup_c32xx_ccs.c"链接到项目解决了这个问题。   

    在此之后、我收到以下错误消息:  

    >> 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     

    对于该项目、我使用了 AWS FreeRTOS Github 页面中的克隆模块:  https://github.com/aws/amazon-freertos

    这使用 Simplelink V2.10.00.04 SDK 框架版本。   

    我启动 了一个新项目、因为我们在定制板上使用 CC3235SF、演示版本使用 launchpadXL 的 CC3230

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!

    我不确定您到底做了什么、您无法编译代码。 但我认为最好在 FreeRTOS 论坛上提问。

    CC32xx SDK 版本2.10不支持 CC3235或 CC3230器件。

    1月