Skip to content
Snippets Groups Projects
Commit 8fe1b256 authored by Jan Grewe's avatar Jan Grewe
Browse files

add platformio.ini

parent 6e314dd5
No related branches found
No related tags found
No related merge requests found
.pio
.vscode
.travis.yml
platformio.ini
BikeBeam.code-workspace
src/config.h
; PlatformIO Project Configuration File
;
; Build options: build flags, source filter
; Upload options: custom upload port, speed and extra flags
; Library options: dependencies, extra library storages
; Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html
[env:ttgo-t-beam]
platform = espressif32
board = ttgo-t-beam
framework = arduino
upload_port = COM4
monitor_port = COM4
monitor_speed = 115200
build_flags =
-D ARDUINO_LMIC_PROJECT_CONFIG_H_SUPPRESS
-D ARDUINO_LMIC_CFG_NETWORK_TTN
-D CFG_sx1276_radio
-D CFG_eu868
-D LMIC_DEBUG_LEVEL=2
lib_deps =
AXP202X_Library@1.1.2
TinyGPSPlus@1.0.2
MCCI Arduino LoRaWAN Library@0.8.0
......@@ -78,7 +78,7 @@ void setupPower()
{
Serial.println("AXP192 Begin FAIL");
}
axp.setPowerOutPut(AXP192_DCDC1, AXP202_OFF); // OLED, etc.: off
axp.setPowerOutPut(AXP192_DCDC1, AXP202_OFF); // OLED : off
axp.setPowerOutPut(AXP192_DCDC2, AXP202_OFF); // N/C : off
axp.setPowerOutPut(AXP192_DCDC3, AXP202_ON); // ESP32 : on
axp.setPowerOutPut(AXP192_LDO2, AXP202_ON); // LORA : on
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment