-
Notifications
You must be signed in to change notification settings - Fork 60
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
Prepare for ESP32-C6 support #544
Conversation
Why not add support for it in the wizard ? |
Because until ESPHome updates the esp-idf and platformio versions to be at a minimum where C6 support was added, it just doesnt work 🙈 It requires the user to manually change those versions in yaml until such a time. |
src/const.ts
Outdated
| "RP2040"; | ||
|
||
export type PlatformData = { | ||
label: string; | ||
showInPickerTitle: boolean; | ||
showInDeviceType: boolean; |
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.
Let's change this showInDeviceTypePicker
maybe?
so esp32-c6 could be enabled after this change is released? esphome/esphome#7706 |
yup, and probably H2 (needs 5.1) and P4 (needs 5.2 => as hidden) can be added to the picker as well. |
created a PR now to enable ESP32-C6: #711 |
This adds the C6 to the supported platforms "list" and also adds a new key/value for removing items from the wizard.
I started by adding to the
SupportedPlatforms
so thatchipFamilyToPlatform
could map it, but then typescript said I had to implement in thesupportedPlatforms
object too.So in terms of user facing changes, it is not shown in the wizard yet, but will allow web-flashing of a C6 configuration.