Update platformio.ini

add ESP01S 1M flash
This commit is contained in:
Luc 2020-11-18 14:28:12 +01:00
parent 8d01cfaf01
commit daf2f83ae9

View File

@ -57,3 +57,27 @@ lib_ignore =
ESP32NetBIOS
ESP32SSPD
SdFat
[env:esp01s_160mhz]
platform = https://github.com/platformio/platform-espressif8266.git
board = esp12e
framework = arduino
monitor_speed = 115200
; set frequency to 160MHz
board_build.f_cpu = 160000000L
; set frequency to 40MHz
board_build.f_flash = 40000000L
board_build.flash_mode = dout
upload_resetmethod = ck
board_build.ldscript = eagle.flash.1m256.ld
build_flags =
-D PIO_FRAMEWORK_ARDUINO_LWIP2_LOW_MEMORY
-DNONOSDK221=1
-DNDEBUG
-DVTABLES_IN_FLASH
upload_speed = 115200
lib_ignore =
AsyncTCP
ESP32NetBIOS
ESP32SSPD
SdFat