JN5189 Error when compiling JN-AN-1243 by MCUXpresso IDE

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

JN5189 Error when compiling JN-AN-1243 by MCUXpresso IDE

ソリューションへジャンプ
2,106件の閲覧回数
wxhntmy
Contributor I

When using MCUXpresso IDE to compile JN5189's JN-AN-1243 application note,

“PWR.c:(.text.vHandleSleepModes+0xe): undefined reference to `BOARD_CpuClockUpdate32MhzFro”

error will be reported. My MCUXpresso IDE version is v11.4.0_6237.The SDK version is JN5189DK6 2.6.4.

 

 

1629940900(1).png

 

 

 

 

 



I found that there is no BOARD_CpuClockUpdate32MhzFro function in Common/Source/board/board_utility.c, which caused this undefined reference error. But MCUXpresso IDE using v11.2.1_4149 version does not have this error.
This function is defined in the SDK Demo in Common/Source/board/board_utility.c.

 

1629942686(1).png

 

 

 

 

 

 

 

 

 

 

In SDK 2.6.1 version, PWR.c does not call BOARD_CpuClockUpdate32MhzFro() function.

 

 

1629942506(1).png

 

 

 

 

 

 

 

 

 

 

 

My current solution is to copy the BOARD_CpuClockUpdate32MhzFro() function from Common/Source/board/board_utility.c in the SDK example to JN-AN-1243 Common/Source/board/board_utility.c.

 

 

1629942800(1).png

 

 

 

 

 

 

 

 

 

1629942872(1).png

 

 

ラベル(2)
0 件の賞賛
返信
1 解決策
2,063件の閲覧回数
nxf56274
NXP Employee
NXP Employee

Thanks for your feedback. I will check it and report to our internal team.

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
2,082件の閲覧回数
wxhntmy
Contributor I

Is this a bug in SDK 2.6.4? Is there anything else besides this solution?

0 件の賞賛
返信
2,097件の閲覧回数
wxhntmy
Contributor I

Using the 11.2.1_4149 version of MCUXpressoIDE and the 2.6.1 version of the SDK does not have this error, because the 2.6.1 version of the SDK does not have the BOARD_CpuClockUpdate32MhzFro() function. This error appeared in the 2.6.4 version of the SDK.

0 件の賞賛
返信
2,064件の閲覧回数
nxf56274
NXP Employee
NXP Employee

Thanks for your feedback. I will check it and report to our internal team.

0 件の賞賛
返信