Add esp01s environment to be able to build and upload from commandline

This commit is contained in:
Matthias Hryniszak 2020-09-23 09:05:46 +02:00
parent 46aaeb4b9c
commit d794af636d

View File

@ -58,3 +58,25 @@ lib_ignore =
AsyncTCP
ESP32NetBIOS
ESP32SSPD
[env:esp01s]
platform = espressif8266@2.2.0
platform_packages = toolchain-xtensa@2.40802.200502
board = esp01_1m
framework = arduino
monitor_speed = 115200
;board_build.f_cpu = 160000000L
;board_build.f_flash = 40000000L
board_build.flash_mode = dio
board_build.ldscript = eagle.flash.1m256.ld
upload_resetmethod = nodemcu
build_flags =
-D PIO_FRAMEWORK_ARDUINO_LWIP2_LOW_MEMORY
-DNONOSDK221=1
-DNDEBUG
-DVTABLES_IN_FLASH
upload_speed = 115200
lib_ignore =
AsyncTCP
ESP32NetBIOS
ESP32SSPD