Hello,because driver/example(for example,the SENT driver) was done in GreenHills.But most of the code in my project is written in S32DS,so I want to know how to transfer the projects in S32DS to GreenHill?Can I directly copy the project from S32DS to GreenHill?
Thanks.
已解决! 转到解答。
I would recommend to contact GreenHills support:
https://support.ghs.com/
They might have some tools or procedure to do this, although I don't fully expect it.
Anyway ANSI C files (.c and .h) you may use as they are, unless they contain inline assembler where there is slightly different syntax of compiler directives.
Assembler startup files will be needed to use their or modify it according their compiler syntax as well as linker files and compiler setup. Apparently easier approach is to use GHS simple base example code and add needed functionality from S32DS original project.
I would recommend to contact GreenHills support:
https://support.ghs.com/
They might have some tools or procedure to do this, although I don't fully expect it.
Anyway ANSI C files (.c and .h) you may use as they are, unless they contain inline assembler where there is slightly different syntax of compiler directives.
Assembler startup files will be needed to use their or modify it according their compiler syntax as well as linker files and compiler setup. Apparently easier approach is to use GHS simple base example code and add needed functionality from S32DS original project.