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.

Compiler/CC3100: Not able to compile wlanap example code with multi threaded support

Part Number: CC3100
Other Parts Discussed in Thread: MSP430F5529,

Tool/software: TI C/C++ Compiler

Hi,

I am using IAR workbench as IDE

SDK : CC3100SDK 1.0.1

Application: WLAN AP

Haardware: MSP430f5529 and CC3100BOOST PACK

I have enabled the the below MACRs in user.h file

  • SL_PLATFORM_MULTI_THREADED
  • SL_MEMORY_MGMT_DYNAMIC

When I try to compile the same, I get below compilation error,

Updating build tree...

Linking

Warning[w57]: The file C:\TI\CC3100SDK_1.1.0\cc3100-sdk\platform\msp430f5529lp\example_project_iar\

getting_started_wih_wlan_ap\Debug\Obj\portext.r43 is empty and will be ignored.

Error[e46]: Undefined external "vPortYield" referred in osi_freertos ( C:\TI\CC3100SDK_1.1.0\cc3100-sdk\

platform\msp430f5529lp\example_project_iar\getting_started_wih_wlan_ap\Debug\Obj\osi_freertos.r43 )

Error[e46]: Undefined external "vPortPreemptiveTickISR" referred in port ( C:\TI\CC3100SDK_1.1.0\cc3100-sdk\

platform\msp430f5529lp\example_project_iar\getting_started_wih_wlan_ap\Debug\Obj\port.r43 )

Error[e46]: Undefined external "_disable_interrupt" referred in queue ( C:\TI\CC3100SDK_1.1.0\cc3100-sdk\

platform\msp430f5529lp\example_project_iar\getting_started_wih_wlan_ap\Debug\Obj\queue.r43 )

Error[e46]: Undefined external "_nop" referred in queue ( C:\TI\CC3100SDK_1.1.0\cc3100-sdk\platform\

msp430f5529lp\example_project_iar\getting_started_wih_wlan_ap\Debug\Obj\queue.r43 )

Error[e46]: Undefined external "_enable_interrupt" referred in queue ( C:\TI\CC3100SDK_1.1.0\cc3100-sdk\

platform\msp430f5529lp\example_project_iar\getting_started_wih_wlan_ap\Debug\Obj\queue.r43 )

Error[e46]: Undefined external "pvPortMalloc" referred in queue ( C:\TI\CC3100SDK_1.1.0\cc3100-sdk\platform\

msp430f5529lp\example_project_iar\getting_started_wih_wlan_ap\Debug\Obj\queue.r43 )

Error[e46]: Undefined external "vPortFree" referred in queue ( C:\TI\CC3100SDK_1.1.0\cc3100-sdk\platform\

msp430f5529lp\example_project_iar\getting_started_wih_wlan_ap\Debug\Obj\queue.r43 )

Error while running Linker

Total number of errors: 7

Total number of warnings: 1

I think for the I need to include portext.asm but when I include that I get error of "bad instruction"

Can anyone help me solve this issue? Is WLANAP application tested with multi threaded mode which uses osi_freeRTOS layer?

Thanks,

Drashti