Hi,
I am using ARM compiler 5.1.9 and I'm trying to place a function in a section of the linker called "flashAPI", but I am getting an unrecognized #pragma warning
#pragma arm section code = "flashAPI"
static void handleFlashPrepare(CmdFmt_Obj *pCmd, RspFmt_Obj *pRsp)
{
I can place it in the section successfully using __attribute__, but I don't want to have to enable gcc extensions
__attribute__ ((section ("flashAPI"))) static void handleFlashPrepare(CmdFmt_Obj *pCmd, RspFmt_Obj *pRsp)
Is my syntax for the #pragma incorrect?
Thanks,
David