This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Map file "number" symbol type access

Hi,

I am using MDK-ARM V5.17 on Cortex-M4. The generated map file contains the following line:

__MW_NET_VER 0x06070000 Number 0 net_version.o ABSOLUTE

This originates from Keil but does not reside in any Keil header file. The symbol type is shown in the map file as "Number" as opposed to "Data".
How do I write code in my program to determine the value of __MW_NET_VER? The following gives a hard fault:

    extern const int __MW_NET_VER;
    if ( __MW_NET_VER != 0x06070000 )
    {
        // blah blah
    }

Thanks.