Hello experts,
I use the first time KDS3.00.
I imported the "hello_world" project from KSDK1.02 and built the object file by clicking "build all" menu on FRDM-K64F board.
It went well without any problems.
However, when I did the same thing on the FRDM-KL25Z board, the build failed.
I cannot understand what had happened.
Can anyone tell me how to solve it?
Best regards,
Yasuhiko Koumoto.
解決済! 解決策の投稿を見る。
Hello Iva,
thank you very much for your help.
The problem was solved.
By re-installing the KSDK_1.2.0, everything went well.
The error message of the previous post was caused why I did not compile the corresponding library (ksdk_platform?lib).
The sample program of Freescale would be perfect, wouldn't it?
Best regards,
Yasuhiko Koumoto.
Hello Yasuhiko Koumoto,
thank you for your feedback!
Please, did you import hello world project for FRDM-KL25Z?
Can you show the error message?
Thank you,
Best Regards,
Iva
Hello Yasuhiko Koumoto,
thank you for the output from console.
I suggest following procedure:
On my side is PATH C:\Freescale\KDS_3.0.0\eclipse\..\bin;C:\Freescale\KDS_3.0.0\eclipse\..\toolchain\bin;C:/Freescale/KDS_3.0.0/eclipse//features/com.somniumtech.jre.win32.win32.x86_1.7.0.76/jre/bin/client;C:/Freescale/KDS_3.0.0/eclipse//features/com.somniumtech.jre.win32.win32.x86_1.7.0.76/jre/bin;C:/Freescale/KDS_3.0.0/eclipse//features/com.somniumtech.jre.win32.win32.x86_1.7.0.76/jre/lib/i386;C:\ProgramData\Oracle\Java\javapath;C:\Ruby200-x64\bin;C:\Program Files (x86)\RSA SecurID Token Common;C:\Program Files\Common Files\Microsoft Shared\Microsoft Online Services;C:\Program Files (x86)\Common Files\Microsoft Shared\Microsoft Online Services;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files\doxygen\bin;c:\MinGW\bin;C:\Freescale\KDS_3.0.0\eclipse
Please, let me know.
Best Regards,
Iva
Hello Iva,
thank you for your help.
As you say, the PATH is not defined.
However, I set it as the same as FRDM-K64F PATH but the build still failed.
The new error message is as following.
----[snip]---
00:29:56 **** Incremental Build of configuration Default for project hello_world_frdmkl25z ****
make all
make: *** No rule to make target `all'. Stop.
00:29:57 Build Finished (took 500ms)
---[snip]---
Do you have any advices?
Thank you and best regards,
Yasuhiko Koumoto.
Hello Yasuhiko Koumoto,
please, go to PATH for the hello_world project for FRDM-K64F and copy it and replace the PATH for the project for FRDM-KL25Z.
The paths are identical.
I hope it helps
Best Regards,
Iva
Hello Iva,
I already did so.
But the error message was generated.
Where dos the makefile exist?
Best regards,
Yasuhiko Koumoto.
Hello Yasuhiko Koumoto,
the make file is located at <kds_path>\bin in my case C:\Freescale\KDS_3.0.0\bin
Please, try to import another example for FRDM-KL25Z.
Best Regards,
Iva
Hello Iva,
thank you for your help.
I tried "hwtimer_demo" and it went very well.
The PATH variable had been automotically set and the build was no problem.
I think "hello_world" is an exclusive.
Do you have any idea to solve it?
Best regards,
Yasuhiko Koumoto.
Hello Yasuhiko Koumoto,
yes, so now we know that the problem is with your project,
please, clean the project, copy the PATH from this (hwtimer_demo) project on your side and insert it to hello_world.
I mean
and paste it to hello_world
Best Regards,
Iva
Hello Iva,
thank you very much for your help.
The problem was solved.
By re-installing the KSDK_1.2.0, everything went well.
The error message of the previous post was caused why I did not compile the corresponding library (ksdk_platform?lib).
The sample program of Freescale would be perfect, wouldn't it?
Best regards,
Yasuhiko Koumoto.
Hello Yasuhiko Koumoto,
you are welcome. Sure.
To avoid these problems you can import examples by .wsd file: (working set - project with libraries in one package)
It is more comfortable way.
I hope this helps,
Iva
Hello Iva,
I faced new problems.
I re-installed KDK_1.2.0 and the situation changed.
The compile succeeded but it could not make elf file, outputing the following error messagae.
make: *** No rule to make target `C:/Freescale/KSDK_1.2.0/examples/frdmkl25z/demo_apps/hello_world/kds/../../../../../lib/ksdk_platform_lib/kds/KL25Z4/debug/libksdk_platform.a', needed by `hello_world_frdmkl25z.elf'.
make: Target `all' not remade because of errors.
Whats was wrong?
I cannot recover the old KSDK_1.2.0 and I would like to know the solution of this problem.
I saw the folder "C:/Freescale/KSDK_1.2.0/examples/frdmkl25z/demo_apps/hello_world/kds/../../../../../lib/ksdk_platform_lib/kds/KL25Z4/" but there was not debug/libksdk_platform.a.
How can I build the libksdk_platform.a?
Do you have any advice?
Best reagads,
Yasuhiko Koumoto.