Page 1 of 1

Porting lwIP to ERIKA

Posted: Wed Jul 05, 2017 12:51 pm
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

Re: Porting lwIP to ERIKA

Posted: Wed Jul 05, 2017 3:41 pm
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

Re: Porting lwIP to ERIKA

Posted: Wed Jul 05, 2017 7:03 pm
by joa1101
The porting should be done for Aurix Tricore TC29x platform, I forgot to mention that. Does it differ from porting to MICO32?

Re: Porting lwIP to ERIKA

Posted: Thu Jul 06, 2017 8:16 am
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

Re: Porting lwIP to ERIKA

Posted: Thu Jul 06, 2017 11:34 am
by joa1101
If I manage to port it, I will post the solution of course :)

Cheers.
Josip