LwIP Will Not Compile SDK 2.8.2 / MCUXpresso 11.2

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

LwIP Will Not Compile SDK 2.8.2 / MCUXpresso 11.2

ソリューションへジャンプ
1,784件の閲覧回数
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,701件の閲覧回数
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,732件の閲覧回数
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,738件の閲覧回数
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,774件の閲覧回数
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,769件の閲覧回数
LPChicago
Contributor I

Thank you, Jun.

Here's my chip:

Chip: LPC54606J512

Core: core0_LPC54606J512

Package: LPC54606J512BD208

0 件の賞賛
返信
1,751件の閲覧回数
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,707件の閲覧回数
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,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 件の賞賛
返信