prusa3d / Prusa-Firmware

Firmware for Original Prusa i3 3D printer by PrusaResearch
GNU General Public License v3.0
1.99k stars 1.05k forks source link

Add DEBUG_EEPROM_CHANGES #4619

Closed 3d-gussner closed 4 months ago

3d-gussner commented 4 months ago

Very useful to debug multiple issue. Thanks @DRracer for the idea https://github.com/prusa3d/Prusa-Firmware/pull/2842 and help to get this working.

github-actions[bot] commented 4 months ago

All values in bytes. Δ Delta to base

Target ΔFlash ΔSRAM Used Flash Used SRAM Free Flash Free SRAM
MK3S_MULTILANG 2 0 247030 5654 6922 2538
MK3_MULTILANG 2 0 246312 5661 7640 2531
3d-gussner commented 4 months ago

🤔 where are the +2 bytes coming from? It looks like something didn't get optimized correctly... may be adding some __attribute__((always_inline)) might push the compiler the right way.

Anyway, I'm ok with this PR as it is now.

Maybe @gudnimg can use some :magic_wand: