Building Firmware on windows
Building Firmware on windows
I'm new to OpenGD77 , just flashed it into my radio and find it very nice!
I'm trying to compile the firmware, but I encounter a few issues, appreciate if someone can help:
1. IDE version to be used? I downloaded the MCUExpresso IDE v11.5 for win, loaded the source from R2022022801,
but got error:
Unable to find part support for NXP MK22FN512xxx12 in project firmware Resetting to generic part for core cm4.
Is there any instructions regarding how to setup the development enviornment?
2. I installed SDK MK22FN512 in the ide , the above problem still there, so I tried to use command line to compile release
R2021071101, it is successful and created the bin, however I'm not able to do the same for R2022022801, because the MakeFile is not there.
Does anyone know where can I get the Makefile for R2022022801,or how can I build R2022022801 release please?
I'm trying to compile the firmware, but I encounter a few issues, appreciate if someone can help:
1. IDE version to be used? I downloaded the MCUExpresso IDE v11.5 for win, loaded the source from R2022022801,
but got error:
Unable to find part support for NXP MK22FN512xxx12 in project firmware Resetting to generic part for core cm4.
Is there any instructions regarding how to setup the development enviornment?
2. I installed SDK MK22FN512 in the ide , the above problem still there, so I tried to use command line to compile release
R2021071101, it is successful and created the bin, however I'm not able to do the same for R2022022801, because the MakeFile is not there.
Does anyone know where can I get the Makefile for R2022022801,or how can I build R2022022801 release please?
Re: Building Firmware on windows
Hi,
Use the IDE to compile the firmware, the Makefile has been thrown away as only the redlib (libc) can be used now.
Cheers.
---
Daniel
Use the IDE to compile the firmware, the Makefile has been thrown away as only the redlib (libc) can be used now.
Cheers.
---
Daniel
Re: Building Firmware on windows
Thanks for your reply, which version of IDE shall I use?
Is there any instruction document that I can refer to please?
I downloaded the MCUExpresso IDE v11.5 for win, I installed SDK MK22FN512 in the ide, loaded the source from R2022022801,
but still got error:
Unable to find part support for NXP MK22FN512xxx12 in project firmware Resetting to generic part for core cm4.
Maybe i did not load the source project correctly?
Is there any instruction document that I can refer to please?
I downloaded the MCUExpresso IDE v11.5 for win, I installed SDK MK22FN512 in the ide, loaded the source from R2022022801,
but still got error:
Unable to find part support for NXP MK22FN512xxx12 in project firmware Resetting to generic part for core cm4.
Maybe i did not load the source project correctly?
Re: Building Firmware on windows
Did you install the MK22 SDK into the IDE.icz_tb wrote: ↑Wed Aug 10, 2022 3:50 amThanks for your reply, which version of IDE shall I use?
Is there any instruction document that I can refer to please?
I downloaded the MCUExpresso IDE v11.5 for win, I installed SDK MK22FN512 in the ide, loaded the source from R2022022801,
but still got error:
Unable to find part support for NXP MK22FN512xxx12 in project firmware Resetting to generic part for core cm4.
Maybe i did not load the source project correctly?
i.e The SDK has to also be downloaded from NXP / Freescale
Re: Building Firmware on windows
I installed from the welcome page " Download and Install SDKs " link,
However there are still errors. I tried to run compile though, result seem to be successful.. Not sure if it is good to proceed this way!
BTW,how could i specify differnt target device for compilation, eg. RD5R?
Thank you for your response!
However there are still errors. I tried to run compile though, result seem to be successful.. Not sure if it is good to proceed this way!
BTW,how could i specify differnt target device for compilation, eg. RD5R?
Thank you for your response!
Re: Building Firmware on windows
In the "Installed SDKs" tab, SDK_2_x_MK22FNS12xxx12 should be listed.
In the icon bar on the top of the IDE, below the menu, there is a hammer drop down list, select the RD5R clicking the down arrow. Click the hammer to compile.
In the icon bar on the top of the IDE, below the menu, there is a hammer drop down list, select the RD5R clicking the down arrow. Click the hammer to compile.
Re: Building Firmware on windows
Thanks, I believe it can complie now, and I am able to see the SDK listed.
the Error info is still there though.
I'll try flash the generated RD5R.bin and see if that works.