LwIP Will Not Compile SDK 2.8.2 / MCUXpresso 11.2

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

LwIP Will Not Compile SDK 2.8.2 / MCUXpresso 11.2

跳至解决方案
1,785 次查看
LPChicago
Contributor I

SDK 2.8.2

MCUXpresso IDE v11.2.0 [Build 4120]

New Project, added SDK and the LwIP Middleware.  Project will not compile because of missing references:

../lwip/port/enet_ethernetif.c:76:5: error: unknown type name 'phy_config_t'; did you mean 'pll_config_t'?
76 | phy_config_t phyConfig;
| ^~~~~~~~~~~~

Am I missing something to get this to build?

标签 (1)
0 项奖励
回复
1 解答
1,702 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi LPChicago

Unfortunately the SDK doesn't support DP83848I PHY, user needs to develop it by self.

Have a nice day,

Jun Zhang

在原帖中查看解决方案

0 项奖励
回复
7 回复数
1,733 次查看
LPChicago
Contributor I

Thanks, Jun.

This is a custom board using the dp83848i PHY from TI.  Since this is a pretty common PHY is there a resource where I can get an implementation of the PHY drivers?

0 项奖励
回复
1,739 次查看
LPChicago
Contributor I

Thank you, Jun.

This is a custom board.  The Board Components tab is empty in my SDK.  Will I need to find a phy layer implementation for the part or will I have to write one myself? 

0 项奖励
回复
1,775 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

Please let me know your specific part number? I will test it on my side.

Hi LPChicago

BTW, I can't  download your png file.

Thanks,

Jun Zhang

0 项奖励
回复
1,770 次查看
LPChicago
Contributor I

Thank you, Jun.

Here's my chip:

Chip: LPC54606J512

Core: core0_LPC54606J512

Package: LPC54606J512BD208

0 项奖励
回复
1,752 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

The error means you didn't add phy files to your project, please add them from SDK component. for example:

ZhangJennie_0-1599554961437.png

 

Best Regards

Jun Zhang

 

0 项奖励
回复
1,708 次查看
LPChicago
Contributor I

Thank you, Jun.

This is a custom board using a DP83848I PHY.  Since this is a pretty common PHY is there a driver for it that I can use with the SDK 2.8.2 stack?  I notice this PHY use to be supported in past libraries. 

0 项奖励
回复
1,703 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi LPChicago

Unfortunately the SDK doesn't support DP83848I PHY, user needs to develop it by self.

Have a nice day,

Jun Zhang

0 项奖励
回复