WLED icon indicating copy to clipboard operation
WLED copied to clipboard

ESP32C3 stable.

Open abhishek2desh opened this issue 3 years ago • 5 comments

ESP32-C3-Devkit stable.

abhishek2desh avatar Dec 16 '22 19:12 abhishek2desh

Why? I have C3 and it is running stable with current set-up. I would prefer not to use external platforms if not necessary.

Other than that, making unnecessary changes in platformio.ini is not welcome.

blazoncek avatar Dec 16 '22 20:12 blazoncek

Sorry but I will not approve this PR as it is today. Reasons as explained by @blazoncek.

softhack007 avatar Dec 16 '22 21:12 softhack007

I tried using current setup but there were some issues with littlefs library and the board kept rebooting indefinitely. So I made the change to ini file.

On Fri, Dec 16, 2022, 3:09 p.m. Blaž Kristan @.***> wrote:

Why? I have C3 and it is running stable with current set-up. I would prefer not to use external platforms if not necessary.

Other than that, making unnecessary changes in platformio.ini is not welcome.

— Reply to this email directly, view it on GitHub https://github.com/Aircoookie/WLED/pull/2958#issuecomment-1355531484, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACD6Q7HZEFOTWNSPHXKFWYLWNTEAJANCNFSM6AAAAAATBM3QGE . You are receiving this because you authored the thread.Message ID: @.***>

abhishek2desh avatar Dec 16 '22 23:12 abhishek2desh

I would support adding the tasmota-compiled platform as a commented out option. The other changes to platformio will not get merged.

Aircoookie avatar Dec 17 '22 00:12 Aircoookie

Thanks @Aircoookie this solution seems to be a good compromise.

softhack007 avatar Dec 17 '22 13:12 softhack007

I have been playing around with a -C3 recently, and also saw issues with corrupted littlefs, that happen with [email protected] in combination with ARDUINO_USB_CDC_ON_BOOT=0. These problems disappear when using [email protected]. [email protected] seems to work when ARDUINO_USB_CDC_ON_BOOT=1. So my proposal is to try with [email protected].

@abhishek2desh can you explain a bit more why you picked platform=https://github.com/tasmota/platform-espressif32/releases/download/v2.0.3rc1/platform-espressif32-2.0.3new.zip ? It seems to be a pre-release from tasmota, based on arduino-esp32 v2.0.3 in "tasmota flavour". What makes this one special?

softhack007 avatar Jan 16 '23 21:01 softhack007

@softhack007 indeed ARDUINO_USB_CDC_ON_BOOT caused many issues as well with S2 when I was testing it (corrupting LittleFS and/or rebooting/panicking).

blazoncek avatar Jan 16 '23 21:01 blazoncek

A few users have confirmed already that littlefs corruption on -C3 is resolved by using [email protected]. So I prefer to have this as an optional line in platformio.ini, instead of an older tasmota pre-release version.

Closing this PR, in favour of commit https://github.com/Aircoookie/WLED/commit/b8cc78358367befc134f133738e2e58157ee92dd

softhack007 avatar Jan 16 '23 21:01 softhack007

Why? I have C3 and it is running stable with current set-up. I would prefer not to use external platforms if not necessary.

Other than that, making unnecessary changes in platformio.ini is not welcome.

Which file did you flash on your ESP-C3? I want to flash a Seeed Studio XIAO ESP32C3

Paras-PC avatar Jan 28 '23 16:01 Paras-PC

Which file did you flash on your ESP-C3? I want to flash a Seeed Studio XIAO ESP32C3

My own compile from PIO. Env posted on Discord.

blazoncek avatar Jan 28 '23 20:01 blazoncek