Dear sdk generator users,
This week the new generator has the some updates and all commits have been pushed to the develop/mcu_sdk_generator branch by default. Please cherry-pick the commits or sync the latest branch to your feature branch if needed.
We have recorded the update into the MCUX SDK Generator community. We really welcome you to join the community to view these updates and raise any topics/questions/comments.
It is easy!
Please, send email to MCU_SW_PE MCU_SW_PE@nxp.com if you cannot access the community space or if you have any other problem related to using the community space.
IT is not adding all members of the MCU_SDK_DEV office group on a list of this community space users. It may happen you haven’t been added yet. We can add you manually.
As we commit, any new features will be posted on community.
New features update:
Some ymls are stored in submodules like docs, generator will load them from submodules each time.That is quite big obstacle because of the submodule size. For automation purposes this slow down build tests by 10%.
So we move the docs ymls from docs submodule into bin/generator/records_v1/msdk/components/docs. The new docs directory has the same structure as the previous docs submodule.
We also update docs ymls load path in records_v1 and affected submodules.
The new directory is as follow:
We have already removed the docs ymls under docs submodule. For future development, please update the docs ymls under records_v1/msdk/components/docs.
SDKGEN-709 Fix bugs that mcux toolchain is not added into build automatically if run with release config without specifying mcux toolchain
Previously, when generating projects for specific toolchains, generator will anyway add in the "mcux" no matter you set it or not.
From now, generator will not do this automatic adding if you just generate projects(-c projects)
For manifest/superset/package running, the 'mcux' will still be automatically added because the <example>.xml is used by some tools except for the mcuxpresso.
Here is an example:
sdk generator now supports generating debug data only with '-d'.
With '-d' specified, the generator will only generate intermediate debug data under bin/generator/sdk_generator/src/debug_data folder for user's analyzing use.
Note that when setting '-c manifest' using batch or output type is manifest when using release_config, the unify data will not be generated because manifest doesn't use the unify_data.yml
The NPIs using old generator, if sync docs/ submodules master branch and included this updates.
The listed middlewares also need to sync and update because the ymls in those middlewares load the yml files under docs. If not the meta_translator.rb will run failed, and superset can't be generated! So it's would be easier if creating a release branch on docs/ submodule.
middleware/issdk submodule have docs/ISSDK/ISSDK.yml
middleware/lvhb submodule have docs/lvhb/lvhb.yml
middleware/motor_control submodule have docs/MC/MC.yml
middleware/sigfox submodule have docs/sigfox/sigfox.yml
middleware/touch submodule have docs/touch/touch.yml
The old yml that load the docs yml under these submodules beside the ISSDK subumodule have modified.
The issdk submodule old yml don't load the docs yml.