Hello!
I see that you have multiple SDKs installed, but it seems you are using the EAR 0.8.6 version. I think the problem you are talking about has already been fixed on RTM 2.0.0 release. Are these print screens from the project you are having problems? If the answer is yes, you should upgrade your project from EAR 0.8.6 to RTM 2.0.0. In order to do that, you should do the following steps:
1. Check the properties of the project, following the menu: Project -> Properties.
2. Change the value of the parameter SDK Path. Following the properties menu, check the
settings under Processor Expert -> S32 SDK Specific. Here it is located the field ‘SDK Path’. The initial value must be replaced with a new value:
• old value: ${ProcessorExpert_loc}/../../S32DS/S32SDK_S32K14x_EAR_0.8.6
• new value: ${ProcessorExpert_loc}/../../S32DS/S32SDK_S32K14x_RTM_2.0.0
Click OK button for making changes.
3. Apply changes for SDK Path. After clicking OK button, multiple dialog boxes will appear, asking for confirmation. Click YES or OK to continue. After confirming all dialog boxes, please reload the project using ‘Reload’ button. Again, click YES for confirming the dialog box asking about saving the project.
4. It is necessary to remove all the paths related to S32SDK EAR 0.8.6 version. Such a path begins with ‘${<Device>_SDK_GCC_0.8.6_PATH}’. Following the properties menu, check the settings under C/C++ Build -> Settings. On the left side of the tab ‘Tool Settings’, there is a column containing settings that must be changed:
• Standard S32DS C Compiler > Includes
• Standard S32DS Assembler > General
For each configuration, on the right side of the panel will appear a list of paths. Please select and delete all the paths related to S32SDK EAR 0.8.6. After making changes, click OK and confirm the dialog box asking to rebuild the project. Please repeat this step for every build configuration that exists in the project.
5. Remove old generated code. Using Project Explorer, remove all the files under the folders Generated_Code and SDK. Select the file to delete, right click on it and choose Delete option from the opened menu.
6. Generate new code following the Project -> Generate Processor Expert Code.
7. Build the project and check the errors, looking for the error related to PAL components, for example: 'INST_TIMING_PAL1’ undeclared (first use in this function). In order to fix such an error, replace all the appearances of the name 'INST_TIMING_PAL1’ with ‘timing_pal1_instance’. Build again and make sure there are no other errors.
8. Update Linker Files and Startup Files.
• Close the project. Copy all files from the path: {path_instalation_folder}\S32DS\S32SDK_S32K14x_RTM_2.0.0\platform\devices\{device}\linker\gcc
• Paste copied files to the following location: {path_workspace}\{project_name}\Project_Settings\Linker_Files
• Copy all files from the path: {path_instalation_folder}\S32DS\S32SDK_S32K14x_RTM_2.0.0\platform\devices\{device}\startup\gcc
• Paste copied files to the following location: {path_workspace}\{project_name}\Project_Settings\Startup_Code
• Open the project
9. Update .cproject file. Close the project and open the file from the following location: {path_workspace}\{project_name}\.cproject
Inside the opened file, find and replace text accordingly to the above table. After the changes are made, save the file and open the project.
Find | Replace
------------------------------------------------------------------------------------------------------------------------------------------------------
com.freescale.s32ds.cross.gnu.arm.cortexm.toolChain | com.nxp.s32ds.cle.arm.mbs.arm32.bare.toolchain
com.freescale.s32ds.cross.gnu.arm.cortexm | com.nxp.s32ds.cle.arm.mbs.arm32.bare
ARM_EWL_DIR | S32DS_ARM32_EWL_DIR
${ARM_NEWLIB_DIR}/newlib | ${S32DS_ARM32_NEWLIB_DIR}
Your project should work fine and the problem you have noticed should be fixed now. Please let me know if it works. If you have problems with the migration, let me know.
Best regards,
Anca