Hello,
I am not clear what you want to achieve. Do you have experience with AUTOSAR and its configuration tools already?
Because that is essential to be able understand and build any example.
I see you are referring to MCAL and now to OS (which one?)
[FLASH_START] in the file [flashrchw. c]
This looks like a part of S32DS for core control. So you are using GHS compiler plugin in S32DS right?
Unfortunately from your brief explanation I am not able to understand what is your setup and what you want to achieve.
What could help you in orientation is our HOW TOs for S32DS:
https://community.nxp.com/t5/S32-Design-Studio-Knowledge-Base/S32DS-list-of-HOWTOs/ta-p/1113475
Best regards,
Peter