diff --git a/platformio.ini b/platformio.ini index e5b80bdf..9a7570bb 100644 --- a/platformio.ini +++ b/platformio.ini @@ -90,11 +90,13 @@ upload_speed = 921600 [platformio] ; upload firmware to board with usb cable -default_envs = usb +;default_envs = usb ; upload firmware to a jfrog bintray repository ;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] @@ -108,7 +110,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 lib_deps_lora = @@ -169,3 +170,10 @@ upload_protocol = custom [env:usb] 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