platformio.ini env dev added

This commit is contained in:
Verkehrsrot 2019-06-29 17:04:57 +02:00
parent 2c08294a31
commit 448cb25733

View File

@ -76,8 +76,10 @@ board = esp32dev
;default_envs = usb
; upload firmware to a jfrog bintray repository
default_envs = ota
;default_envs = ota
default_envs = dev
build_cache_dir = /tmp/platformio-shared-cache
description = Paxcounter is a proof-of-concept ESP32 device for metering passenger flows in realtime. It counts how many mobile devices are around.
[common]
@ -91,7 +93,6 @@ otakeyfile = ota.conf
lorakeyfile = loraconf.h
lmicconfigfile = lmic_config.h
platform_espressif32 = espressif32@1.9.0
;platform_espressif32 = https://github.com/platformio/platform-espressif32.git#develop
board_build.partitions = min_spiffs.csv
monitor_speed = 115200
upload_speed = 921600
@ -152,4 +153,11 @@ monitor_speed = ${common.monitor_speed}
upload_protocol = custom
[env:usb]
upload_protocol = esptool
upload_protocol = esptool
[env:dev]
upload_protocol = esptool
platform = https://github.com/platformio/platform-espressif32.git#develop
platform_packages =
; use upstream Git version
framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git