diff --git a/platformio.ini b/platformio.ini index 73153c72..02de03de 100644 --- a/platformio.ini +++ b/platformio.ini @@ -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 \ No newline at end of file +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 \ No newline at end of file