please help my issue！
did you clean yout cmd3 project in windows machine, then import it in GUI, built it for first time in GUI? Makefile generated on windows machine doesn't work on Linux host
S32DS requires Java 8. Open JDK is ok ( apt-get install openjdk-8-jre ).
Hope it helps.
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
unfortunately SDK is supported only by MS Windows host system. Please see release notes:
thanks，i need work S32K148 in linux？
no use IDE，
how to build env，use bash？
Can you provide documentation?
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
-application -> eclipse managed builder
-data -> path to your S32DS workspace
-import -> path to your project
-cleanBuild -> project name including configuration (Debug in this example)
use example，build error！in linux
file->new->S32DS project for example->hell_s32k144
i use example in windows,
copy to linux,
i need modify what?
Compile project files by bash,
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"
The coding is done, but put it on ubuntu，
i think modif bash，then make，generate .BIN，
how to modif bash？
A simple test was done, failed, and the generated .BIN was bad.
Can you give me an example? Like this
Everything else is SDK 3.0 standard file
It looks, that you build and link only main.c and startup_S32K148.S sources. The simpliest empty application also should contain startup.c and system_S32K148.c sources.
Anyway, what's your goal?
We have others management server and release upgrade.bin file.
Because our server is Linux system, need to put the source code on the server. Generate the.bin file on the server. And then release.
Early debugging has been using Windows.Can give your email address?
GET_CORE_ID is macro defined in s32_core_cm4.h header.
So, why you are not using generated makefile from project? With empty project is this file in Debug folder. My email address is email@example.com
Using generated makefile from project, I try to modify makefile , but it fail.
Can you tell me how to modify about makefile from project?
1、add include "s32_core_cm4.h" on startup.c, but error
2、warning: cannot find entry symbol Reset_Handler; how to modify?
The easiest way - in my opinion - if you for some reason don't like call s32ds in command line mode for building your project (https://community.nxp.com/thread/519285#comment-1241074) is create project in GUI for your target device and build it for first time (this also generates makefile with correct include paths):
Then you can close S32DS and build project from command line:
The supported gcc version is 6.3 - part of S32DS Installation. Easiest way is just add path to PATH env variable:
New project "command_test" S32DS on windows, then “build”, copy to Ubuntu, enter Debug of project " make".
There is an error in the picture.
Finally got it. So - you are trying import SDK project from Windows to Linux where is no SDK supported, Am I right?
So, it is possible, but you need to do some steps. First of all - you need stand alone version of SDK sources in your project:
HOWTO: Use SDK based example code as standalone (usable for GIT, SVN...)
After all is setup on Windows machine, clean project. Copy project to Linux machine. Import it into S32DS, built project in GUI (or build project by calling S32DS in command line mode mentioned above) to get makefile and other settings. You can close S32DS. Now can be SDK based project built on Linux host by - make all - command:
1:new project in linux
Or another installation “arm_none-eabi-gcc”?
2:copy project form windows to linux
"command_test2" project in windows, build is sucessful.
copy "command_test2" project form windows to linux ,and into Debug "make"
i use other install S32DS on linux, new project, into DEBUG ,"make" is sucessful .
but ,copy project form windows to linux,into DEBUG ,"make" is error.
thanks for helping me.
use S32DS release on Linux, is sucessful.
other methods :arm-none-eabi-gcc, I'm trying to figure out why this failed.
Can you help me with this problem?
send source code to your e-mail.
I solved the problem myself, modif makefile.
Please ignore the email I sent you.
Retrieving data ...