Skip to content

Commit 6715662

Browse files
authored
don't build the niche* stuff for non-inkHUD builds. (#6217)
1 parent b6562e1 commit 6715662

File tree

6 files changed

+4
-15
lines changed

6 files changed

+4
-15
lines changed

platformio.ini

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ default_envs = tbeam
77
extra_configs =
88
arch/*/*.ini
99
variants/*/platformio.ini
10+
src/graphics/niche/InkHUD/PlatformioConfig.ini
11+
1012
description = Meshtastic
1113

1214
[env]
@@ -77,7 +79,7 @@ lib_deps =
7779
${env.lib_deps}
7880
end2endzone/[email protected]
7981
build_flags = ${env.build_flags} -Os
80-
build_src_filter = ${env.build_src_filter} -<platform/portduino/>
82+
build_src_filter = ${env.build_src_filter} -<platform/portduino/> -<graphics/niche/>
8183

8284
; Common libs for communicating over TCP/IP networks such as MQTT
8385
[networking_base]

src/graphics/niche/InkHUD/PlatformioConfig.ini

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
[inkhud]
2-
board_level = extra
3-
build_src_filter = +<../variants/$PIOENV> ; Include nicheGraphics.h
2+
build_src_filter = +<../variants/$PIOENV> +<graphics/niche/>; Include nicheGraphics.h
43
build_flags =
54
-D MESHTASTIC_INCLUDE_NICHE_GRAPHICS ; Use NicheGraphics
65
-D MESHTASTIC_INCLUDE_INKHUD ; Use InkHUD (a NicheGraphics UI)

variants/heltec_vision_master_e213/platformio.ini

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,6 @@ lib_deps =
1919
lewisxhe/PCF8563_Library@^1.0.1
2020
upload_speed = 115200
2121

22-
; Using experimental InkHUD UI (work in progress)
23-
[platformio]
24-
extra_configs = src/graphics/niche/InkHUD/PlatformioConfig.ini
2522
[env:heltec-vision-master-e213-inkhud]
2623
extends = esp32s3_base, inkhud
2724
board = heltec_vision_master_e213

variants/heltec_vision_master_e290/platformio.ini

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@ lib_deps =
2323
lewisxhe/PCF8563_Library@^1.0.1
2424
upload_speed = 115200
2525

26-
; Using experimental InkHUD UI (work in progress)
27-
[platformio]
28-
extra_configs = src/graphics/niche/InkHUD/PlatformioConfig.ini
2926
[env:heltec-vision-master-e290-inkhud]
3027
extends = esp32s3_base, inkhud
3128
board = heltec_vision_master_e290

variants/heltec_wireless_paper/platformio.ini

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,6 @@ lib_deps =
2020
lewisxhe/PCF8563_Library@^1.0.1
2121
upload_speed = 115200
2222

23-
; Using experimental InkHUD UI (work in progress)
24-
[platformio]
25-
extra_configs = src/graphics/niche/InkHUD/PlatformioConfig.ini
2623
[env:heltec-wireless-paper-inkhud]
2724
extends = esp32s3_base, inkhud
2825
board = heltec_wifi_lora_32_V3

variants/t-echo/platformio.ini

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@ lib_deps =
2424
lewisxhe/PCF8563_Library@^1.0.1
2525
;upload_protocol = fs
2626

27-
; Using experimental InkHUD UI (work in progress)
28-
[platformio]
29-
extra_configs = src/graphics/niche/InkHUD/PlatformioConfig.ini
3027
[env:t-echo-inkhud]
3128
extends = nrf52840_base, inkhud
3229
board = t-echo

0 commit comments

Comments
 (0)