I finished fixing my Anet A8 about the 3DTouch sensor working with the LCD2004 stock display, I am installing the full graphic display LCD 12864 (for Anet A6) but when I compile Marlin 1.1.9 the following error appears:
Arduino: 1.8.9 (Windows 7), Sheet: 'Anet V1.0 (Optiboot)' c: / program files (x86) / arduino / hardware / tools / avr / bin /../ lib / gcc / avr / 5.4.0 /../../../../ avr / bin / ld. exe: C: Users Claudio AppData Local Temp aruino_build_739999 / Marlin - this_feature_good.ino.elf section `.text 'will not fit in region` text' c: / program files (x86) / arduino / hardware / tools / avr / bin /../ lib / gcc / avr / 5.4.0 /../../../../ avr / bin / ld. exe: region `text 'overflowed by 1866 bytes collect2.exe: error: ld returned 1 exit status
This happened after activating the Anet A6 display and deactivating the LCD2004.
Obviously given the low memory I performed the flash bootloader using ANET OPTIBOOT
and reloaded the firmware.
If I deactivate the whole part of the 3DTouch, then the 12864 LCD display works properly, now I have 130 kbit (about 16 kB) memory left.
Arduino warns me if I do not have enough memory. In this case, instead of those errors I do not know what they are for. Maybe using an older Marlin version would help?