Skip to content

Commit 1d1a53b

Browse files
committed
align with upstream platformio.ini
adding 160Mhz 8266 builds NB: MoonModules 8266 build are always using 160Mhz, so nothing new for us ;-)
1 parent 8e84dba commit 1d1a53b

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

platformio.ini

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -452,6 +452,11 @@ build_flags = ${common.build_flags_esp8266} -D WLED_RELEASE_NAME=ESP8266 #-DWLED
452452
lib_deps = ${esp8266.lib_deps}
453453
monitor_filters = esp8266_exception_decoder
454454

455+
[env:nodemcuv2_160]
456+
extends = env:nodemcuv2
457+
board_build.f_cpu = 160000000L
458+
build_flags = ${common.build_flags_esp8266} -D WLED_RELEASE_NAME=ESP8266_160 #-DWLED_DISABLE_2D
459+
455460
[env:esp8266_2m]
456461
board = esp_wroom_02
457462
platform = ${common.platform_wled_default}
@@ -461,6 +466,11 @@ build_unflags = ${common.build_unflags}
461466
build_flags = ${common.build_flags_esp8266} -D WLED_RELEASE_NAME=ESP02
462467
lib_deps = ${esp8266.lib_deps}
463468

469+
[env:esp8266_2m_160]
470+
extends = env:esp8266_2m
471+
board_build.f_cpu = 160000000L
472+
build_flags = ${common.build_flags_esp8266} -D WLED_RELEASE_NAME=ESP02_160
473+
464474
;WLEDMM: see below
465475
; [env:esp01_1m_full]
466476
; board = esp01_1m
@@ -471,6 +481,11 @@ lib_deps = ${esp8266.lib_deps}
471481
; build_flags = ${common.build_flags_esp8266} -D WLED_RELEASE_NAME=ESP01 -D WLED_DISABLE_OTA
472482
; ; -D WLED_USE_UNREAL_MATH ;; may cause wrong sunset/sunrise times, but saves 7064 bytes FLASH and 975 bytes RAM
473483
; lib_deps = ${esp8266.lib_deps}
484+
; [env:esp01_1m_full_160]
485+
; extends = env:esp01_1m_full
486+
; board_build.f_cpu = 160000000L
487+
; build_flags = ${common.build_flags_esp8266} -D WLED_RELEASE_NAME=ESP01_160 -D WLED_DISABLE_OTA
488+
; ; -D WLED_USE_UNREAL_MATH ;; may cause wrong sunset/sunrise times, but saves 7064 bytes FLASH and 975 bytes RAM
474489

475490
[env:esp07]
476491
board = esp07

0 commit comments

Comments
 (0)