From 7f9e9af2780fdb65d134cf4aec1f26a9f7e42b7b Mon Sep 17 00:00:00 2001 From: Verkehrsrot Date: Sat, 29 Jun 2019 15:25:00 +0200 Subject: [PATCH 1/3] Update platformio.ini --- platformio.ini | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/platformio.ini b/platformio.ini index 73153c72..468bcc62 100644 --- a/platformio.ini +++ b/platformio.ini @@ -73,10 +73,10 @@ board = esp32dev [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 = ota description = Paxcounter is a proof-of-concept ESP32 device for metering passenger flows in realtime. It counts how many mobile devices are around. @@ -152,4 +152,4 @@ monitor_speed = ${common.monitor_speed} upload_protocol = custom [env:usb] -upload_protocol = esptool \ No newline at end of file +upload_protocol = esptool From 448cb25733ed4f64780077b4f62fb50c3ccb5b35 Mon Sep 17 00:00:00 2001 From: Verkehrsrot Date: Sat, 29 Jun 2019 17:04:57 +0200 Subject: [PATCH 2/3] platformio.ini env dev added --- platformio.ini | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) 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 From f65039313e98ad21731e22eeb9ff484d336bef33 Mon Sep 17 00:00:00 2001 From: Verkehrsrot Date: Sat, 29 Jun 2019 17:14:27 +0200 Subject: [PATCH 3/3] platformio.ini --- platformio.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platformio.ini b/platformio.ini index b6d283b3..9a7570bb 100644 --- a/platformio.ini +++ b/platformio.ini @@ -90,7 +90,7 @@ 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