diff --git a/platformio.ini b/platformio.ini index 310b2121..c0beba38 100644 --- a/platformio.ini +++ b/platformio.ini @@ -89,7 +89,11 @@ board_build.partitions = default_8MB.csv ; -DARDUINO_USB_CDC_ON_BOOT=1 ; -DARDUINO_USB_MODE=1 -[env:nodemcu-32s] -board = nodemcu-32s +[env:esp32dev] +; Works for nodemcu-32s, devkit-v1 boards and probably others. You can change the pin defines below if needed. +board = esp32dev board_build.partitions = min_spiffs.csv -;build_type = debug \ No newline at end of file +build_flags = + ${env.build_flags} + -D LED_BUILTIN=2 + -D KEY_BUILTIN=0 \ No newline at end of file