Skip to content

Commit 0137875

Browse files
committed
add room server role for TBeam SX1262
1 parent 5489042 commit 0137875

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

variants/lilygo_tbeam_SX1262/platformio.ini

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,4 +69,21 @@ build_src_filter = ${LilyGo_TBeam_SX1262.build_src_filter}
6969
+<../examples/simple_repeater>
7070
lib_deps =
7171
${LilyGo_TBeam_SX1262.lib_deps}
72-
${esp32_ota.lib_deps}
72+
${esp32_ota.lib_deps}
73+
74+
[env:Tbeam_SX1262_room_server]
75+
extends = LilyGo_TBeam_SX1262
76+
build_flags =
77+
${LilyGo_TBeam_SX1262.build_flags}
78+
-D ADVERT_NAME='"Tbeam SX1262 Room"'
79+
-D ADVERT_LAT=0.0
80+
-D ADVERT_LON=0.0
81+
-D ADMIN_PASSWORD='"password"'
82+
-D ROOM_PASSWORD='"hello"'
83+
; -D MESH_PACKET_LOGGING=1
84+
; -D MESH_DEBUG=1
85+
build_src_filter = ${LilyGo_TBeam_SX1262.build_src_filter}
86+
+<../examples/simple_room_server>
87+
lib_deps =
88+
${LilyGo_TBeam_SX1262.lib_deps}
89+
${esp32_ota.lib_deps}

0 commit comments

Comments
 (0)