ETAS OS's integration

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

ETAS OS's integration

522 Views
ZMY666777
Contributor II

We are currently trying to integrate ETAS OS into S32DS project and compile using GCC instead of ETASOS' default GHS. I wonder which example project will be easier that I should base my porting work on, and I would be appreciate it if there is any advice or guidance.

0 Kudos
Reply
2 Replies

487 Views
jiri_kral
NXP Employee
NXP Employee

Hi, 

the main difference between GHS and gcc is that GHS uses #pragma instead of __attribute__ in gcc. But in my opinion it is easy replace #pragmas by __attribude__ - if needed. . 

 

You can simply create new S32DS project, move your existing source code and fix errors reported by compiler. 

0 Kudos
Reply

494 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

I am not familiar with ETAS OS. If the GCC is supported compiler then it will be quite simple.

If you need to port from GHS to GCC, well, that would require a significant amount of effort.

Not sure why you want to start from some example. I would start with blank project.

You can also use GHS compiler within the S32DS instead of GCC.

Best regards,

Peter