Hi, I'm working with CW10.3 and FRDM-K20D50M.
I`ve used the examples in both Baremetal kinetis_50mhz_sc.zip as PEX.
My intention is not to use the PEX.
When I create a new project using make_new_cw_project.exe everything works fine but if I start a project from scratch I can`t build it.
Suppose you use the make_new_cw_project.exe .. can I migrate that code to a MK10D? Driver code included in kinetis_50mhz_sc.zip can be used with MK10D?
Thanks
Hello FD,
- Do you use the MK10D 50M chip, if yes, you can migrate that code to a MK10D chip.
- "if I start a project from scratch I can`t build it." , if you want solve this problem ,
could you please give me a screenshot about this , or screenshot tell me how to reproduce the problem, i can test it on my side .
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Have a great day,
Alice Yang
Hi, thanks for answer my question.
I`m currently using an FDRM-K20D50 board but in a short time i'll migrate
to my own custom hardware and it will have mounted a MK10
I built a code based on "Using the Freescale Header Files and Blinking the
LED" from https://community.freescale.com/docs/DOC-93960
This code written by Eli Hughes is runnig for a KL25 (m0+) so i create a
new BareBoard project for MK20DX128***5 without Pex. I use the same file
structure and main.c.
The error messages are :
..Workspace_II/common/common.h:36:4: error: #error "No valid platform
defined"
..Workspace_II/common/common.h:60:4: error: #error "No valid CPU defined"
..Workspace_II/common/common.h:71:19: fatal error: gnu.h: No such file or
directory
I belive that is a eclipse config problem , i tried a lot and i cant make
it work
I attached the project and a snapshot of the console
Thanks
On Wed, Dec 16, 2015 at 1:09 AM, Alice_Yang <admin@community.freescale.com>
Hello ,
- You project have error when build on my side , i refer to the error changed some place .
And it now can build and debug well on FRDMK20D50 board ,please check the attachemtn .
- while i find you have not change the pins to the board corresponding ,it still the configuration of FRDM-KL25, you need
configure it .
Hope it helps
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Have a great day,
Alice Yang