CMAKE equivalent of S32DS build

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

CMAKE equivalent of S32DS build

705 Views
HemantK
Contributor III

Hello, 

We are able to use S32DS for S32k344 and generate my bootloader without an issue. 

 We have an automated build system which uses cmake to generate the elf file.

However comparing the elf file generated via S32DS and one generated by cmake are totally different.

I tried to include all the compiler / linker flags used in S32DS and also used the same libraries used by the tool but still am not able to get the right elf file.

 

Do you have any example of cmake which contains contains the flags and library include which I can use to generate exactly the same elf file.

 

Regards, 

Hemant Kapoor

0 Kudos
Reply
1 Reply

455 Views
Bruce_Ye
Contributor I

Hello, 

Have you successfully solved this problem?

I successfully generated an elf file using the cmake+NinJa and GHS compilers. But when using S32DS dbug, functions such as Step over cannot be used as expected.

0 Kudos
Reply