-
-
Notifications
You must be signed in to change notification settings - Fork 4k
ESP8266 core 4.1.0, ESP32 core 5.2.0 (S2,S3,C3) #3144
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
NeoPixelBus 2.7.3 (adding UCS890x support)
|
Hi, As i said in my other comment, Will do a more detailed review later. |
|
@softhack007 by all means you are welcome to contribute. 😄 I do not know how |
- corrected some broken references - added `platform_package =` --> use default packages - renamed env:esp32c3 to env:esp32c3dev to avoid confusion - added lolin_s2_mini to CI builds
so it cannot destroy builds for ESP32 devices
|
PS: You're right, these massive warnings about "register" from the fastled lib are absolutely annoying. I've move the |
experimental ESP32 buildenv using ESP-IDF V4.4.x / arduino-esp32 v2.0.5 Warning: this build environment is not stable!!
| -D DECODE_SAMSUNG=true | ||
| -D DECODE_LG=true | ||
| ;-Dregister= # remove warnings in C++17 due to use of deprecated register keyword by the FastLED library | ||
| ;-Dregister= # remove warnings in C++17 due to use of deprecated register keyword by the FastLED library ;; warning: this breaks framework code on ESP32-C3 and ESP32-S2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Enabling this did not break S2 or C3 compiles for me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I saw problems in platform 5.1.1, maybe espressif changed something in 5.2.0.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The build warnings on -C3 looked like this with "register" override enabled
/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/riscv/include/riscv/semihosting.h:75:19: warning: ignoring asm-specifier for non-static local variable 'a0'
register long a0 asm ("a0") = id;
^~
.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32c3/include/riscv/include/riscv/semihosting.h:76:19: warning: ignoring asm-specifier for non-static local variable 'a1'
register long a1 asm ("a1") = (long) data;
^~see https://gcc.gnu.org/onlinedocs/gcc/Local-Register-Variables.html
|
Any idea why the github PlatformIO CI build still fails for nodemcuv2 ? It's working on my local PC. error msg from github CI build: Compiling .pio/build/nodemcuv2/libcde/FastLED/bitswap.cpp.o
xtensa-lx106-elf-g++: error: unrecognized command line option '-std=gnu++17'
[.pio/build/nodemcuv2/libcde/FastLED/FastLED.cpp.o] Error 1
xtensa-lx106-elf-g++: error: unrecognized command line option '-std=gnu++17'
[.pio/build/nodemcuv2/libcde/FastLED/bitswap.cpp.o] Error 1 |
|
@Aircoookie @softhack007 do we merge these changes? I do not know why GH actions are failing. It compiles without issues on my mac. |
Same here on my Windows - compiles without any complains. 👍 OK to merge from my side. I'm wondering if we should make these changes before merging:
What do you think? |
(explicit toolchain version)
|
Seems like the GH actions machine uses a different xtensa toolchain as default than our local build environments. Explicitely setting the latest seems to take care of it. Approving from my side now👍 @softhack007 I would agree with your proposed changes too. If you'd like, you can add them and merge. |
* -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)
based on proposal from in PR #2951 by @andyshinn. 2MB does not allow to have an OTA partition, so this feature is disabled.
Also updates NeoPixelBus to 2.7.3 (adding UCS890x support)