Hello all
I am a bit new to the embedded system world so please bear with me. I am trying to migrate the code from Code Warrior platform to S32DS. It seems that initialization part is not the same between the 2 tools. On our custom board (using it to run an internal combustion engine) we are using the internal flash and external RAM to run the code. I have looked through the NXP document about MPC5674F software initialization and optimization and it looks like a lot of startup is done in a provided startup.s file. But I did not see anything about using the external RAM. My question is, do I need to write a routine in the startup.s file in order to initialize external RAM or is there a setting in the S32DS that I can click and it will automatically change from using the internal SRAM to external RAM if the address is provided.
Additionally, can one run a one line assembly code in the .c file or is that not possible with GCC compiler? What is the format? From code warrior we had:
asm{
instruction 1
instruction 2
instruction 3
}
In S32 it seems to use () parenthesis, but its still not liking it. Any help is greatly appreciated guys! Like I said, I am new to embedded systems so this is a little bit of a learning curve for me.