mirror of
https://git.mirrors.martin98.com/https://github.com/luc-github/ESP3D.git
synced 2025-08-12 15:19:01 +08:00
Merge pull request #507 from padcom/esp01s
Add esp01s environment to be able to build and upload from command line
This commit is contained in:
commit
68c0c3a800
@ -58,3 +58,45 @@ lib_ignore =
|
|||||||
AsyncTCP
|
AsyncTCP
|
||||||
ESP32NetBIOS
|
ESP32NetBIOS
|
||||||
ESP32SSPD
|
ESP32SSPD
|
||||||
|
|
||||||
|
[env:esp01s_160mhz]
|
||||||
|
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
|
||||||
|
|
||||||
|
[env:esp01s_80mhz]
|
||||||
|
platform = espressif8266@2.2.0
|
||||||
|
platform_packages = toolchain-xtensa@2.40802.200502
|
||||||
|
board = esp01_1m
|
||||||
|
framework = arduino
|
||||||
|
monitor_speed = 115200
|
||||||
|
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user