When i try build on PlatformIO with def. build_flags i got: (no change in Marlin configuration)
Building in release mode
RAM: [=== ] 29.4% (used 4818 bytes from 16384 bytes)
Flash: [==========] 98.6% (used 128204 bytes from 130048 bytes)
I got this with this build_flags: -fmax-errors=5 -g -fmerge-all-constants
Building in release mode
RAM: [=== ] 29.4% (used 4818 bytes from 16384 bytes)
Flash: [==========] 97.5% (used 126762 bytes from 130048 bytes)
With Arduino IDE 1.8.14 I got: (only this change: //#define ENDSTOP_INTERRUPTS_FEATURE)
Sketch uses 125738 bytes (96%) of program storage space. Maximum is 130048 bytes.
Global variables use 4814 bytes (29%) of dynamic memory, leaving 11570 bytes for local variables. Maximum is 16384 bytes.
Do you tray any other compiler options which can help to reduce code size ?
Compile options on PlatformIO
When i try build on PlatformIO with def. build_flags i got: (no change in Marlin configuration)
I got this with this build_flags: -fmax-errors=5 -g -fmerge-all-constants
With Arduino IDE 1.8.14 I got: (only this change:
//#define ENDSTOP_INTERRUPTS_FEATURE)
Do you tray any other compiler options which can help to reduce code size ?