Skip to content

Commit

Permalink
Update platformio.ini
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartpittaway committed Jul 23, 2020
1 parent 304fd47 commit 9603aa6
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions ESPController/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,19 @@
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
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+
Expand Down

0 comments on commit 9603aa6

Please sign in to comment.