mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-03-30 17:05:52 +00:00
Screen support for tbeam
This commit is contained in:
@@ -101,6 +101,10 @@
|
||||
#include <helpers/CustomSX1262Wrapper.h>
|
||||
#include <helpers/CustomLLCC68Wrapper.h>
|
||||
static faketecBoard board;
|
||||
#elif defined(LILYGO_TBEAM)
|
||||
#include <helpers/TBeamBoard.h>
|
||||
#include <helpers/CustomSX1276Wrapper.h>
|
||||
static TBeamBoard board;
|
||||
#else
|
||||
#error "need to provide a 'board' object"
|
||||
#endif
|
||||
|
||||
@@ -8,8 +8,14 @@ build_flags =
|
||||
-D WRAPPER_CLASS=CustomSX1276Wrapper
|
||||
-D LORA_TX_POWER=20
|
||||
-D P_LORA_TX_LED=4
|
||||
-D PIN_BOARD_SDA=21
|
||||
-D PIN_BOARD_SCL=22
|
||||
build_src_filter = ${esp32_base.build_src_filter}
|
||||
board_build.partitions = min_spiffs.csv ; get around 4mb flash limit
|
||||
lib_deps =
|
||||
${esp32_base.lib_deps}
|
||||
lewisxhe/XPowersLib@^0.2.7
|
||||
adafruit/Adafruit SSD1306 @ ^2.5.13
|
||||
|
||||
[env:Tbeam_companion_radio_ble]
|
||||
extends = LilyGo_TBeam
|
||||
@@ -33,4 +39,18 @@ build_src_filter = ${LilyGo_TBeam.build_src_filter}
|
||||
lib_deps =
|
||||
${LilyGo_TBeam.lib_deps}
|
||||
densaugeo/base64 @ ~1.4.0
|
||||
lewisxhe/XPowersLib@^0.2.7
|
||||
|
||||
|
||||
[env:Tbeam_repeater]
|
||||
extends = LilyGo_TBeam
|
||||
build_flags =
|
||||
${LilyGo_TBeam.build_flags}
|
||||
-D DISPLAY_CLASS=SSD1306Display
|
||||
-D ADVERT_NAME='"LilyGo TBeam Repeater"'
|
||||
-D ADVERT_LAT=-37.0
|
||||
-D ADVERT_LON=145.0
|
||||
-D ADMIN_PASSWORD='"password"'
|
||||
-D MESH_PACKET_LOGGING=1
|
||||
; -D MESH_DEBUG=1
|
||||
build_src_filter = ${LilyGo_TBeam.build_src_filter}
|
||||
+<../examples/simple_repeater>
|
||||
Reference in New Issue
Block a user