As title suggested, there is a really stupid problem with the sdk components manager.
I'm using MIMXRT1170-EVK board, installed latest package and mcuxpresso.
I created an empty project based on the project template from "SDK_2.x_MIMXRT1170-EVK" sdk package called "evkmimxrt1170".
Everything is working as expected.
However, I accidentally ticked the "MIMXRT1176" under the project template while I was configuring other things, so there are two template enabled at the same time, then clicked ok and regenerated the code with knowning the mistake.
After I noticed my mistake, as any sane people will do, I go back there, un-tick the "MIMXRT1176" box which I don't keed, and then hit ok and regenerate again.
Then mcuexpresso removed board.h and some other files as part of the operation for removing "MIMXRT1176" template. ("MIMXRT1176" as a mcu instad of board template also contain a board.h somehow)
So I left with a project that has "evkmimxrt1170" template enabled but missing files like board.h from it.
Then again, as any sane people will do, I planned go back there, un-tick the "evkmimxrt1170" template, apply and regen, then enable it back then regen, hope that will fix the issue.
But nope, turns out you cannot disable the "evkmimxrt1170" template, I un-ticked it then open again, it will remain ticked.
Well, I also tried leave it that way then just "refresh sdk components", everytime it will say there are files need to be updated, but it dose nothing and did not bring board.h back.
So now, I'm stuck with the issue, not able to get it to regen the board.h.
Here is my question for the UI designer and the programmer made the UI logic:
Why let user enable multiple template that have conflicting files?
Why won't let user disable all template? (Why I'm being forced to use a template?)
And is there a way to fix this than simply create a new project then manually move all files and configs over?
Not mean to be rude, but I have to say ST's software also bad, but not as much as NXP.
If NXP have no budget/time to make a fully working IDE, why not make your toolchain and sdk packages easier to adopt to opensource IDE?
Or if NXP do want make a good IDE, why not use vscode as framework instald of old Old OLD Eclipse?
Even Atemel knows to stay away from Eclipse and uses Visual Studio 2015 as framework from his age.
Hi @Azick ,
Sorry for the inconvenience. But I don't know how to repeat the problem. Can you attach some screenshot?
Regards,
Jing
Install the rt1170-evk package in Mcuxpresso
create a new project, select the rt1170-evk, then just finish
later edit the sdk package configure, under project template, select both (why im able to select both?), finish.
then edit it again, remove one of the template, then it will ask to update board.h that from the the template remain selected, then ask to remove board.h from the template deselected.
Now you have no board.h
Hi @Azick ,
Yes, it should only enable to select one template. I'll report your suggestion to software team.
Regards,
Jing