LWIP will not compile with FreeRTOS

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

LWIP will not compile with FreeRTOS

ソリューションへジャンプ
2,656件の閲覧回数
MattJCole
Contributor V

I am Using S32 Design Studio for Power Architecture Version 2.1 with the MPC5748G_178 processor.

When I have the FreeRTOS and TCPIP module in the project and try to call the tcpip_init function I get the following compiler errors

Description Resource Path Location Type
undefined reference to `pvTaskGetThreadLocalStoragePointer' api_lib.c /LwipWork_Z4_0/SDK/middleware/tcpip/lwip/src/api line 1348 C/C++ Problem
undefined reference to `pvTaskGetThreadLocalStoragePointer' api_lib.c /LwipWork_Z4_0/SDK/middleware/tcpip/lwip/src/api line 1352 C/C++ Problem
undefined reference to `pvTaskGetThreadLocalStoragePointer' api_lib.c /LwipWork_Z4_0/SDK/middleware/tcpip/lwip/src/api line 1359 C/C++ Problem
undefined reference to `pvTaskGetThreadLocalStoragePointer' api_lib.c /LwipWork_Z4_0/SDK/middleware/tcpip/lwip/src/api line 1362 C/C++ Problem
undefined reference to `vTaskSetThreadLocalStoragePointer' api_lib.c /LwipWork_Z4_0/SDK/middleware/tcpip/lwip/src/api line 1351 C/C++ Problem
undefined reference to `vTaskSetThreadLocalStoragePointer' api_lib.c /LwipWork_Z4_0/SDK/middleware/tcpip/lwip/src/api line 1362 C/C++ Problem

タグ(1)
0 件の賞賛
返信
1 解決策
2,650件の閲覧回数
MattJCole
Contributor V

Found the problem the FreeRTOS defaults to the wrong number of "Thread Local storage Pointers". By default it is set to 0. When set to 0 those function are not defined

errorFound.png

元の投稿で解決策を見る

1 返信
2,651件の閲覧回数
MattJCole
Contributor V

Found the problem the FreeRTOS defaults to the wrong number of "Thread Local storage Pointers". By default it is set to 0. When set to 0 those function are not defined

errorFound.png