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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

566 次查看
software3
Contributor I

Hi, 

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

标签 (3)
标记 (2)
0 项奖励
1 回复

462 次查看
Alexis_A
NXP TechSupport
NXP TechSupport

Hi software@newcelio.com‌,

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