Skip to content

Commit 2d532b2

Browse files
committed
Variants: Enable ElegantOTA on ESP32-C6 devices
1 parent 3a9e108 commit 2d532b2

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

variants/lilygo_tlora_c6/platformio.ini

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ build_src_filter = ${tlora_c6.build_src_filter}
3737
+<../examples/simple_repeater/*.cpp>
3838
build_flags =
3939
${tlora_c6.build_flags}
40+
${esp32_ota.build_flags}
4041
-D ADVERT_NAME='"Tlora C6 Repeater"'
4142
-D ADVERT_LAT=0.0
4243
-D ADVERT_LON=0.0
@@ -46,14 +47,15 @@ build_flags =
4647
; -D MESH_DEBUG=1
4748
lib_deps =
4849
${tlora_c6.lib_deps}
49-
; ${esp32_ota.lib_deps}
50+
${esp32_ota.lib_deps}
5051

5152
[env:LilyGo_Tlora_C6_room_server_]
5253
extends = tlora_c6
5354
build_src_filter = ${tlora_c6.build_src_filter}
5455
+<../examples/simple_room_server>
5556
build_flags =
5657
${tlora_c6.build_flags}
58+
${esp32_ota.build_flags}
5759
-D ADVERT_NAME='"Tlora C6 Room"'
5860
-D ADVERT_LAT=0.0
5961
-D ADVERT_LON=0.0
@@ -63,7 +65,7 @@ build_flags =
6365
; -D MESH_DEBUG=1
6466
lib_deps =
6567
${tlora_c6.lib_deps}
66-
; ${esp32_ota.lib_deps}
68+
${esp32_ota.lib_deps}
6769

6870
[env:LilyGo_Tlora_C6_companion_radio_ble_]
6971
extends = tlora_c6

variants/xiao_c6/platformio.ini

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ build_src_filter = ${Xiao_C6.build_src_filter}
3737
+<../examples/simple_repeater/*.cpp>
3838
build_flags =
3939
${Xiao_C6.build_flags}
40+
${esp32_ota.build_flags}
4041
-D ADVERT_NAME='"Xiao C6 Repeater"'
4142
-D ADVERT_LAT=0.0
4243
-D ADVERT_LON=0.0
@@ -46,7 +47,7 @@ build_flags =
4647
; -D MESH_DEBUG=1
4748
lib_deps =
4849
${Xiao_C6.lib_deps}
49-
; ${esp32_ota.lib_deps}
50+
${esp32_ota.lib_deps}
5051

5152
[env:Xiao_C6_companion_radio_ble_]
5253
extends = Xiao_C6
@@ -154,6 +155,7 @@ build_src_filter = ${WHY2025_badge.build_src_filter}
154155
+<../examples/simple_repeater/*.cpp>
155156
build_flags =
156157
${WHY2025_badge.build_flags}
158+
${esp32_ota.build_flags}
157159
-D ADVERT_NAME='"WHY2025 Badge Repeater"'
158160
-D ADVERT_LAT=0.0
159161
-D ADVERT_LON=0.0
@@ -163,7 +165,7 @@ build_flags =
163165
; -D MESH_DEBUG=1
164166
lib_deps =
165167
${WHY2025_badge.lib_deps}
166-
; ${esp32_ota.lib_deps}
168+
${esp32_ota.lib_deps}
167169

168170
[env:WHY2025_badge_companion_radio_ble_]
169171
extends = WHY2025_badge

0 commit comments

Comments
 (0)