Commit Graph

426 Commits

Author SHA1 Message Date
Frank
d8bd451ceb Merge branch 'mdev' into audio_fastpath 2023-05-08 17:53:49 +02:00
Ewoud
e9a1c1e74f Small changes 2023-05-08 16:47:53 +02:00
netmindz
7f2c5832ab Update platformio.ini
Use monitor_filters = esp32_exception_decoder for all image build targets
2023-05-07 21:16:29 +01:00
Frank
04b55a5f2a back to NeoPixelBus @ 2.7.1
due to build errors on some esp32 envs.

Build Environments (esp32_16MB_M_eth)
In file included from wled00/bus_manager.cpp:9:0:
wled00/bus_wrapper.h: In static member function 'static void PolyBus::begin(void*, uint8_t, uint8_t*)':
wled00/bus_wrapper.h:187:61: error: 'DotStarEsp32DmaHspi5MhzMethod' was not declared in this scope
 #define B_HS_DOT_3 NeoPixelBrightnessBus<DotStarBgrFeature, DotStarEsp32DmaHspi5MhzMethod> //hardware HSPI with DMA (ESP32 only)
                                                             ^
wled00/bus_wrapper.h:300:37: note: in expansion of macro 'B_HS_DOT_3'
       case I_HS_DOT_3: (static_cast<B_HS_DOT_3*>(busPtr))->Begin(pins[1], -1, pins[0], -1); break;
                                     ^
wled00/bus_wrapper.h:187:90: error: template argument 2 is invalid
 #define B_HS_DOT_3 NeoPixelBrightnessBus<DotStarBgrFeature, DotStarEsp32DmaHspi5MhzMethod> //hardware HSPI with DMA (ESP32 only)
                                                                                          In file included from wled00/bus_manager.cpp:9:0:
wled00/bus_wrapper.h: In static member function 'static void PolyBus::begin(void*, uint8_t, uint8_t*)':
wled00/bus_wrapper.h:187:61: error: 'DotStarEsp32DmaHspi5MhzMethod' was not declared in this scope
 #define B_HS_DOT_3 NeoPixelBrightnessBus<DotStarBgrFeature, DotStarEsp32DmaHspi5MhzMethod> //hardware HSPI with DMA (ESP32 only)
                                                             ^
wled00/bus_wrapper.h:300:37: note: in expansion of macro 'B_HS_DOT_3'
       case I_HS_DOT_3: (static_cast<B_HS_DOT_3*>(busPtr))->Begin(pins[1], -1, pins[0], -1); break;
                                     ^
wled00/bus_wrapper.h:187:90: error: template argument 2 is invalid
 #define B_HS_DOT_3 NeoPixelBrightnessBus<DotStarBgrFeature, DotStarEsp32DmaHspi5MhzMethod> //hardware HSPI with DMA (ESP32 only)
2023-05-07 21:26:51 +02:00
Frank
50b3c9dc62 library updates
* FastLED 3.5.0 #master (up to 50% faster)
* All ESP32 env use NeoPixelBus 2.7.3 (slightly faster)
* Weather usermod: small update, as fastLED wants an explicit conversion from CRGB -> uint32_t
* weather usermod: avoid using palette color #0 = black
2023-05-07 21:15:31 +02:00
Frank
63ffc6e7a6 Update platformio.ini
small fix - wrong keyword
2023-05-04 23:16:21 +02:00
Frank
f57c39cd57 new pio environment for ESP32 rev3 with PSRAM (faster)
* disables PSRAM fixes that are not necessary any more on "revision 3" boards.
2023-05-04 20:33:02 +02:00
Frank
7d0e627e14 some effect optimizations
* getpixelcolor: attribute pure - it reads memory, but does not write
* some optimizations for SEGMENT.blur() and SEGMENT.fadeToBlackBy()

* FX.c:pp remove double calls to blur() and fade_out()
* FX.cpp: SEGMENT.setUpLeds() added to effects, to enable LED buffering (safe some time because getPixelColor does not need to access NeopixelBus)

* a few other optimizations to safe time and avoid "expensive" operations
* set I2C bus speed to 400kHz (default is 100Khz)

* a few other small optimizations and tweaks
* pio: esp32 V4 builds use "patch5" toolchain version, which contains a few bugfixes especially for memory management.
2023-05-03 20:33:23 +02:00
Frank
fb03a37b08 fps help in LED settings
led settings: added hint on max leds per pin
fx.h: faster FRAMERATE_FIXED
2023-04-30 18:37:14 +02:00
Frank
c0a0f66aa4 trying to revive github ci build for new MCUs (#38)
as suggested here:
* https://github.com/platformio/platform-espressif32/issues/1081#issuecomment-1518601054
2023-04-30 16:45:11 +02:00
Frank
00661de7fc accept up to 250 fps target in LED preferences
warning included.
2023-04-21 15:26:35 +02:00
Frank
63a597b987 pio: same for -S3 .....
Tool Manager: toolchain-xtensa-esp32s3@8.4.0+2021r2-patch3 has been installed!
Tool Manager: Installing espressif/toolchain-riscv32-esp @ 8.4.0+2021r2-patch3
Error: Could not find the package with 'espressif/toolchain-riscv32-esp @ 8.4.0+2021r2-patch3' requirements for your system 'linux_x86_64'
Error: Process completed with exit code 1.
2023-04-20 01:10:54 +02:00
Frank
b35cd2140a pio: disable -C3 and -S2 builds until github fixes their build toolds
Tool Manager: toolchain-xtensa-esp32s2@8.4.0+2021r2-patch3 has been installed!
Tool Manager: Installing espressif/toolchain-riscv32-esp @ 8.4.0+2021r2-patch3
Error: Could not find the package with 'espressif/toolchain-riscv32-esp @ 8.4.0+2021r2-patch3' requirements for your system 'linux_x86_64'
2023-04-20 01:05:43 +02:00
Frank
33a78bef4d a little less buffer for -S2
the last change caused a build error for ESP32-S2: region `dram0_0_seg' overflowed by 5064 bytes
2023-04-20 00:58:31 +02:00
Frank
bcbc0fbda4 Update platformio.ini
* temporarily remove esp32c3dev_4MB_M from nightly builds, as the github action build currently has strange problems with it
* -D WLED_USE_PSRAM_JSON for ESP32 boards, as using PSRAM for LED Buffers and Segment Buffers causes slow-down
2023-04-19 18:19:37 +02:00
Fonta
45da3121d6 Update platformio.ini 2023-04-16 03:08:18 +02:00
Fonta
6b6c961a00 Fix invalid environment error in PlatformIO
PlatformIO gives error on codm environments
``Error: Invalid environment name 'codm-controller-0.6'. The name can contain alphanumeric, underscore, and hyphen characters (a-z, 0-9, -, _)``
2023-04-16 03:05:20 +02:00
Frank
0fd26cc783 replace AC WebServer with lost-hope variant
temporarily replace the webserver with a   modified one that can also show .wled and .log files under /edit.
2023-04-15 21:33:06 +02:00
Frank
2585b785d9 remove duplictate dependancies (AsyncTCP 1.1.1)
* moving "pbolduc/AsyncTCP.git @ 1.2.0" on top of lib_deps, to prevent that AsyncTCP 1.1.1 is pulled in (due due dependacies from Aircoookie/ESPAsyncWebServer
* remove duplicate env.lib_deps from -S2 environments
2023-04-15 21:06:00 +02:00
Frank
c295c87798 moving esp_dmx lib into esp32_4MB_V4_S_base
the idea is to keep enable flag and library in the same build env.
2023-04-15 17:04:26 +02:00
Frank
244a6137d2 esp32_4MB_V4_M: stay below 100% flash usage 2023-04-15 01:11:25 +02:00
Frank
05c3e569f1 optional: warn about functions with high stack usage 2023-04-14 19:08:41 +02:00
Frank
5f4dd53be4 V4 target: enable warning for variable shadoing
* pio.ini: add "-Wshadow=compatible-local" for V4 targets
* pio.ini: fix alignment for 8266 build_flags
* fix one (harmless) case of shadowed vars in MM specific code
2023-04-14 14:20:55 +02:00
Frank
0081122f13 buildenv improvement for -C3
* IRremoteESP8266 @ ~2.8.2
* -D WLED_DISABLE_ADALIGHT (as most devices don't have a serial-to-USB chip)
2023-04-13 22:55:04 +02:00
Frank
2e0d1046f8 some cleanups and updates for -C3
* remove duplicate env.lib_deps
* use NeoPixelBus @ 2.7.3
* added board_build.flash_mode
2023-04-13 19:29:41 +02:00
Frank
0afad59458 MM style buildenv for seeedxiao -C3 2023-04-13 16:14:56 +02:00
Frank
40e614cbfa ups
double platform_packages line removed
2023-04-13 14:35:36 +02:00
Frank
e971990025 pio: added esp32.platformV4_new = espressif32 @ ~5.2.0 2023-04-13 13:26:30 +02:00
Frank
0ae004ffa3 buildenv fix: avoid NeoPixelBus 2.7.4
it seems that NPB 2.7.4 introduces new incompatibilities with WLED, that break gh action builds.
2023-04-13 12:26:14 +02:00
Frank
25122f982c temporary disable DMX input on -C3 and -S2 2023-04-10 22:39:42 +02:00
Will Tatam
79c67122dd Enable WLED_ENABLE_DMX_INPUT again, now we reference a preditacble tag not branch 2023-04-08 13:50:23 +01:00
Will Tatam
eb3ad99b76 Use taged version of esp_dmx 2023-04-08 13:45:08 +01:00
Will Tatam
343252f6c9 Use taged version of esp_dmx 2023-04-08 13:45:08 +01:00
Ewoud
876b08e3e4 Temporary disable WLED_ENABLE_DMX_INPUT in esp32_4MB_V4_S_base 2023-04-08 14:42:14 +02:00
Ewoud
ca9bd2270e Merge remote-tracking branch 'upstream/main' into mdev
Everything merged except platformio.ini
4ld has not been merged previously
Update version to 0.14.0-b15.22
2023-04-08 14:12:17 +02:00
Ewoud
212126b0ad esp8266_4MB_M: usermods maches max usermods, add net print,set flashsize 2023-04-07 16:40:24 +02:00
Ewoud
4aea3970a3 ARTI-FX support 8266 (experimental!!) add soundpressure
Add ARTI-FX to esp8266_4MB_M (experimental!)

Arti.h
- FREE_SIZE ESP.getFreeHeap() for 8266
- define asChar(x) to print to Serial/File depending on ESP32/8266
- artiPrintf: print to USER_PRINTF (experimental)

Arti_wled.h
- add ARDUINO_ARCH_ESP8266 to ARTI_ARDUINO
- add soundPressure

usermod_v2_artifx.h: use FREE_SIZE
2023-04-07 12:43:38 +02:00
MoonModules
7ffe25d55c Merge branch 'mdev' into DMX-Input-esp_dmx 2023-04-06 20:51:20 +02:00
Frank
292c4e25ba small updates
* colors.cpp: disable gamma calculation if CIE table mode is active (WLED_USE_CIE_BRIGHTNESS_TABLE)
* fx.cpp: small improvement to FreqMap, and bugfix for effects that modify binNum / maxVol
* pio: update for Line-In shield pins (final hardware version)
2023-04-01 22:13:46 +02:00
Frank
af44730418 platformio.ini minor cleanups
- fixed a few typos, trailing spaces and bad alignments
- added the previous 8266 platform packages as a comment, just in case
- [env:esp32dev_V4_qio80] is actually "dio" --> renamed to [env:esp32dev_V4_dio80]
- all esp32dev targets use the same ${esp32.platform} now (3.2.0 would not compile any more)
2023-03-31 15:44:21 +02:00
Frank
4e8974a69b pio: generic build env for ESP32-S2, and some cleanup 2023-03-30 23:59:38 +02:00
netmindz
d64cbc9059 Merge branch 'MoonModules:mdev' into DMX-Input-esp_dmx 2023-03-30 19:05:19 +01:00
Frank
e8d3712d4f esp32_4MB_PSRAM changed from "M" to "S"
to provide some more space for future additions in the code.
2023-03-30 18:48:39 +02:00
Ewoud
82dc456fd7 Rename Custom Effects to ARTI-FX 2023-03-30 10:02:08 +02:00
Frank
54eb42d658 build env for -C3 with only 2MB flash
based on proposal from  in PR #2951 by @andyshinn.
2MB does not allow to have an OTA partition, so this feature is disabled.
2023-03-30 00:20:01 +02:00
Frank
a7a6f4cec6 small re-organization of build flags
* -Wno-attributes added to common flags
* USB_MSC and USB_DFU flags moved to common board sections (does not make sense with WLED to ernable these)
2023-03-30 00:03:04 +02:00
Christian Schwinne
3968a8e0dc Attempt fixing GitHub actions ESP8266 build (#3151)
(explicit toolchain version)
2023-03-28 23:19:00 +02:00
Will Tatam
4f11efb417 WLED_ENABLE_DMX_INPUT enable for now on all _V4 builds 2023-03-24 10:25:06 +00:00
Will Tatam
ed54d102ff Only supported with newer platforms 2023-03-24 09:55:25 +00:00
netmindz
bda95faafd Merge branch 'MoonModules:mdev' into DMX-Input-esp_dmx 2023-03-23 21:40:14 +00:00