mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
Screen support for tbeam
This commit is contained in:
parent
a9dde51a9b
commit
ae08ecf8fd
2 changed files with 25 additions and 1 deletions
|
|
@ -101,6 +101,10 @@
|
||||||
#include <helpers/CustomSX1262Wrapper.h>
|
#include <helpers/CustomSX1262Wrapper.h>
|
||||||
#include <helpers/CustomLLCC68Wrapper.h>
|
#include <helpers/CustomLLCC68Wrapper.h>
|
||||||
static faketecBoard board;
|
static faketecBoard board;
|
||||||
|
#elif defined(LILYGO_TBEAM)
|
||||||
|
#include <helpers/TBeamBoard.h>
|
||||||
|
#include <helpers/CustomSX1276Wrapper.h>
|
||||||
|
static TBeamBoard board;
|
||||||
#else
|
#else
|
||||||
#error "need to provide a 'board' object"
|
#error "need to provide a 'board' object"
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -8,8 +8,14 @@ build_flags =
|
||||||
-D WRAPPER_CLASS=CustomSX1276Wrapper
|
-D WRAPPER_CLASS=CustomSX1276Wrapper
|
||||||
-D LORA_TX_POWER=20
|
-D LORA_TX_POWER=20
|
||||||
-D P_LORA_TX_LED=4
|
-D P_LORA_TX_LED=4
|
||||||
|
-D PIN_BOARD_SDA=21
|
||||||
|
-D PIN_BOARD_SCL=22
|
||||||
build_src_filter = ${esp32_base.build_src_filter}
|
build_src_filter = ${esp32_base.build_src_filter}
|
||||||
board_build.partitions = min_spiffs.csv ; get around 4mb flash limit
|
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]
|
[env:Tbeam_companion_radio_ble]
|
||||||
extends = LilyGo_TBeam
|
extends = LilyGo_TBeam
|
||||||
|
|
@ -33,4 +39,18 @@ build_src_filter = ${LilyGo_TBeam.build_src_filter}
|
||||||
lib_deps =
|
lib_deps =
|
||||||
${LilyGo_TBeam.lib_deps}
|
${LilyGo_TBeam.lib_deps}
|
||||||
densaugeo/base64 @ ~1.4.0
|
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>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue