HOWTO: Use SDK based example code as standalone (usable for GIT, SVN...)

cancel
Showing results for 
Search instead for 
Did you mean: 

HOWTO: Use SDK based example code as standalone (usable for GIT, SVN...)

HOWTO: Use SDK based example code as standalone (usable for GIT, SVN...)

By defalut is SDK code in examples linked into project. Unfortunately there is no GUI config option, but this settings can be changed in ProcessorExpert.pe file - located in project's root folder. 

First of all - backup your project. Locate SDK folder in project and delete all content. When done - close your project. 

pastedImage_4.png

Open ProcessorExpert.pe file located in project's root folder in any text editor (it is XML file), locate <ProjectStaticFilesGenerationMode> tag and change value from LINKED to STANDALONE:

pastedImage_1.png

Save changes and open again your project in S32DS. Generate processor expert code: 

pastedImage_5.png

Now - all SDK code is copied into workspace: 

pastedImage_6.png

There are also linked files in Project_Settings. Easiest way is just create an empty non SDK project and copy linker script and startup assembly to your project: 

pastedImage_1.png

Make sure, that Linker uses your copied linker script file: 

mstsc_2019-12-10_12-36-15.png

Comments

Hi, Kiri

I met the same problem and now solved by your method, but maybe a typo that, as you mentioned "locate <ProjectStaticFilesGenerationModule> tag", it should be "locate <ProjectStaticFilesGenerationMode> tag". 

Thanks for sharing.

Hi, 

thanks for info. 

Jiri 

Hi Jiri,

I'm using S32DS Studio 2.2 and this solution does not work properly.

After generating the code with Processor expert, the SDK folder is populated with files but those are completely empty.

Is this a known bug is SDS 2.2?

Best regards!

Version history
Revision #:
1 of 1
Last update:
‎03-15-2019 04:58 AM
Updated by: