mirror of
https://git.mirrors.martin98.com/https://github.com/luc-github/ESP3D.git
synced 2025-07-31 23:51:58 +08:00
Expand the esp01s section to 80MHz and 160MHz
The two sections give the user a choice at what speed he'd like to run the CPU. In some rare cases the unshielded ESP-01S module may experience connectivity issues at 160MHz. In that case running it slower helps.
This commit is contained in:
parent
d794af636d
commit
3f3370dd94
@ -59,14 +59,34 @@ lib_ignore =
|
||||
ESP32NetBIOS
|
||||
ESP32SSPD
|
||||
|
||||
[env:esp01s]
|
||||
[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.f_cpu = 160000000L
|
||||
;board_build.f_flash = 40000000L
|
||||
board_build.flash_mode = dio
|
||||
board_build.ldscript = eagle.flash.1m256.ld
|
||||
upload_resetmethod = nodemcu
|
||||
|
Loading…
x
Reference in New Issue
Block a user