Skip to content

Commit 489bcaf

Browse files
committed
raised max contacts for esp32 classic companions to 160 and 170; set to 300 for WSL3
1 parent 8b3c16c commit 489bcaf

File tree

5 files changed

+33
-13
lines changed

5 files changed

+33
-13
lines changed

variants/heltec_v2/platformio.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ lib_deps =
6464
extends = Heltec_lora32_v2
6565
build_flags =
6666
${Heltec_lora32_v2.build_flags}
67-
-D MAX_CONTACTS=100
67+
-D MAX_CONTACTS=170
6868
-D MAX_GROUP_CHANNELS=1
6969
; -D MESH_PACKET_LOGGING=1
7070
; -D MESH_DEBUG=1
@@ -80,7 +80,7 @@ build_flags =
8080
${Heltec_lora32_v2.build_flags}
8181
-I examples/companion_radio/ui-new
8282
-D DISPLAY_CLASS=SSD1306Display
83-
-D MAX_CONTACTS=100
83+
-D MAX_CONTACTS=170
8484
-D MAX_GROUP_CHANNELS=8
8585
; NOTE: DO NOT ENABLE --> -D MESH_PACKET_LOGGING=1
8686
; NOTE: DO NOT ENABLE --> -D MESH_DEBUG=1
@@ -100,7 +100,7 @@ build_flags =
100100
${Heltec_lora32_v2.build_flags}
101101
-I examples/companion_radio/ui-new
102102
-D DISPLAY_CLASS=SSD1306Display
103-
-D MAX_CONTACTS=100
103+
-D MAX_CONTACTS=170
104104
-D MAX_GROUP_CHANNELS=8
105105
-D BLE_PIN_CODE=123456
106106
-D BLE_DEBUG_LOGGING=1

variants/heltec_v3/platformio.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ extends = Heltec_lora32_v3
8787
build_flags =
8888
${Heltec_lora32_v3.build_flags}
8989
-I examples/companion_radio/ui-new
90-
-D MAX_CONTACTS=100
90+
-D MAX_CONTACTS=300
9191
-D MAX_GROUP_CHANNELS=8
9292
-D DISPLAY_CLASS=SSD1306Display
9393
; NOTE: DO NOT ENABLE --> -D MESH_PACKET_LOGGING=1
@@ -130,7 +130,7 @@ extends = Heltec_lora32_v3
130130
build_flags =
131131
${Heltec_lora32_v3.build_flags}
132132
-I examples/companion_radio/ui-new
133-
-D MAX_CONTACTS=100
133+
-D MAX_CONTACTS=300
134134
-D MAX_GROUP_CHANNELS=8
135135
-D DISPLAY_CLASS=SSD1306Display
136136
-D WIFI_DEBUG_LOGGING=1
@@ -207,7 +207,7 @@ lib_deps =
207207
extends = Heltec_lora32_v3
208208
build_flags =
209209
${Heltec_lora32_v3.build_flags}
210-
-D MAX_CONTACTS=100
210+
-D MAX_CONTACTS=300
211211
-D MAX_GROUP_CHANNELS=8
212212
-D BLE_PIN_CODE=123456
213213
-D BLE_DEBUG_LOGGING=1

variants/lilygo_tbeam_SX1262/platformio.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ build_src_filter = ${esp32_base.build_src_filter}
2424
+<../variants/lilygo_tbeam_SX1262>
2525
+<helpers/ui/SSD1306Display.cpp>
2626
+<helpers/esp32/TBeamBoard.cpp>
27-
+<helpers/sensors>
27+
+<helpers/sensors>
2828
board_build.partitions = min_spiffs.csv ; get around 4mb flash limit
2929
lib_deps =
3030
${esp32_base.lib_deps}
@@ -38,7 +38,7 @@ board_build.upload.maximum_ram_size=2000000
3838
build_flags =
3939
${LilyGo_TBeam_SX1262.build_flags}
4040
-I examples/companion_radio/ui-new
41-
-D MAX_CONTACTS=100
41+
-D MAX_CONTACTS=160
4242
-D MAX_GROUP_CHANNELS=8
4343
-D BLE_PIN_CODE=123456
4444
-D OFFLINE_QUEUE_SIZE=256

variants/lilygo_tbeam_SX1276/platformio.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ build_src_filter = ${esp32_base.build_src_filter}
2222
+<../variants/lilygo_tbeam_SX1276>
2323
+<helpers/ui/SSD1306Display.cpp>
2424
+<helpers/esp32/TBeamBoard.cpp>
25-
+<helpers/sensors>
25+
+<helpers/sensors>
2626
board_build.partitions = min_spiffs.csv ; get around 4mb flash limit
2727
lib_deps =
2828
${esp32_base.lib_deps}
@@ -37,7 +37,7 @@ board_build.upload.maximum_ram_size=2000000
3737
build_flags =
3838
${LilyGo_TBeam_SX1276.build_flags}
3939
-I examples/companion_radio/ui-new
40-
-D MAX_CONTACTS=100
40+
-D MAX_CONTACTS=160
4141
-D MAX_GROUP_CHANNELS=8
4242
-D BLE_PIN_CODE=123456
4343
; -D BLE_DEBUG_LOGGING=1

variants/lilygo_tlora_v2_1/platformio.ini

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ lib_deps =
6868
extends = LilyGo_TLora_V2_1_1_6
6969
build_flags =
7070
${LilyGo_TLora_V2_1_1_6.build_flags}
71-
-D MAX_CONTACTS=100
71+
-D MAX_CONTACTS=160
7272
-D MAX_GROUP_CHANNELS=8
7373
; -D MESH_PACKET_LOGGING=1
7474
; -D MESH_DEBUG=1
@@ -84,7 +84,7 @@ extends = LilyGo_TLora_V2_1_1_6
8484
build_flags =
8585
${LilyGo_TLora_V2_1_1_6.build_flags}
8686
-I examples/companion_radio/ui-new
87-
-D MAX_CONTACTS=100
87+
-D MAX_CONTACTS=160
8888
-D MAX_GROUP_CHANNELS=8
8989
; NOTE: DO NOT ENABLE --> -D MESH_PACKET_LOGGING=1
9090
; NOTE: DO NOT ENABLE --> -D MESH_DEBUG=1
@@ -102,7 +102,7 @@ extends = LilyGo_TLora_V2_1_1_6
102102
build_flags =
103103
${LilyGo_TLora_V2_1_1_6.build_flags}
104104
-I examples/companion_radio/ui-new
105-
-D MAX_CONTACTS=100
105+
-D MAX_CONTACTS=160
106106
-D MAX_GROUP_CHANNELS=8
107107
-D BLE_PIN_CODE=123456
108108
-D OFFLINE_QUEUE_SIZE=256
@@ -136,3 +136,23 @@ build_flags =
136136
lib_deps =
137137
${LilyGo_TLora_V2_1_1_6.lib_deps}
138138
${esp32_ota.lib_deps}
139+
140+
[env:LilyGo_TLora_V2_1_1_6_companion_radio_wifi]
141+
extends = LilyGo_TLora_V2_1_1_6
142+
build_flags =
143+
${LilyGo_TLora_V2_1_1_6.build_flags}
144+
-I examples/companion_radio/ui-new
145+
-D MAX_CONTACTS=160
146+
-D MAX_GROUP_CHANNELS=8
147+
-D WIFI_SSID='"ssid"'
148+
-D WIFI_PWD='"password"'
149+
-D WIFI_DEBUG_LOGGING=1
150+
build_src_filter = ${LilyGo_TLora_V2_1_1_6.build_src_filter}
151+
+<helpers/esp32/*.cpp>
152+
+<helpers/ui/SSD1306Display.cpp>
153+
+<helpers/ui/MomentaryButton.cpp>
154+
+<../examples/companion_radio/*.cpp>
155+
+<../examples/companion_radio/ui-new/*.cpp>
156+
lib_deps =
157+
${LilyGo_TLora_V2_1_1_6.lib_deps}
158+
densaugeo/base64 @ ~1.4.0

0 commit comments

Comments
 (0)