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.

Problem sys_arch Using lwIP 1.3.2 for RM48HDK with SafeRTOS

Other Parts Discussed in Thread: HALCOGEN

Hi~, I'm using LwIP in to  ask questions about any problems that have occurred.

Icludes the following topics:

1. Environment

RM48HDK

CCS 5.3.0

HALCoGen 03.05

SafeRTOS

2. Description

I got HALCoGen_EMAC_Driver_and_lwIP_Demonstration-000100.exe(HALCoGen+LwIP Demo for RM48) from website.

<Install Folder>

           ├──build-rm48                                                  CCSv5 Project for RM48xxx

           ├──build-tms570                                             CCSv5 Project for TMS570

           ├──docs                                                             Documents

           ├──example                                                      lwIP Example root

           │      └──hdk                                                      HDK Port of lwIP example

           ├──halcogen-rm48                                         Root folder for HALCoGen generated files for RM48

           ├──halcogen-tms570                                     Root folder for HALCoGen generated files for TMS570

           └──lwip-1.3.2                                                   Root folder of lwIP files

                   ├──apps                                                   Applications root folder

                   │       └──httpserver_raw_io                  HTTP Server Application root

                   │               └──fs                                        File System for HTTP Server

                  ├──doc                                                       lwIP Docs folder

                  ├──ports                                                    lwIP Port root

                  │      └──hdk                                              lwIP Port to HDK

                  └──src                                                        lwIP Source folder  

LwIP in this demo is standalone system and is set to DHCP. DHCP is running successfully. And then, I have changed NO_SYS(lwipopts.h) to 0 for using lwip under SafeRTOS on RM48HDK. As a result, the following error has occured.

undefined symbol                    in file

    ---------                             ----------------                                       

sys_arch_mbox_fetch    ./lwip-1.3.2/ports/hdk/lwiplib.obj  

sys_arch_mbox_tryfetch ./lwip-1.3.2/ports/hdk/lwiplib.obj  

sys_arch_sem_wait      ./lwip-1.3.2/ports/hdk/lwiplib.obj  

sys_arch_timeouts      ./lwip-1.3.2/ports/hdk/lwiplib.obj  

sys_init               ./lwip-1.3.2/ports/hdk/lwiplib.obj  

sys_mbox_free          ./lwip-1.3.2/ports/hdk/lwiplib.obj  

sys_mbox_new           ./lwip-1.3.2/ports/hdk/lwiplib.obj  

sys_mbox_post          ./lwip-1.3.2/ports/hdk/lwiplib.obj  

sys_mbox_trypost       ./lwip-1.3.2/ports/hdk/lwiplib.obj  

sys_sem_free           ./lwip-1.3.2/ports/hdk/lwiplib.obj  

sys_sem_new            ./lwip-1.3.2/ports/hdk/lwiplib.obj  

sys_sem_signal         ./lwip-1.3.2/ports/hdk/lwiplib.obj  

sys_thread_new         ./lwip-1.3.2/ports/hdk/lwiplib.obj

error #10234-D: unresolved symbols remain

error #10010: errors encountered during linking

----------------------------------------------------------------------------------

These functions are only declared(lwip-1.3.2\src\include\lwip\sys.h) and not the source code(lwip-1.3.2\ports\hdk\sys_arch.c).

What is the way to solve this problem?

Can I get the necessary new sys_arch files?

Please help me~

Thanks.