Hello,
I am trying to integrate S32K14x Autosar MCAL for S32k118 in S32DS to build, flash and debug on the S32K118EVB. I have copied all the required all the source files, tresos output and am able to successfully compile the PlatformIntegration code from S32DS (this is the sample project provided with the MCAL).
The problem i am stuck with is the linker output at the end of the build (refer below image).
As seen in the image, the .text and other sections have 0bytes of data indicating there is no content in the build output. This means I cannot create a flash image or debug anything on the EVB.
I have used this link as reference to integrate and do the build: https://blog.karthisoftek.com/a?ID=01500-f23a36a3-51ec-4277-abd8-88526ba8a971 .
Request your support in resolving this issue.
Thanks.
Solved! Go to Solution.
The linker file looks okay - but there is no ENTRY point defined. Are you passing entry point in command line arguments?
More details about ENTRY:
https://ftp.gnu.org/old-gnu/Manuals/ld-2.9.1/html_node/ld_24.html
You can try to add default entry:
Hi,
there is probably missing linker file script for your project:
Just add it in project properties. If there is no linker script provided by example - you can create new empty project for S32K118 and copy default linker script file into your project.
Jiri
The linker file looks okay - but there is no ENTRY point defined. Are you passing entry point in command line arguments?
More details about ENTRY:
https://ftp.gnu.org/old-gnu/Manuals/ld-2.9.1/html_node/ld_24.html
You can try to add default entry:
Thank you.
I added the ENTRY and _end sections and was able to generate the correct output file.
Hello,
What version of S32 Design Studio are you using?
S32 Design Studio for ARM, version2.2