Hello Stan,
thanks for your answer, but I want do something else.
I use the ammc lib von nxp. From this lib I want to relocate a function in the RAM.
I only have the include file with the declaration
“extern tFloat GFLIB_ControllerPIpAW_FLT(tFloat fltInErr,GFLIB_CONTROLLER_PIAW_P_T_FLT * const pParam);”
I tried to add “tFloat GFLIB_ControllerPIpAW_FLT(tFloat fltInErr,GFLIB_CONTROLLER_PIAW_P_T_FLT * const pParam) __attribute__ ((section(".code_ram")));” before,
but the function wasn’t located in the RAM.
BR Lutz
Von: stanish
Gesendet: Montag, 19. Februar 2018 17:31
An: Köhler, Lutz <lutz.koehler@acd-antriebstechnik.de>
Betreff: Re: - Re: How can I locate a lib funktion in RAM ?
NXP Community <https://community.freescale.com/resources/statics/1000/35400-NXP-Community-Email-banner-600x75.jpg>
Re: How can I locate a lib funktion in RAM ?
reply from Stanislav Sliva<https://community.nxp.com/people/stanish?et=watches.email.thread> in S32 Design Studio - View the full discussion<https://community.nxp.com/message/988147?commentID=988147&et=watches.email.thread#comment-988147>