I created a UART example project, and I want to run the algorithm related.c file in RAM to reduce the running time. But I don't know how to operate it. Could you help me? I use S32 Design Studio for S32 Platform 3.4
Hi @652856839,
It depends on the linker file used.
If you use the default linker file in the S32DS 3.4 IDE, declare the functions with the following attribute:
__attribute__((section(".ramcode"))) void your_function_in_sram(void);
Regards,
Daniel