Repository navigation
Buildenv update - #27
Conversation
craiglink
commented
Jun 17, 2024
add support for ESP32-S3-Matrix update Build Environment to latest Ardunio-Espressif32 PlatformIO build 6.7.0 / 3.20017.0 update libraries include FastLED which supports Hardware SPI for ESP32
|
@SteveEisner is issue I was seeing this weekend is from another code change / optimization that is not present in the pull request |
| @@ -0,0 +1,6 @@ | |||
| # Name, Type, SubType, Offset, Size, Flags | |||
There was a problem hiding this comment.
wow. I don't know how to review this ;)
| freeMemory(), | ||
| LITTLEFS.usedBytes(), | ||
| LITTLEFS.totalBytes(), | ||
| WLED_FS.usedBytes(), |
|
|
||
| #ifdef UM_AUDIOREACTIVE_USE_NEW_FFT | ||
| FFT.majorPeak(FFT_MajorPeak, FFT_Magnitude); // let the effects know which freq was most dominant | ||
| FFT.majorPeak(&FFT_MajorPeak, &FFT_Magnitude); // let the effects know which freq was most dominant |
There was a problem hiding this comment.
we should contribute this upstream? or I wonder if I merge the branch to a later version if they've found and fixed this
There was a problem hiding this comment.
Looks like they've done something similar already: ecc9443
There was a problem hiding this comment.
I've just merged this into the WLEDtubes/main branch, so you should be able to rebase/merge your PR branch and remove this fix
| pinMode(LEGACY_PIN, INPUT_PULLUP); | ||
| if (digitalRead(MASTER_PIN) == LOW) { | ||
|
|
||
| if (pinManager.isPinOk(MASTER_PIN)) { |
There was a problem hiding this comment.
this is great - I assume we need to fix code in master.h too, where it reads button pins etc
| @@ -47,8 +47,9 @@ default_envs = nodemcuv2, esp8266_2m, esp01_1m_full, nodemcuv2_160, esp8266_2m_1 | |||
| src_dir = ./wled00 | |||
| data_dir = ./wled00/data | |||
| build_cache_dir = ~/.buildcache | |||
There was a problem hiding this comment.
I'll pull this into my branch, it's mostly unreviewed
I suspect we should just contribute this part upstream to get a good review on it
and so we don't have to continuously merge
|
Looks like it fails on two builds due to VSPI being missing. I'll try bringing it local to understand why that's not available, unless you know of an obvious reason based on your changes! Builds failing: lolin_s2_mini, esp32c3dev (but for instance esp32s3dev_8MB passes!) |
|
I had not looked at the s2 and c3 builds. They definitely are more limited chipsets. They might not support hardware spi, so I might just need to look more at the platform io inheritance.
What is your current thought about being able to contribute bat to WLED ?
On Jun 30, 2024, at 3:21 PM, Steve Eisner ***@***.***> wrote:
Looks like it fails on two builds due to VSPI being missing. I'll try bringing it local to understand why that's not available, unless you know of an obvious reason based on your changes!
—
Reply to this email directly, view it on GitHub<#27 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AACEBK2EMJT5CN2622VEGQ3ZKCAH7AVCNFSM6AAAAABJNFRP3WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJYG44DEMBSGI>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
|
I'd like to be able to contribute back parts of this. Not immediately but eventually. There are some simple things - like the bug you found in audioreactive - that seem like easy candidates. Changing the platformio.ini will be harder, but having their review on it will be useful and I think they'd appreciate the help upgrading to later FastLED and so on. |
|
For now, I'd just like to get the build process fixed so that I can merge the PR. I could merge it broken but then it'll continue to break for all future PRs, might as well investigate to see what's wrong! |
|
Seems related to: FastLED/FastLED#1615 |
| -DCONFIG_IDF_TARGET_ESP32C3=1 | ||
| -D ARDUINO_ARCH_ESP32 | ||
| -D ARDUINO_ARCH_ESP32C3 | ||
| -D FASTLED_ALL_PINS_HARDWARE_SPI |
There was a problem hiding this comment.
and -D FASTLED_ESP32_SPI_BUS=HSPI in this case
There was a problem hiding this comment.
this plus -D FASTLED_ESP32_SPI_BUS=FSPI for the lolin_s2_mini target gets past the build errors.
Buildenv update to support later FastLED versions
Buildenv update to support later FastLED versions (cherry picked from commit 60ac971a003467937d56eace14d12a5d737ef5b5)