It can very well be related to the SDK. I am using our own copy of a git-backed SDK to be able to work around some issues (see my various posts in the SDK issue tracker
However, the projects work fine other than the mentioned issue and that the config tools ask for migrating some peripheral modules to different versions (which also sounds like it could be related). That means I have no errors using the config tools or with building (even in headless mode). I can also jump into the SDKs sources etc. So in *general* the SDK(s) are referenced correctly and work fine.
I don't have *all* the SDK's submodules cloned though because we don't need most of it. Do you have anything specific in mind that it is looking for?
Here is an excerpt of the .cproject file of one of the projects:
<storageModule moduleId="com.crt.config">
<projectStorage><?xml version="1.0" encoding="UTF-8"?>
<TargetConfig>
<Properties property_3="NXP" property_4="MIMXRT1021xxxxx" property_count="5" version="100300"/>
<infoList vendor="NXP">
<info chip="MIMXRT1021xxxxx" name="MIMXRT1021xxxxx">
<chip>
<name>MIMXRT1021xxxxx</name>
<family>MIMXRT1020</family>
<vendor>NXP</vendor>
<memory can_program="true" id="Flash" is_ro="true" size="0" type="Flash"/>
<memory id="RAM" size="256" type="RAM"/>
<memoryInstance derived_from="Flash" driver="MIMXRT1020_SFDP_QSPI.cfx" edited="true" id="PROGRAM_FLASH" location="0x60000000" size="0x400000"/>
<memoryInstance derived_from="RAM" edited="true" id="SRAM_DTC" location="0x20000000" size="0x10000"/>
<memoryInstance derived_from="RAM" edited="true" id="SRAM_ITC" location="0x0" size="0x10000"/>
<memoryInstance derived_from="RAM" edited="true" id="SRAM_OC" location="0x20200000" size="0x20000"/>
<memoryInstance derived_from="RAM" edited="true" id="BOARD_SDRAM" location="0x80000000" size="0x1e00000"/>
<memoryInstance derived_from="RAM" edited="true" id="NCACHE_REGION" location="0x81e00000" size="0x200000"/>
</chip>
<processor>
<name gcc_name="cortex-m7">Cortex-M7</name>
<family>Cortex-M</family>
</processor>
</info>
</infoList>
</TargetConfig></projectStorage>
</storageModule>
Exporting the project is not a big issue overall but the interesting part is... I cannot reproduce the problem by importing that export into a completely fresh workspace either... I then tried importing the project files into a fresh workspace by using the "import from local git repository", which basically makes the two workspaces share the same files on disk, and there I cannot reproduce the problem either(!).
I see the problem consistently with multiple projects in my default workspace on the same machine and the SDKs are shared between the workspaces (as enforced by MCUXpresso)... so I am slightly confused Any ideas apart from ditching the workspace and hoping it was a fluke?