Part Number: CC3200
Tool/software: TI-RTOS
Hello,
I'm trying to change the abort hook to another function. So I made this change:
I can see that the change has been made. The file projectname_pem4.c has these lines:
/* --> systemAbort */ extern xdc_Void systemAbort(xdc_Void); /* abortFxn__C */ #pragma DATA_SECTION(xdc_runtime_System_abortFxn__C, ".const:xdc_runtime_System_abortFxn__C"); __FAR__ const CT__xdc_runtime_System_abortFxn xdc_runtime_System_abortFxn__C = ((CT__xdc_runtime_System_abortFxn)((xdc_Fxn)systemAbort));
However, when I call System_abort() it executes what is defined in xdctoolsdirectory/packages/xdc/runtime/System.h
/* abort__E */ #define xdc_runtime_System_abort xdc_runtime_System_abort__E xdc__CODESECT(xdc_runtime_System_abort__E, "xdc_runtime_System_abort") __extern xdc_Void xdc_runtime_System_abort__E( xdc_CString str );
which is the standard abort function.
What is the difference between the __E and the __C functions? How am I supposed to change the __E version or why is it linking against that one and not what I tell it through the configuration?
Thanks in advance!