AnsweredAssumed Answered

How to transplant the KSDK_1.2.0?

Question asked by Robin Zou on Jun 18, 2015
Latest reply on Jun 19, 2015 by Iva Susnova

I want to transplant the example to my source code.

 

C:\Freescale\KSDK_1.2.0\examples\twrk64f120m\driver_examples\sdhc_sdcard\iar.

 

1 I add the lib project to my workspaces.

C:\Freescale\KSDK_1.2.0\lib\ksdk_platform_lib\iar\K64F12.

 

2 I add the “KSDK_1.2.0\lib\ksdk_platform_lib\iar\K64F12\debug\libksdk_platform.a”
to my project->options->library.

3 I add the all .h files to my project

 

There are lots of errors when only adding “#include "fsl_clock_manager.h"” to my project.

 

For example, ” Error[Pe020]:
identifier "g_xtalRtcClkFreq" is undefined
C:\Freescale\KSDK_1.2.0\platform\system\src\clock\MK64F12\fsl_clock_MK64F12.h
339”

 

Canyou tell me how to transplant the KSDK_1.2.0?

Outcomes