mirror of
https://github.com/alexhopeoconnor/firmware.git
synced 2026-10-18 17:31:42 +10:00
* simplify the observer pattern, since all the called functions are const getters. * use arduino macro over std: for numerical values and refactor local variables in drawScrollbar() * oh, so Cppcheck actually complained about const pointers not being const. * slowly getting out of ifdef hell * fix inkHUD warnings as well * last 2 check warnings * git checks should fail on low defects from now on
NicheGraphics
A pattern / collection of resources for creating custom UIs, to target small groups of devices which have specific design requirements.
For an example, see the heltec-vision-master-e290-inkhud platformio env.
-
platformio.ini
- suppress default Meshtastic components (Screen, ButtonThread, etc)
- define
MESHTASTIC_INCLUDE_NICHE_GRAPHICS - (possibly) Edit
build_src_filterto include our new nicheGraphics.h file
-
nicheGraphics.h
#includeall necessary components- perform all setup and config inside a
setupNicheGraphics()method