-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tune DNA effect, add phases, same on different sizes, use Speed_Flags
pio.ini: set Speed_Flags LedEffects: tune DNA LedFixture and LedLeds and LedModEffects - rename ledsList with projections - replace auto with PhysMap - add mirrors (WIP) SysModModel: Coord3D/= : protect for /div0
- Loading branch information
Showing
9 changed files
with
108 additions
and
90 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -72,6 +72,15 @@ lib_deps = | |
https://github.com/netmindz/WLED-sync#48cb28f11632b217f9ccd9f72149373919c28af5 ; sourceIP | ||
|
||
|
||
[Speed_Flags] | ||
build_flags = | ||
-O2 ;; optimize for performance instead of size | ||
;-ffast-math ;; gives a few (2-5) percent speedup on ESP32-S3, but causes slight slowdown on classic ESP32 | ||
-mtarget-align -free -fipa-pta ;; these are very useful, too | ||
-fno-jump-tables -fno-tree-switch-conversion ;; needed | ||
-freorder-blocks -Wwrite-strings -fstrict-volatile-bitfields ;; needed | ||
build_unflags = | ||
-Os ;; to disable standard optimization for size | ||
|
||
[env] | ||
framework = arduino | ||
|
@@ -81,8 +90,11 @@ board_build.partitions = tools/WLED_ESP32_4MB_256KB_FS.csv ;; 1.8MB firmware, | |
board_build.filesystem = littlefs | ||
board_build.f_flash = 80000000L ; use full 80MHz speed for flash (default = 40Mhz) - this is a fixed override from the board specs applicable for all env!!! | ||
board_build.flash_mode = dio ; (dio = dual i/o; more compatible than qio = quad i/o) | ||
build_unflags = | ||
${Speed_Flags.build_unflags} | ||
build_flags = | ||
${starmod.build_flags} | ||
${Speed_Flags.build_flags} | ||
-DCONFIG_ASYNC_TCP_USE_WDT=0 | ||
-DLFS_THREADSAFE ;; enables use of semaphores in LittleFS driver | ||
${STARMOD_APPMOD_LEDS.build_flags} | ||
|
@@ -96,16 +108,6 @@ lib_deps = | |
; ${STARMOD_USERMOD_HA.lib_deps} | ||
${STARMOD_USERMOD_WLEDAUDIO.lib_deps} | ||
|
||
[Speed_Flags] | ||
build_flags = | ||
-O2 ;; optimize for performance instead of size | ||
;-ffast-math ;; gives a few (2-5) percent speedup on ESP32-S3, but causes slight slowdown on classic ESP32 | ||
-mtarget-align -free -fipa-pta ;; these are very useful, too | ||
-fno-jump-tables -fno-tree-switch-conversion ;; needed | ||
-freorder-blocks -Wwrite-strings -fstrict-volatile-bitfields ;; needed | ||
build_unflags = | ||
-Os ;; to disable standard optimization for size | ||
|
||
|
||
[env:esp32dev] | ||
board = esp32dev ;https://github.com/platformio/platform-espressif32/blob/develop/boards/esp32dev.json | ||
|
@@ -114,7 +116,6 @@ platform = [email protected] ;using platformio/framework-arduinoespressif32 @ ~3 | |
upload_speed = 1500000 | ||
build_flags = | ||
${env.build_flags} | ||
; ${Speed_Flags.build_flags} | ||
-DCONFIG_IDF_TARGET_ESP32=1 | ||
-DARDUINO_USB_CDC_ON_BOOT=0 ;; Make sure that the right HardwareSerial driver is picked in arduino-esp32 (needed on "classic ESP32") | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.