Porting lwIP to ERIKA

Forum related to ERIKA Enterprise and RT-Druid version 2

Moderator: paolo.gai

Post Reply
joa1101
Newbie
Posts: 3
Joined: Wed Jul 05, 2017 10:40 am

Porting lwIP to ERIKA

Post by joa1101 » Wed Jul 05, 2017 12:51 pm

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: 864
Joined: Thu Dec 07, 2006 12:11 pm

Re: Porting lwIP to ERIKA

Post by paolo.gai » Wed Jul 05, 2017 3:41 pm

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
Newbie
Posts: 3
Joined: Wed Jul 05, 2017 10:40 am

Re: Porting lwIP to ERIKA

Post by joa1101 » Wed Jul 05, 2017 7:03 pm

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: 864
Joined: Thu Dec 07, 2006 12:11 pm

Re: Porting lwIP to ERIKA

Post by paolo.gai » Thu Jul 06, 2017 8:16 am

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
Newbie
Posts: 3
Joined: Wed Jul 05, 2017 10:40 am

Re: Porting lwIP to ERIKA

Post by joa1101 » Thu Jul 06, 2017 11:34 am

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

Cheers.
Josip

Post Reply