We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4dea63 commit 05c176cCopy full SHA for 05c176c
variants/esp32/tlora_v2_1_16/platformio.ini
@@ -5,3 +5,12 @@ board_check = true
5
build_flags =
6
${esp32_base.build_flags} -D TLORA_V2_1_16 -I variants/esp32/tlora_v2_1_16
7
upload_speed = 115200
8
+
9
+[env:sugarcube]
10
+extends = env:tlora-v2-1-1_6
11
+board_level = extra
12
+build_flags =
13
+ ${env:tlora-v2-1-1_6.build_flags}
14
+ -DBUTTON_PIN=0
15
+ -DPIN_BUZZER=25
16
+ -DLED_PIN=-1
variants/esp32/tlora_v2_1_16/variant.h
@@ -8,7 +8,11 @@
#define I2C_SDA 21 // I2C pins for this board
#define I2C_SCL 22
+#if defined(LED_PIN) && LED_PIN == -1
+#undef LED_PIN
+#else
#define LED_PIN 25 // If defined we will blink this LED
+#endif
17
#define USE_RF95
18
#define LORA_DIO0 26 // a No connect on the SX1262 module
0 commit comments