From 1fd92cf8ebaec9b114c7bcc593d7ece0d7a2d059 Mon Sep 17 00:00:00 2001 From: geeksville Date: Sun, 29 Mar 2020 12:33:14 -0700 Subject: [PATCH] fix build for Windows based on tip from @moinars --- platformio.ini | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/platformio.ini b/platformio.ini index d66f86de3..90e551aab 100644 --- a/platformio.ini +++ b/platformio.ini @@ -34,13 +34,15 @@ build_flags = -Wall -Wextra -Wno-missing-field-initializers -Isrc -Os -Wl,-Map,. ; -DLOG_LOCAL_LEVEL=ESP_LOG_DEBUG -DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_DEBUG +; leave this commented out to avoid breaking Windows +;upload_port = /dev/ttyUSB0 +;monitor_port = /dev/ttyUSB0 + upload_speed = 921600 -upload_port = /dev/ttyUSB0 ; the default is esptool ; upload_protocol = esp-prog -monitor_port = /dev/ttyUSB0 monitor_speed = 115200 # debug_tool = esp-prog