The total error message is:
../Generated_Code/Cpu.h:61:30: fatal error: device_registers.h: No such file or directory.
I'm using S32 Design Studio for Power Architecture and create a example project named pit_periodic_interrupt through menuitem "S32DS Project from example".But by default,the project have only two configuration options:Debug_Flash & Debug_RAM,i wanna create a release version bin file,so i create a new configuration option named "Release" in "Create New Configuration" dialog,and i choose the "Default configuration" option and select the "Rlease" in dropdown list.
Then first i generate the PE codes,after that i build the project and get the error message.
I find the device_registers.h in ${S32_SDK_PATH}/platform/devices,so i add this path into "Standard S32DS C Compiler".Includes,but still doesn't work.
Solved! Go to Solution.
Hi,
the example projects are little bit different than standard ones (they used linked files and so on) and it is hard and time consuming to configure another build target.
If you need release version - you can remove debug option from gcc parameters for Flash target - right click on project name -> properties -> C/C++ build -> Settings
Hope it helps.
Jiri
Hi,
the example projects are little bit different than standard ones (they used linked files and so on) and it is hard and time consuming to configure another build target.
If you need release version - you can remove debug option from gcc parameters for Flash target - right click on project name -> properties -> C/C++ build -> Settings
Hope it helps.
Jiri
It's ok to create a new configuration by copy from default configurations and then remove the debug option.
Thanks for you answer.