How to get SPT Assembler at S32DS use GHS PowerPC Standalone Executable Toolchain

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to get SPT Assembler at S32DS use GHS PowerPC Standalone Executable Toolchain

Jump to solution
1,538 Views
jealy
Contributor I

Hi:

In S32R274 project,I want to use MCAL,so used toolchain is "GHS PowerPC Standalone Executable Toolchain",but I can not found SPT Assembler、SPT Disassembler、SPT Preprocessor, these three tool only enable "Standard S32DS toolchain for E200 ". 

SPT use assembly  not C language,So I need SPT Assembler。

Can someone help me?

0 Kudos
1 Solution
1,295 Views
jiri_kral
NXP Employee
NXP Employee

Hi, 

I mean output from spt assembly - If I'm correct .ospt object file. You can link this object file in your project. The solution may be to have two projects - for SPT - and second project for rest C/C++ sources. 

Jiri

View solution in original post

0 Kudos
3 Replies
1,295 Views
jiri_kral
NXP Employee
NXP Employee

Hi, 

the SPT assebly and SPT object dump binaries are located in 

[YOUR_S32DS_INSTALL]\S32DS_Power_v2017.R1\S32DS\SPT2\ 

I'm not sure if GHS supports SPT, but you can build your SPT code as standalone project with our SPT assembly and link object file in your code. 

Jiri

0 Kudos
1,294 Views
jealy
Contributor I

Hi Jiri

Thank you for your reply。

I know SPT enable at this picture。and if use "Standard S32DS toolchain for E200 ",I will find some tool,like follow picture

pastedImage_3.pngpastedImage_2.png

if use "GHS PowerPC Standalone Executable Toolchain",like follow picture

pastedImage_5.pngpastedImage_6.png

may be this picture can make you understand what i want say。

I'm not sure if GHS supports SPT, but you can build your SPT code as standalone project with our SPT assembly and link object file in your code. 

you mean that make SPT code as libs,than link these libs to my project?

Jealy

0 Kudos
1,296 Views
jiri_kral
NXP Employee
NXP Employee

Hi, 

I mean output from spt assembly - If I'm correct .ospt object file. You can link this object file in your project. The solution may be to have two projects - for SPT - and second project for rest C/C++ sources. 

Jiri

0 Kudos