Porting lwIP to ERIKA

Forum related to ERIKA Enterprise and RT-Druid version 2

Moderator: paolo.gai

Locked
joa1101

Porting lwIP to ERIKA

Post by joa1101 »

Hello

I have issues while porting lwIP (lightweight IP) into ERIKA enterprise RTOS.
lwIP stack requires semaphore and mailbox implementations written into sys_arch.c file. For other operating systems like freeRTOS there are plenty of solutions avaliable on web, but has anyone made sys_arch.c file for ERIKA enterprise RTOS?
Do you have any hints on writing those architecture specific functions?

Best regards,
Josip
paolo.gai
Administrator
Posts: 877
Joined: Thu Dec 07, 2006 12:11 pm

Re: Porting lwIP to ERIKA

Post by paolo.gai »

The MICO32 port http://erika.tuxfamily.org/wiki/index.p ... ice_Mico32
and if i'm not wrong the PIC32 ports have support for LWIP.

The MICO32 has also a demo including LWIP:
https://svn.tuxfamily.org/viewvc.cgi/er ... rver_demo/

For which architecture are you going to do the porting?

Ciao,

PJ
joa1101

Re: Porting lwIP to ERIKA

Post by joa1101 »

The porting should be done for Aurix Tricore TC29x platform, I forgot to mention that. Does it differ from porting to MICO32?
paolo.gai
Administrator
Posts: 877
Joined: Thu Dec 07, 2006 12:11 pm

Re: Porting lwIP to ERIKA

Post by paolo.gai »

I expect the Ethernet driver will be different. but the general way of integrating the code should be similar.

Are you going to share the results afterwards?

Ciao,

PJ
joa1101

Re: Porting lwIP to ERIKA

Post by joa1101 »

If I manage to port it, I will post the solution of course :)

Cheers.
Josip
Locked