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

Document created by Jiri Kral Employee on Mar 15, 2019Last modified by Jiri Kral Employee on Feb 4, 2020
Version 4Show Document
  • View in full screen mode

By defalut is SDK code in examples linked into project. Unfortunately there is no GUI config option, but this settings can be changed in 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. 





Open 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:


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




Now - all SDK code is copied into workspace: 



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: 


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

1 person found this helpful