fablab-bergamo / Fab-O-matic

RFID machine access solution for a Fab Lab, based on ESP32. Uses modern C++ with Arduino framework. Hardware project is included.
https://www.fablabbergamo.it/2024/06/03/fabomatic1/
MIT License
2 stars 3 forks source link

Size optimizations #21

Closed PBrunot closed 4 months ago

github-actions[bot] commented 4 months ago

Firmware size changes for esp32dev

Commit CURRENT ebf90767b92cd133200c5871646ebfb5574164af vs REFERENCE b68325f13e4f4b8b7275674378c8fb54a738e44f

<CURRENT> MAP file: ../firmware.map.latest
<REFERENCE> MAP file: ../firmware.map.previous
Difference is counted as <CURRENT> - <REFERENCE>,           i.e. a positive number means that <CURRENT> is larger.
Total sizes of <CURRENT>:                                       <REFERENCE>     Difference
Used static DRAM:   59180 bytes (  65400 remain, 47.5% used)          59176             +4 (     -4 remain,      +0 total)
      .data size:   26196 bytes                                       27656          -1460
      .bss  size:   32984 bytes                                       31520          +1464
Used static IRAM:   85798 bytes (  45274 remain, 65.5% used)          85798                (     +0 remain,      +0 total)
      .text size:   84771 bytes                                       84771
   .vectors size:    1027 bytes                                        1027
Used Flash size : 1076743 bytes                                     1076743
           .text:  876191 bytes                                      876191
         .rodata:  200296 bytes                                      200296
Total image size: 1188737 bytes (.bin may be padded larger)         1190197          -1460
github-actions[bot] commented 4 months ago

Firmware size changes for hardware-rev0

Commit CURRENT ebf90767b92cd133200c5871646ebfb5574164af vs REFERENCE b68325f13e4f4b8b7275674378c8fb54a738e44f

<CURRENT> MAP file: ../firmware.map.latest
<REFERENCE> MAP file: ../firmware.map.previous
Difference is counted as <CURRENT> - <REFERENCE>,           i.e. a positive number means that <CURRENT> is larger.
Total sizes of <CURRENT>:                                       <REFERENCE>     Difference
Used static IRAM:   66834 bytes ( 295406 remain, 18.5% used)          66834                (     +0 remain,      +0 total)
      .text size:   65807 bytes                                       65807
   .vectors size:    1027 bytes                                        1027
Used stat D/IRAM:   57529 bytes ( 288327 remain, 16.6% used)          57529                (     +0 remain,      +0 total)
      .data size:   22449 bytes                                       23913          -1464
      .bss  size:   35080 bytes                                       33616          +1464
Used Flash size : 1172631 bytes                                     1172631
           .text:  957031 bytes                                      957031
         .rodata:  215344 bytes                                      215344
Total image size: 1261914 bytes (.bin may be padded larger)         1263378          -1464