Is it necessary to support the release mode (-r option) of the SDK Generator?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Is it necessary to support the release mode (-r option) of the SDK Generator?

PetrKraus
NXP Employee
NXP Employee
1 0 976

davidjurajda‌:

Yes, it is mandatory. Because the internal SDK repository structure is not same as public package structure you have to support -r.  “-r” is basically transformation between internal repository and external package (file merging, changing folder structure). If you would like to produce public package you have to support also –production, which introduce strict testing.

 

For development purposes I am not recommending to use -r directly (it will mess up whole repository):

mcu-sdk-2.0\bin\generator\batch_v1>ruby all_frdmk64f.rb -p hello_world -r

 

but generate package into external location (this perform -r on background):

mcu-sdk-2.0\bin\generator\batch_v1>ruby all_frdmk64f.rb -c package_raw -o D:\package

or

mcu-sdk-2.0\bin\generator\batch_v1>ruby all_frdmk64f.rb -c package_zip -o D:\package

 

For strict package verification use roznovbuildtest system or Jenkins (there are predefined release configurations):

http://10.171.89.106/

for more information about testing contact @Ivo Solansky

 

Take a look here (just mirror of generator documentation):

http://10.193.108.154:4000/mcu-sdk-generator/doc/Getting%20Started%20With%20SDK%20Generator.html#usa...

 

Related SDK Generator documentation section:

https://bitbucket.sw.nxp.com/projects/MCUCORE/repos/mcu-sdk-generator/browse/doc/Release%20Actions%2...