hello,
i install SDK is fail,
help->install new software->path:S32DS_ARM_v2018.R1_UP10.zip
but SDK no SDK 3.0
i need S32K148 SDK 3.0
Dear Jiri,
thanks,i need work S32K148 in linux?
no use IDE,
how to build env,use bash?
Can you provide documentation?
or example?
BRS
grayli
Hi,
Here is build command for hello_clocks_s32k144 example wiht default install paths:
./s32ds -nosplash -application org.eclipse.cdt.managedbuilder.core.headlessbuild -data ~/workspaceS32DS.ARM.2018.R1 -import ~/workspaceS32DS.ARM.2018.R1/hello_clocks_s32k144/ -cleanBuild hello_clocks_s32k144/Debug
Be sure that you are launching this command from eclipse home - by default ~/NXP/S32DS_ARM_v2018.R1/eclipse
parameters are:
-application -> eclipse managed builder
-data -> path to your S32DS workspace
-import -> path to your project
-cleanBuild -> project name including configuration (Debug in this example)
Hope it helps.
Jiri
Hi,
the cc1 is normally present in ~/NXP/S32DS_ARM_v2018.R1/Cross_Tools/gcc-arm-none-eabi-4_9/lib/gcc-none-eabi.4.9.3 directory. Can you check if cc1 executable is persent? If not, try to re-install S32DS.
The best way how to compile project from bash is using command mentioned above. It also generates makefile for project and calls correct compiler. By using just make in Debug folder - you need to specify path for arm-none-eabi-gcc in system environment.
To produce .bin output you can use
arm-none-eabi-objcopy -O binary your_project.elf "your_project.bin"
Jiri
Hi,
S32DS requires Java 8. Open JDK is ok ( apt-get install openjdk-8-jre ).
Hope it helps.
Jiri