• AVR Freaks

Hot!XC8 Map files don't view fuction size

Author
ashraf.m.alraheem@gmail.com
New Member
  • Total Posts : 8
  • Reward points : 0
  • Joined: 2019/02/28 05:38:20
  • Location: 0
  • Status: offline
2020/11/24 23:32:32 (permalink)
0

XC8 Map files don't view fuction size

I need to look into map file to compare different functions sizes.
In the map file this what was shown:
__size_of_CRC16 (abs) 000000
__size_of_DefaultDisplay (abs) 000000
__size_of_DefaultState (abs) 000000
__size_of_DisplayCommErr1 (abs) 000000
__size_of_DisplayCommErr2 (abs) 000000
__size_of_DisplayCommErr3 (abs) 000000
__size_of_DisplayCommErr4 (abs) 000000
__size_of_DisplayEventLog (abs) 000000
__size_of_DisplayLastCrdTkn (abs) 000000

 
I can find the size of each function individually in MODULE INFORMATION section. However, it is not convenient to search for each individual function and make the table by hand!

How to enable __size_of feature??
 
I am using MPLAB Xv5.15 and XC8 v2.30 with PIC18F65K90
#1

1 Reply Related Threads

    mad_c
    Super Member
    • Total Posts : 1271
    • Reward points : 0
    • Joined: 2010/12/12 17:48:27
    • Location: Brisbane, Australia
    • Status: offline
    Re: XC8 Map files don't view fuction size 2020/11/25 14:34:05 (permalink)
    +1 (1)
    Hi,
    There is no option to correct this situation, and you will need to use the values provided in the module section. I'll make a note to have these symbols either removed or fixed up by the linker, but I suspect it might be the former that is implemented.
    Jeff.
    #2
    Jump to:
    © 2021 APG vNext Commercial Version 4.5