KDS3.00 for FRDM-KL25Z of KSDK1.02

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

KDS3.00 for FRDM-KL25Z of KSDK1.02

ソリューションへジャンプ
1,838件の閲覧回数
yasuhikokoumoto
Senior Contributor I

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.

ラベル(1)
0 件の賞賛
返信
1 解決策
1,271件の閲覧回数
yasuhikokoumoto
Senior Contributor I

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.

元の投稿で解決策を見る

0 件の賞賛
返信
12 返答(返信)
1,271件の閲覧回数
ivadorazinova
NXP Employee
NXP Employee

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

0 件の賞賛
返信
1,271件の閲覧回数
yasuhikokoumoto
Senior Contributor I

Hello Iva,

thank you for your help.

I attached the error messages for good case (i.e. FRDM-K64F) and bad case (i.e. FRDM-KL25Z).

I did the same way for both cases.

However, the results are different.

Thank you in advance.

Best regards,

Yasuhiko Koumoto.

0 件の賞賛
返信
1,271件の閲覧回数
ivadorazinova
NXP Employee
NXP Employee

Hello Yasuhiko Koumoto,

thank you for the output from console.

I suggest following procedure:

  • Please, check Properties for the Hello World for FRDM-KL25Z by right click on project -> Properties -> C/C++ Build Environment and see PATH, please check if you have filled the PATH for your project.

properties.png

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

  • In other case I recommend import another project for FRDM-KL25Z a try it again.

Please, let me know.

Best Regards,

Iva

0 件の賞賛
返信
1,271件の閲覧回数
yasuhikokoumoto
Senior Contributor I

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.

0 件の賞賛
返信
1,271件の閲覧回数
ivadorazinova
NXP Employee
NXP Employee

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

0 件の賞賛
返信
1,271件の閲覧回数
yasuhikokoumoto
Senior Contributor I

Hello Iva,

I already did so.

But the error message was generated.

Where dos the makefile exist?

Best regards,

Yasuhiko Koumoto.

0 件の賞賛
返信
1,271件の閲覧回数
ivadorazinova
NXP Employee
NXP Employee

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

0 件の賞賛
返信
1,271件の閲覧回数
yasuhikokoumoto
Senior Contributor I

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.

0 件の賞賛
返信
1,271件の閲覧回数
ivadorazinova
NXP Employee
NXP Employee

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

hwtimer.png

and paste it to hello_world

hwtimer2.png

Best Regards,

Iva

0 件の賞賛
返信
1,272件の閲覧回数
yasuhikokoumoto
Senior Contributor I

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.

0 件の賞賛
返信
1,271件の閲覧回数
ivadorazinova
NXP Employee
NXP Employee

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)

  • Go to Import in KDS
  • Select option Existing Projects Sets

wsd_1.png

  • Browse the .wsd file for the example (it is located at <ksdk_path>\examples\frdmkl25z\demo_apps\hwtimer_demo\kds)

wsd_2.png

  • Now you see which lib is needed for the demo application, finish

wsd_3.png

It is more comfortable way.

I hope this helps,

Iva

0 件の賞賛
返信
1,271件の閲覧回数
yasuhikokoumoto
Senior Contributor I

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.

0 件の賞賛
返信