Issue in SDK, maybe

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
1,577件の閲覧回数
pietrodicastri
Senior Contributor II

Good morning

Building the SDK library with KDS, I see the ewm drivers are not part of the project, if built for processor K02F12810, but they are part if the processor is the K64.

The EWM module is present in both as well, so it seems a bug in the preparation of the library process... Is it??

 

 

Pietro

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

Hello Pietro:

I apologize for the long delay, it is hard to keep track of many posts.

I think there is indeed a defect with the K02 KSDK library projects. I reported this to our developers already (ticket KPSDK-5460).

The solution is very simple, just add the EWM driver and rebuild the platform library. For KDS these are the steps:

1. Open the library project.

2. Create a new folder inside of the platform folder called "ewm".

3. Create a virtual folder called "drivers" inside of the "ewm" folder.

4. Create a virtual folder called "hal" inside of the "ewm" folder.

5. Drag and drop the next files to the "drivers" folder:

C:\Freescale\KSDK_1.2.0\platform\drivers\inc\fsl_ewm_driver.h

C:\Freescale\KSDK_1.2.0\platform\drivers\src\ewm\fsl_ewm_common.c

C:\Freescale\KSDK_1.2.0\platform\drivers\src\ewm\fsl_ewm_driver.c

6. Drag and drop the next files to the "hal" folder:

C:\Freescale\KSDK_1.2.0\platform\hal\inc\fsl_ewm_hal.h

C:\Freescale\KSDK_1.2.0\platform\hal\src\ewm\fsl_ewm_hal.c

7. Finally build the library project.

With this you should be able to use the EWM driver from your application project once you link the platform library.

If I receive feedback from the developers I will let you know.

Regards!
Jorge Gonzalez

元の投稿で解決策を見る

0 件の賞賛
返信
4 返答(返信)
1,398件の閲覧回数
pietrodicastri
Senior Contributor II

Ok

Thank You

0 件の賞賛
返信
1,398件の閲覧回数
pietrodicastri
Senior Contributor II

Hello Jorge

Did You analize the situation?

Thank You

0 件の賞賛
返信
1,399件の閲覧回数
Jorge_Gonzalez
NXP Employee
NXP Employee

Hello Pietro:

I apologize for the long delay, it is hard to keep track of many posts.

I think there is indeed a defect with the K02 KSDK library projects. I reported this to our developers already (ticket KPSDK-5460).

The solution is very simple, just add the EWM driver and rebuild the platform library. For KDS these are the steps:

1. Open the library project.

2. Create a new folder inside of the platform folder called "ewm".

3. Create a virtual folder called "drivers" inside of the "ewm" folder.

4. Create a virtual folder called "hal" inside of the "ewm" folder.

5. Drag and drop the next files to the "drivers" folder:

C:\Freescale\KSDK_1.2.0\platform\drivers\inc\fsl_ewm_driver.h

C:\Freescale\KSDK_1.2.0\platform\drivers\src\ewm\fsl_ewm_common.c

C:\Freescale\KSDK_1.2.0\platform\drivers\src\ewm\fsl_ewm_driver.c

6. Drag and drop the next files to the "hal" folder:

C:\Freescale\KSDK_1.2.0\platform\hal\inc\fsl_ewm_hal.h

C:\Freescale\KSDK_1.2.0\platform\hal\src\ewm\fsl_ewm_hal.c

7. Finally build the library project.

With this you should be able to use the EWM driver from your application project once you link the platform library.

If I receive feedback from the developers I will let you know.

Regards!
Jorge Gonzalez

0 件の賞賛
返信
1,398件の閲覧回数
Jorge_Gonzalez
NXP Employee
NXP Employee

Hello Pietro di Castri:

That seems indeed strange. Let me investigate it with the developers and I will let you know about any feedback I get.

Regards!

Jorge Gonzalez

0 件の賞賛
返信