Viewing a GCC map file in the IDE, ASSERT lines are flagged as a problem:
Description Resource Path Location Type
missing '=' at '(' MFW2.map /MFW2/Debug line: 17202 /MFW2/Debug/MFW2.map Map File Problem
The map file contents are for example:
LOAD ./Generated_uC_setup/pin_mux.o
LOAD C:\git_CAP\repo_MFW2\MFW2\libs\libarm_cortexM4lf_math.a
0x00016000 HEAP_SIZE = DEFINED (__heap_size__)?__heap_size__:0x400
0x00000800 STACK_SIZE = DEFINED (__stack_size__)?__stack_size__:0x400
0x00000001 ASSERT (((HEAP_SIZE & 0xf) == 0x0), HEAP_SIZE must be multiple of 16)
0x00000001 ASSERT (((STACK_SIZE & 0xf) == 0x0), STACK_SIZE must be multiple of 16)
0x00016000 _HeapSize = HEAP_SIZE
0x00000800 _StackSize = STACK_SIZE
0x00000000 M_VECTOR_RAM_SIZE = 0x0The link works just fine.
I'm using NXP's MCUXpresso IDE v11.3.0 [Build 5222] [2021-01-11],
which is based on Eclipse CDT 9.11.1.202006011430
Thanks in advance,
Best Regards, Dave
PS: Also... If Eclipse is started with the map file as an open tab, but the map file is not present (for example after a clean), the viewer dies with a null-ptr exception.
PPS: I tried reporting the problem here but got nowhere: https://www.eclipse.org/forums/index.php/m/1852668/#msg_1852668