-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
ESP32C3 stable. #2958
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
ESP32C3 stable. #2958
Conversation
ESP32-C3-Devkit stable.
|
Why? I have C3 and it is running stable with current set-up. Other than that, making unnecessary changes in platformio.ini is not welcome. |
blazoncek
left a comment
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.
If you want custom build environment use platformio_override.ini and do not change upstream platformio.ini.
|
|
||
| # Release / CI binaries | ||
| default_envs = nodemcuv2, esp8266_2m, esp01_1m_full, esp32dev, esp32_eth, esp32s2_saola, esp32c3, esp32s3dev_8MB | ||
| # default_envs = nodemcuv2, esp8266_2m, esp01_1m_full, esp32dev, esp32_eth, esp32s2_saola, esp32c3, esp32s3dev_8MB |
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.
Don't change that.
|
|
||
| [env:esp32c3] | ||
| platform = espressif32@5.1.1 | ||
| platform = https://github.com/tasmota/platform-espressif32/releases/download/v2.0.3rc1/platform-espressif32-2.0.3new.zip |
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.
Why not stock? Where is the issue with stock platform?
| board_build.partitions = tools/WLED_ESP32_4MB_1MB_FS.csv | ||
| build_flags = ${common.build_flags} ${esp32c3.build_flags} #-D WLED_RELEASE_NAME=ESP32-C3 | ||
| -D WLED_WATCHDOG_TIMEOUT=0 | ||
| -D LEDPIN=2 |
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.
Not needed.
|
Sorry but I will not approve this PR as it is today. |
|
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
<#2958 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACD6Q7HZEFOTWNSPHXKFWYLWNTEAJANCNFSM6AAAAAATBM3QGE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
|
I would support adding the tasmota-compiled platform as a commented out option. The other changes to platformio will not get merged. |
|
Thanks @Aircoookie this solution seems to be a good compromise. |
|
I have been playing around with a -C3 recently, and also saw issues with corrupted littlefs, that happen with espressif@5.1.1 in combination with ARDUINO_USB_CDC_ON_BOOT=0. These problems disappear when using espressif@5.2.0. Espressif@5.1.1 seems to work when ARDUINO_USB_CDC_ON_BOOT=1. So my proposal is to try with espressif@5.2.0. @abhishek2desh can you explain a bit more why you picked |
|
@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). |
|
A few users have confirmed already that littlefs corruption on -C3 is resolved by using Closing this PR, in favour of commit b8cc783 |
Which file did you flash on your ESP-C3? |
My own compile from PIO. |
ESP32-C3-Devkit stable.