|
16 | 16 |
|
17 | 17 | # WLED sound-reactive binaries
|
18 | 18 | ; default_envs = soundReactive_lolin_d32
|
19 |
| -default_envs = soundReactive_esp32dev, soundReactive_esp32_eth |
| 19 | +; default_envs = soundReactive_esp32dev |
| 20 | +; default_envs = soundReactive_esp32_eth |
| 21 | + |
| 22 | +; WLEDSR binaries |
| 23 | +; =================== |
| 24 | +; min = USERMOD_AUDIOREACTIVE + USERMOD_CUSTOMEFFECTS |
| 25 | +; max = min + USERMOD_DALLASTEMPERATURE + USERMOD_FOUR_LINE_DISPLAY+ USERMOD_ROTARY_ENCODER_UI + USERMOD_AUTO_SAVE |
| 26 | + |
| 27 | +default_envs = esp32_4MB_min, esp32_4MB_max, esp32_16MB_max, wemos_shield_esp32_4MB_max, wemos_shield_esp32_16MB_max |
| 28 | +; default_envs = esp32_4MB_min |
| 29 | +; default_envs = esp32_4MB_max ; recommended default |
| 30 | +; default_envs = esp32_16MB_max |
| 31 | +; default_envs = wemos_shield_esp32_4MB_max |
| 32 | +; default_envs = wemos_shield_esp32_16MB_max |
20 | 33 |
|
21 | 34 | # Build everything
|
22 | 35 | ; default_envs = esp32dev, esp8285_4CH_MagicHome, codm-controller-0.6-rev2, codm-controller-0.6, esp32s2_saola, d1_mini_5CH_Shojo_PCB, d1_mini, sp501e, travis_esp8266, travis_esp32, nodemcuv2, esp32_eth, anavi_miracle_controller, esp07, esp01_1m_full, m5atom, h803wf, d1_mini_ota, heltec_wifi_kit_8, esp8285_H801, d1_mini_debug, wemos_shield_esp32, elekstube_ips
|
@@ -582,6 +595,228 @@ lib_deps = ${esp32.lib_deps}
|
582 | 595 | board_build.partitions = ${esp32.default_partitions}
|
583 | 596 | ; board_build.partitions = tools/SoundReactive_ESP32_16MB.csv ; ESP32 16MB
|
584 | 597 |
|
| 598 | +# ------------------------------------------------------------------------------ |
| 599 | +# Soundreactive configs (MoonModules style, should eventually replace above) |
| 600 | +# ------------------------------------------------------------------------------ |
| 601 | + |
| 602 | +; shared build flags and lib deps for minimum and maximum config |
| 603 | +[common_sr] |
| 604 | +build_flags_min = |
| 605 | + -Wall -Wformat -Woverflow -Wuninitialized -Winit-self -Warray-bounds ; enables more warnings |
| 606 | + -Wno-attributes -Wno-unused-variable -Wno-unused-function -Wno-deprecated-declarations ;disables some stupid warnings |
| 607 | + -D WLED_DISABLE_MQTT -D WLED_DISABLE_LOXONE |
| 608 | + ; -D WLED_DISABLE_BLYNK ; BLYNK is only provided for backwards compatibility (no new users accepted) |
| 609 | + ;-D WLED_DISABLE_BROWNOUT_DET ; enable if you get "brownout detected" errors at startup |
| 610 | + -D ABL_MILLIAMPS_DEFAULT=1500 ; 850 not enough for 1024 leds |
| 611 | + ; -D WLED_USE_MY_CONFIG |
| 612 | + ; -D WLED_DEBUG ; lots of generic debug messages |
| 613 | + ; -D SR_DEBUG ; some extra debug messages from audioreactive |
| 614 | + |
| 615 | +lib_deps_min = |
| 616 | + ; https://github.com/kosme/arduinoFFT#develop @ 1.9.2 ; used for USERMOD_AUDIOREACTIVE |
| 617 | +; monitor_filters = esp32_exception_decoder ; used to show crash details |
| 618 | + |
| 619 | +build_flags_max = |
| 620 | + ; -D WLED_MAX_USERMODS=9 ; default only 4-6 |
| 621 | + -D USERMOD_DALLASTEMPERATURE |
| 622 | + -D USE_ALT_DISPlAY ; new versions of USERMOD_FOUR_LINE_DISPLAY and USERMOD_ROTARY_ENCODER_UI |
| 623 | + -D USERMOD_FOUR_LINE_DISPLAY |
| 624 | + -D USERMOD_ROTARY_ENCODER_UI |
| 625 | + -D USERMOD_AUTO_SAVE |
| 626 | + |
| 627 | +lib_deps_max = |
| 628 | + OneWire@~2.3.5 ; used for USERMOD_FOUR_LINE_DISPLAY and USERMOD_DALLASTEMPERATURE |
| 629 | + olikraus/U8g2 @ ^2.28.8 ; used for USERMOD_FOUR_LINE_DISPLAY |
| 630 | + |
| 631 | +; end of common |
| 632 | + |
| 633 | +; base entries (without WLED_RELEASE_NAME) |
| 634 | + |
| 635 | +; esp32_4MB_min_base: basis for min entries and for max_base |
| 636 | +[env:esp32_4MB_min_base] |
| 637 | +board = esp32dev |
| 638 | +platform = ${esp32.platform} |
| 639 | +upload_speed = 460800 ; or 921600 |
| 640 | +platform_packages = ${esp32.platform_packages} |
| 641 | +build_unflags = ${common.build_unflags} |
| 642 | +build_flags = ${common.build_flags_esp32} ${common_sr.build_flags_min} |
| 643 | +lib_deps = ${esp32.lib_deps} ${common_sr.lib_deps_min} |
| 644 | +board_build.partitions = ${esp32.default_partitions} |
| 645 | +board_build.f_flash = 80000000L ; use full 80MHz speed for flash (default = 40Mhz) |
| 646 | +board_build.flash_mode = dio ; (dio = dual i/o; more compatible than qio = quad i/o) |
| 647 | + |
| 648 | +;esp32_4MB_max_base: basis for max entries, uses esp32_4MB_min_base, build_flags_max and lib_deps_max |
| 649 | +[env:esp32_4MB_max_base] |
| 650 | +extends = env:esp32_4MB_min_base |
| 651 | +build_flags = ${env:esp32_4MB_min_base.build_flags} ${common_sr.build_flags_max} |
| 652 | +lib_deps = ${env:esp32_4MB_min_base.lib_deps} ${common_sr.lib_deps_max} |
| 653 | +board_build.partitions = ${env:esp32_4MB_min_base.board_build.partitions} |
| 654 | +; board_build.partitions = tools/WLED_ESP32-wrover_4MB.csv |
| 655 | + |
| 656 | +; ;esp32_4MB_V4_max_base: basis for V4 entries, uses build_flags_min, build_flags_max, lib_deps_min and lib_deps_max |
| 657 | +; [env:esp32_4MB_V4_max_base] |
| 658 | +; board = esp32dev |
| 659 | +; upload_speed = 460800 ; or 921600 |
| 660 | +; platform = ${esp32.platformV4} |
| 661 | +; platform_packages = ${esp32.platformV4_packages} |
| 662 | +; build_unflags = ${common.build_unflags} |
| 663 | +; build_flags = ${common.build_flags} ${esp32.build_flagsV4} ${common_sr.build_flags_min} ${common_sr.build_flags_max} |
| 664 | +; -Wno-misleading-indentation |
| 665 | +; lib_deps = ${esp32.lib_depsV4} ${common_sr.lib_deps_min} ${common_sr.lib_deps_max} |
| 666 | +; board_build.partitions = ${esp32.default_partitions} |
| 667 | +; board_build.f_flash = 80000000L ; use full 80MHz speed for flash (default = 40Mhz) |
| 668 | +; board_build.flash_mode = dio ; (dio = dual i/o; more compatible than qio = quad i/o) |
| 669 | + |
| 670 | +; end of base entries |
| 671 | + |
| 672 | +; bin entries (with WLED_RELEASE_NAME) |
| 673 | + |
| 674 | +; esp32_4MB_min: bin entry, uses esp32_4MB_min_base |
| 675 | +[env:esp32_4MB_min] |
| 676 | +extends = env:esp32_4MB_min_base |
| 677 | +build_flags = ${env:esp32_4MB_min_base.build_flags} |
| 678 | + -D WLED_RELEASE_NAME=esp32_4MB_min ; This will be included in the firmware.bin filename |
| 679 | +; RAM: [== ] 24.1% (used 78900 bytes from 327680 bytes) |
| 680 | +; Flash: [======== ] 83.7% (used 1315729 bytes from 1572864 bytes) |
| 681 | + |
| 682 | +; esp32_4MB_max: bin entry, uses esp32_4MB_max_base |
| 683 | +[env:esp32_4MB_max] |
| 684 | +extends = env:esp32_4MB_max_base |
| 685 | +build_flags = ${env:esp32_4MB_max_base.build_flags} |
| 686 | + -D WLED_RELEASE_NAME=esp32_4MB_max ; This will be included in the firmware.bin filename |
| 687 | +; RAM: [== ] 24.4% (used 79812 bytes from 327680 bytes) |
| 688 | +; Flash: [========= ] 88.6% (used 1393397 bytes from 1572864 bytes) |
| 689 | + |
| 690 | +; esp32_16MB_max: bin entry, uses esp32_4MB_max_base and adds 16MB settings |
| 691 | +[env:esp32_16MB_max] |
| 692 | +extends = env:esp32_4MB_max_base |
| 693 | +; board = esp32_twilord ; "TwilightLord" ESP32 with 16MB Flash |
| 694 | +board_build.partitions = tools/WLED_ESP32_16MB.csv ; for esp32_twilord with 16MB flash |
| 695 | +build_flags = ${env:esp32_4MB_max_base.build_flags} |
| 696 | + -D WLED_RELEASE_NAME=esp32_16MB_max ; This will be included in the firmware.bin filename |
| 697 | +; RAM: [== ] 24.4% (used 79812 bytes from 327680 bytes) |
| 698 | +; Flash: [======= ] 66.4% (used 1393397 bytes from 2097152 bytes) |
| 699 | + |
| 700 | +; esp8266_4MB_min: bin entry for 8266, with 2D (WIP) |
| 701 | +; [env:esp8266_4MB_min] |
| 702 | +; extends = env:d1_mini |
| 703 | +; upload_speed = 460800 ;115200 |
| 704 | +; build_flags = ${common.build_flags_esp8266} |
| 705 | +; -D WLED_RELEASE_NAME=esp8266_4MB_min ; This will be included in the firmware.bin filename |
| 706 | +; ; -D WLED_DEBUG |
| 707 | +; -D WLED_DISABLE_ALEXA |
| 708 | +; -D WLED_DISABLE_BLYNK |
| 709 | +; -D WLED_DISABLE_HUESYNC |
| 710 | +; ; -D WLED_DISABLE_2D |
| 711 | +; ; -D USERMOD_AUDIOREACTIVE |
| 712 | +; -UWLED_USE_MY_CONFIG |
| 713 | +; ; monitor_filters = esp8266_exception_decoder |
| 714 | +; ; RAM: [====== ] 58.7% (used 48056 bytes from 81920 bytes) |
| 715 | +; ; Flash: [======== ] 75.7% (used 790428 bytes from 1044464 bytes) |
| 716 | + |
| 717 | +# ------------------------------------------------------------------------------ |
| 718 | +# MoonModules configs for IDF V4.4.x |
| 719 | +# ------------------------------------------------------------------------------ |
| 720 | + |
| 721 | +;; experiemtal environment for boards with PSRAM. |
| 722 | +;; Warning: the build-in LittleFS seems to be "slightly different" from Lorol LittleFS. |
| 723 | +;; When upgrading to the new framework, it might be necessary to first do a chip erase (make sure you have a backup of cfg.json and presets.json) |
| 724 | +;; also SpiffsEditor (Async Webserver) has known problems in IDF4.4.x |
| 725 | + |
| 726 | +; ; esp32_4MB_PSRAM_max: bin entry, uses esp32_4MB_V4_max_base and adds specific settings |
| 727 | +; [env:esp32_4MB_PSRAM_max] |
| 728 | +; extends = env:esp32_4MB_V4_max_base |
| 729 | +; board = lolin_d32_pro |
| 730 | +; ;board = esp32cam |
| 731 | +; build_flags = ${env:esp32_4MB_V4_max_base.build_flags} |
| 732 | +; -D WLED_RELEASE_NAME=esp32_4MB_PSRAM_max |
| 733 | +; -D WLED_WATCHDOG_TIMEOUT=0 #-D WLED_DISABLE_BLYNK #-D WLED_DISABLE_BROWNOUT_DET |
| 734 | +; -D ARDUINO_USB_CDC_ON_BOOT=0 ; needed for arduino-esp32 >=2.0.4; avoids errors on startup |
| 735 | +; -D WLED_USE_PSRAM |
| 736 | +; ; RAM: [== ] 24.8% (used 81424 bytes from 327680 bytes) |
| 737 | +; ; Flash: [==========] 99.8% (used 1570457 bytes from 1572864 bytes) |
| 738 | +; ; 99.8% !!!! |
| 739 | +; -D WLED_DISABLE_LOXONE ; FLASH 1272 bytes |
| 740 | +; -D WLED_DISABLE_ALEXA ; RAM 116 bytes; FLASH 13524 bytes |
| 741 | +; -D WLED_DISABLE_MQTT ; RAM 216 bytes; FLASH 16496 bytes |
| 742 | +; -D WLED_DISABLE_HUESYNC ;RAM 122 bytes; FLASH 6308 bytes |
| 743 | +; ; RAM: [== ] 24.7% (used 80948 bytes from 327680 bytes) |
| 744 | +; ; Flash: [==========] 97.4% (used 1531857 bytes from 1572864 bytes) |
| 745 | +; ;-D WLED_DISABLE_INFRARED ;RAM 136 bytes; FLASH 24492 bytes |
| 746 | +; ; -D WLED_DEBUG |
| 747 | +; ; -D SR_DEBUG |
| 748 | +; ; -D MIC_LOGGER |
| 749 | + |
| 750 | +; ; esp32S3_8MB_max: bin entry, uses esp32_4MB_V4_max_base and adds specific settings. Override of lib_deps using lib_deps_min and lib_deps_max |
| 751 | +; [env:esp32S3_8MB_max] |
| 752 | +; extends = env:esp32_4MB_V4_max_base |
| 753 | +; board = esp32-s3-devkitc-1 |
| 754 | +; build_flags = ${env:esp32_4MB_V4_max_base.build_flags} |
| 755 | +; -D WLED_RELEASE_NAME=esp32S3_8MB_max |
| 756 | +; -D ARDUINO_USB_MODE=1 -D ARDUINO_USB_CDC_ON_BOOT=0 -D ARDUINO_USB_MSC_ON_BOOT=0 -D ARDUINO_USB_DFU_ON_BOOT=0 |
| 757 | +; -D WLED_WATCHDOG_TIMEOUT=0 |
| 758 | +; -D WLED_DISABLE_LOXONE ; FLASH 1272 bytes |
| 759 | +; -D WLED_DISABLE_ALEXA ; RAM 116 bytes; FLASH 13524 bytes |
| 760 | +; -D WLED_DISABLE_MQTT ; RAM 216 bytes; FLASH 16496 bytes |
| 761 | +; -D WLED_DISABLE_HUESYNC ;RAM 122 bytes; FLASH 6308 bytes |
| 762 | +; -D LEDPIN=4 |
| 763 | +; -D STATUSLED=39 |
| 764 | +; -D BTNPIN=-1 |
| 765 | +; -D RLYPIN=-1 |
| 766 | +; -D IRPIN=-1 |
| 767 | +; -D HW_PIN_SDA=40 |
| 768 | +; -D HW_PIN_SCL=41 |
| 769 | +; -D AUDIOPIN=-1 |
| 770 | +; -D I2S_SDPIN=16 |
| 771 | +; -D I2S_CKPIN=17 |
| 772 | +; -D I2S_WSPIN=47 |
| 773 | +; -D ES7243_SDAPIN=8 |
| 774 | +; -D ES7243_SCLPIN=18 |
| 775 | +; ; -D WLED_DEBUG |
| 776 | +; ; -D SR_DEBUG |
| 777 | +; ; -D MIC_LOGGER |
| 778 | +; lib_deps = ${esp32s3.lib_deps} ${common_sr.lib_deps_min} ${common_sr.lib_deps_max} |
| 779 | +; board_build.partitions = tools/WLED_ESP32_8MB.csv |
| 780 | +; board_build.flash_mode = qio |
| 781 | +; ; RAM: [== ] 24.7% (used 80984 bytes from 327680 bytes) |
| 782 | +; ; Flash: [======= ] 69.0% (used 1447873 bytes from 2097152 bytes) |
| 783 | + |
| 784 | + |
| 785 | +# ------------------------------------------------------------------------------ |
| 786 | +# custom board configurations |
| 787 | +# ------------------------------------------------------------------------------ |
| 788 | + |
| 789 | +;wemos_shield_esp32_4MB_max_base: base entry, uses esp32_4MB_max_base |
| 790 | +[env:wemos_shield_esp32_4MB_max_base] |
| 791 | +extends = env:esp32_4MB_max_base |
| 792 | +build_flags = ${env:esp32_4MB_max_base.build_flags} |
| 793 | + -D LEDPIN=16 |
| 794 | + -D RLYPIN=19 |
| 795 | + -D BTNPIN=17 |
| 796 | + -D IRPIN=18 |
| 797 | + -D AUDIOPIN=-1 -D DMTYPE=1 -D I2S_SDPIN=32 -D I2S_WSPIN=15 -D I2S_CKPIN=14 |
| 798 | + -D TEMPERATURE_PIN=23 |
| 799 | + -D FLD_PIN_SCL=22 -D FLD_PIN_SDA=21 |
| 800 | + ; -D ENCODER_DT_PIN=18 -D ENCODER_CLK_PIN=5 -D ENCODER_SW_PIN=19 |
| 801 | + |
| 802 | +;wemos_shield_esp32_4MB_max: bin entry, uses wemos_shield_esp32_4MB_max_base |
| 803 | +[env:wemos_shield_esp32_4MB_max] |
| 804 | +extends = env:wemos_shield_esp32_4MB_max_base |
| 805 | +build_flags = ${env:wemos_shield_esp32_4MB_max_base.build_flags} |
| 806 | + -D WLED_RELEASE_NAME=wemos_shield_esp32_4MB_max ; This will be included in the firmware.bin filename |
| 807 | +; RAM: [== ] 24.4% (used 79820 bytes from 327680 bytes) |
| 808 | +; Flash: [========= ] 88.6% (used 1393421 bytes from 1572864 bytes) |
| 809 | + |
| 810 | +;wemos_shield_esp32_16MB_max: bin entry, uses wemos_shield_esp32_4MB_max_base and adds 16MB settings |
| 811 | +[env:wemos_shield_esp32_16MB_max] |
| 812 | +extends = env:wemos_shield_esp32_4MB_max_base |
| 813 | +; board = esp32_twilord ; "TwilightLord" ESP32 with 16MB Flash |
| 814 | +board_build.partitions = tools/WLED_ESP32_16MB.csv ; for esp32_twilord with 16MB flash |
| 815 | +build_flags = ${env:wemos_shield_esp32_4MB_max_base.build_flags} |
| 816 | + -D WLED_RELEASE_NAME=wemos_shield_esp32_16MB_max ; This will be included in the firmware.bin filename |
| 817 | +; RAM: [== ] 24.4% (used 79820 bytes from 327680 bytes) |
| 818 | +; Flash: [======= ] 66.4% (used 1393421 bytes from 2097152 bytes) |
| 819 | + |
585 | 820 | [env:m5atom]
|
586 | 821 | board = esp32dev
|
587 | 822 | build_unflags = ${common.build_unflags}
|
|
0 commit comments