feat(P4): Eigener Menüpunkt "Darstellung", größere Uhr im Standby (1.9.6)
- Der Darstellungsblock wandert aus build_info() in ein eigenes build_display() mit neuer Seite PG_DISPLAY. Die Info-Seite zeigt nur noch Firmware-Stände und Verbindungsdaten. - clock_font() liefert für WS_PANEL_7H jetzt 180/270/360 statt 120/180/240. Für JC_PANEL_43 bleiben die alten Stufen - 360 px passen nicht auf 480x480. - Neue Fonts lv_font_clock_270/_360 (Maven Pro Regular, bpp 4, Range 32,45,0x30-0x3A). bpp 3 scheidet aus: lv_font_conv erlaubt das nur mit Kompression, und die kostet beim Zeichnen genau das, was gerade eingespart wird. - Alle fünf Uhr-Fonts sind deklariert; der Linker verwirft die je nach Panel ungenutzten. Netto wächst die WS-Firmware um 196 KB. Beide Panel-Varianten mit arduino-cli gegengebaut (PartitionScheme=custom, passend zur partitions.csv mit zwei 6,5-MB-Slots). Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NeFMr439WcLMdebE3kU7fS
This commit is contained in:
co-authored by
Claude Opus 5
parent
14f1a4789d
commit
b3b96362c3
@@ -571,7 +571,9 @@
|
||||
LV_FONT_DECLARE(lv_font_maven_pro_bold_140) \
|
||||
LV_FONT_DECLARE(lv_font_clock_120) \
|
||||
LV_FONT_DECLARE(lv_font_clock_180) \
|
||||
LV_FONT_DECLARE(lv_font_clock_240)
|
||||
LV_FONT_DECLARE(lv_font_clock_240) \
|
||||
LV_FONT_DECLARE(lv_font_clock_270) \
|
||||
LV_FONT_DECLARE(lv_font_clock_360)
|
||||
|
||||
/*Always set a default font*/
|
||||
#define LV_FONT_DEFAULT &lv_font_maven_pro_14
|
||||
|
||||
Reference in New Issue
Block a user