How to use lwIP in lpc17xx without RTOS and with custom board

Showing results for 
Search instead for 
Did you mean: 

How to use lwIP in lpc17xx without RTOS and with custom board

Contributor I


I'm trying to implement lwIP on a lpc17xx chip without RTOS and with a custom board, so without linking LPC board library. I watched LPCOpen examples, but board.h is always linked in the project. Is there any way to implement it? Going more in detail, I can't understand how to initialize Network Interface without linking board and lpc_phy (that, in its turn, refers to board.h). 

I'm new in this kind of project, so please forgive me if it's an obvious question. 

Thanks in advance for any suggestion, best regards. 

Marco Milani

Labels (3)
Tags (2)
0 Kudos
1 Reply

NXP TechSupport
NXP TechSupport


I will suggest to use the lwip_tcpecho_sa, this has an example that don't use the freertos.

Also the I think you could take the functions need it for the initialization like the debug console ones and the related to the Ethernet feature from the board.h and I think all the functions refers to the chip library at some point.

Also, if you're using a different PHY you could try modifying the board files to match the commands need it fro your PHY. I think that will be easier than do it from 0.

Unfortunately, there isn't an easier way to do this.

Best Regards,

Alexis Andalon