• AVR Freaks

Hot!XC16 cool option! What is that about?

Author
WeHongKongers
Super Member
  • Total Posts : 239
  • Reward points : 0
  • Status: offline
2020/05/16 05:29:02 (permalink)
1 (1)

XC16 cool option! What is that about?

Hello Friends,
I try the option "remove unused section" from within the XC16 project property!
And the program usage drop from "22%, 56%" to "7%, 10%".
 
What magic does this option do?

Attached Image(s)

#1

3 Replies Related Threads

    du00000001
    Just Some Member
    • Total Posts : 3942
    • Reward points : 0
    • Joined: 2016/05/03 13:52:42
    • Location: Germany
    • Status: online
    Re: XC16 cool option! What is that about? 2020/05/16 07:43:17 (permalink)
    +3 (7)
    What about consulting the XC16 user manual?

    PEBKAC / EBKAC / POBCAK / PICNIC (eventually see en.wikipedia.org)
    #2
    RodoPIC
    Super Member
    • Total Posts : 189
    • Reward points : 0
    • Status: offline
    Re: XC16 cool option! What is that about? 2020/05/28 13:54:38 (permalink)
    0 (2)
    Manual says: 
     
    Check to not enable garbage collection of unused input sections (on some targets).
    Uncheck to enable garbage collection.
     
    A real eye opener ...lol.
    #3
    WeHongKongers
    Super Member
    • Total Posts : 239
    • Reward points : 0
    • Status: offline
    Re: XC16 cool option! What is that about? 2020/05/31 12:40:38 (permalink)
    0 (2)
    Does it mean the default generated XC16 codes are mostly rubbish?!? LoL: LoL
    #4
    Jump to:
    © 2020 APG vNext Commercial Version 4.5