LwIP Will Not Compile SDK 2.8.2 / MCUXpresso 11.2

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LwIP Will Not Compile SDK 2.8.2 / MCUXpresso 11.2

Jump to solution
1,427 Views
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?

Labels (1)
0 Kudos
1 Solution
1,344 Views
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

View solution in original post

0 Kudos
7 Replies
1,375 Views
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 Kudos
1,381 Views
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 Kudos
1,417 Views
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 Kudos
1,412 Views
LPChicago
Contributor I

Thank you, Jun.

Here's my chip:

Chip: LPC54606J512

Core: core0_LPC54606J512

Package: LPC54606J512BD208

0 Kudos
1,394 Views
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 Kudos
1,350 Views
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 Kudos
1,345 Views
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 Kudos