Hello Anton,
Unfortunately, there is no automatic GHS -> GCC migration tool available.
If your existing GHS project has been created in S32DS then the migration is pretty straightforward whereas if it's MULTI .gpj project the migration is more complex especially when it comes to a multi-core project.
Anyway I'd recommend you to create a new GCC project in S32DS project and transfer all the source files to new S32DS GCC project(s).
Migration of the C/C++ code should not be a big deal (except perhaps GHS specific pragmas).
e.g.
GHS:
#pragma ghs section rodata =".isrvectbl"
uint32_t const IntcIsrVectorTable[] = {
GCC:
const uint32_t __attribute__ ((section (".intc_vector_table"))) IntcIsrVectorTable[] = {
Linker script files are quite similar.
I attached two S32DS projects - one created for GHS and the other one GCC so you can compare the diffs.
If you have more specific question about the migration please let us know or share a snippet of your project.
Hope it helps.
Stan