feat(eink): 4.2" 400x300 build with the misc-fixed 9x15 font, wide sim

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Jakub
2026-10-06 13:44:11 +02:00
co-authored by Claude Opus 5.5
parent 44ccd47a12
commit 5864e556ff
8 changed files with 2493 additions and 21 deletions
+21 -6
View File
@@ -4,13 +4,15 @@
; variants in variants/, so this repo's Solo-specific additions don't get
; mixed in with configs other MeshCore forks/upstream also carry.
;
; Two builds, one per orientation: each screen is laid out for one shape, and
; Settings > Rotation only turns it upside down. Landscape writes in the 8x13
; font at the panel's own resolution (EINK_LARGE_FONT); portrait keeps the 6x9,
; whose narrow width wants the smaller cell. The joystick reads upright with the
; panel at rotation 1 (landscape) and turns with it (JOYSTICK_UPRIGHT_ROTATION).
; Two builds for the 2.13" panel, one per orientation: each screen is laid out
; for one shape, and Settings > Rotation only turns it upside down. Landscape
; writes in the 8x13 font at the panel's own resolution (EINK_LARGE_FONT);
; portrait keeps the 6x9, whose narrow width wants the smaller cell. The
; joystick reads upright with the panel at rotation 1 (landscape) and turns
; with it (JOYSTICK_UPRIGHT_ROTATION). A third for a 4.2" 400x300 panel on the
; same wiring, in the 9x15.
;
; Both: Dual BLE+USB with added Solo.
; All: Dual BLE+USB with added Solo.
[eink_solo]
extends = WioTrackerL1Eink
; Optimise for size, not speed: the nRF52 Arduino core defaults to -Ofast
@@ -43,3 +45,16 @@ extends = eink_solo
build_unflags = ${eink_solo.build_unflags} -D DISPLAY_ROTATION=1
build_flags = ${eink_solo.build_flags}
-D DISPLAY_ROTATION=0
; A 4.2" 400x300 panel (Good Display GDEY042T81, SSD1683 -- the 2.13"'s
; SSD1680's bigger sibling) in place of the 2.13", on the same wiring. Its
; native orientation is landscape (rotation 0); text in the 9x15.
[env:WioTrackerL1Eink42_solo_dual]
extends = eink_solo
build_unflags = ${eink_solo.build_unflags} -D EINK_DISPLAY_MODEL=GxEPD2_213_B74 -D DISPLAY_ROTATION=1
-D JOYSTICK_UPRIGHT_ROTATION=1
build_flags = ${eink_solo.build_flags}
-D EINK_DISPLAY_MODEL=GxEPD2_420_GDEY042T81
-D DISPLAY_ROTATION=0
-D JOYSTICK_UPRIGHT_ROTATION=0
-D EINK_LARGE_FONT=2