Add (hopefully) helpful commented out sample settings
@@ -41,6 +41,10 @@ board = d1_mini
board_build.f_cpu = 160000000L
upload_resetmethod = nodemcu
upload_speed = 460800
+; uncomment and change these if PlatformIO can't auto-detect
+; the ports
+;upload_port = /dev/tty.SLAB_USBtoUART
+;monitor_port = /dev/tty.SLAB_USBtoUART
[espressif32_base]
;this section has config items common to all ESP32 boards
@@ -52,6 +56,13 @@ monitor_filters = esp32_exception_decoder
[env:esp32dev]
extends = espressif32_base
board = esp32dev
+; Verify that this is the correct pin number for your board!
+build_flags =
+ -D LED_BUILTIN=2
+; uncomment and change these if PlatformIO can't auto-detect
+; the ports
+;upload_port = /dev/tty.SLAB_USBtoUART
+;monitor_port = /dev/tty.SLAB_USBtoUART
[env:esp-wrover-kit]
extends = espressif32_base
