LPC5506 platform.drivers.power error

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

LPC5506 platform.drivers.power error

跳至解决方案
2,257 次查看
jasonlambert
Contributor III

Hi Team,

I'm working with the following set-up

  • MCUXpresso: v11.3.0 [Build 5222] [2021-01-11]
  • SDK: SDK_2.x_LPCXpresso5506 version 2.8.2
  • EVAL: LPC5506-EVK

I'm working on putting a basic application together showing the CAN bus off. I'm starting with SDK led_blinky as a base. Once I open up the Clocks tab I see that there is already an error showing up. 

Issue: Clocks initialization requires the POWER Driver in the project.
Level: Error
Type: Validation
Tool: Toolchain/IDE project
Origin: Clocks:BOARD_BootClockFRO12M
Target: Toolchain/IDE project: cm33_core0
Resource: platform.drivers.power

I have tried shutting down MCUXpreso, making a fresh workspace, and a computer restart. I have confirmed that this is only related to this device by loading up a simple project for the IMXRT1050 and I do not see the error. 

Is this related to the fact that this is a newly released device? 

 

标记 (1)
0 项奖励
1 解答
2,239 次查看
Lukas_Heczko
NXP Employee
NXP Employee

Hi Jason,

looks like this issue is caused by misalignment in internal identification of the power SDK driver inside the SDK package. As result, there is shown the false error you observe. I passed this to the SDK team. Meanwhile, it's safe to ignore this error as the led_blinky contains the power SDK driver by default.

You can check presence of the driver in SDK components manager and by looking into {project}\driver folder where fsl_power.c and fsl_power.h should be present:

lukash_1-1614929913377.png

Regards,

Lukas

 

 

在原帖中查看解决方案

0 项奖励
4 回复数
2,069 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

This issue will be fixed in SDK 2.10.0.

0 项奖励
2,240 次查看
Lukas_Heczko
NXP Employee
NXP Employee

Hi Jason,

looks like this issue is caused by misalignment in internal identification of the power SDK driver inside the SDK package. As result, there is shown the false error you observe. I passed this to the SDK team. Meanwhile, it's safe to ignore this error as the led_blinky contains the power SDK driver by default.

You can check presence of the driver in SDK components manager and by looking into {project}\driver folder where fsl_power.c and fsl_power.h should be present:

lukash_1-1614929913377.png

Regards,

Lukas

 

 

0 项奖励
2,230 次查看
jasonlambert
Contributor III

Thanks for the feedback Lukash. I was seeing this also with the hello world and any example for the matter FYI. So its good to know that we can just import the lib into the SDK and ignore it. 

The issue that threw me off when I tried that was I didn't see a library labeled with the same name that the error called out. I noticed the "power_no_lib" which was confusing..... Maybe a name change should be considered on that one  

 

Thanks for the help!

0 项奖励
2,246 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi

I reproduced your issue. I will check it internally. Will keep you informed.

Have a nice day,

Jun Zhang

0 项奖励