mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-11-01 10:21:59 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user