diff --git a/ESPController/platformio.ini b/ESPController/platformio.ini index 2de3474..d75481e 100644 --- a/ESPController/platformio.ini +++ b/ESPController/platformio.ini @@ -12,8 +12,7 @@ default_envs = esp8266_d1minipro, wemos_d1_mini32 [env:esp8266_d1minipro] -; ESP8266 D1 MINI PRO 16M bytes (128M bit) Flash -; buy from here https://amzn.to/2OF7Mzn +; ESP8266 D1 MINI PRO 16M bytes (128M bit) Flash buy from here https://amzn.to/2ZSjY65 platform = espressif8266 board = d1_mini_pro framework = arduino @@ -21,11 +20,11 @@ upload_speed=921600 upload_protocol = esptool board_build.mcu = esp8266 board_build.f_cpu = 80000000L -upload_port = COM8 +;upload_port = COM8 build_flags = -DDEBUG_ESP_PORT=Serial1 -;We set the MINI PRO to have 8m instead of 16m otherwise the "upload file system image" fails due to a bug +;We set the MINI PRO to have 4m instead of 16m otherwise the "upload file system image" fails due to a bug ;https://github.com/platformio/platform-espressif8266/issues/190 board_build.ldscript = eagle.flash.4m3m.ld ;lib_ldf_mode = deep+