Skip to content

add some CFLAGs to shrink binary file size #1499

Closed
@MaBecker

Description

@MaBecker

add this CFLAG to get approximately 2.5k less in size (#1207)

-fno-guess-branch-probability -freorder-blocks-and-partition -fno-cse-follow-jumps
without

** user1.bin uses 458324 bytes of 479232 available ESP8266_BOARD
** user1.bin uses 516564 bytes of 962560 available ESP8266_4MB
with

** user1.bin uses 455796 bytes of 479232 available ESP8266_BOARD
** user1.bin uses 513972 bytes of 962560 available ESP8266_4MB

Metadata

Metadata

Assignees

No one assigned

    Labels

    ESP8266This is only a problem on ESP8266 devices

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions