Skip to content
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

[Feature Request] Add support for ESP32-C6 #326

Closed
cretzu8523 opened this issue Mar 14, 2024 · 12 comments · Fixed by #436
Closed

[Feature Request] Add support for ESP32-C6 #326

cretzu8523 opened this issue Mar 14, 2024 · 12 comments · Fixed by #436
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@cretzu8523
Copy link

I have a esp32-c6 board and I am not capable to install on it. Is this board compatible?

@iranl
Copy link
Collaborator

iranl commented Mar 17, 2024

No, it is not compatible at this time.

ESP32 Arduino Core 3.0.0 (which is in alpha state right now) adds support for the C6.

Nuki Hub is build using the latest stable core 2.0.14

@technyon
Copy link
Owner

technyon commented Mar 18, 2024

But even then it's not automatic, it would need a build targeting the C6. I still have to tinker with the S3, I couldn't get it running so far.

@lucaoliano
Copy link

lucaoliano commented Mar 30, 2024

Could I propose using PlatformIO? This would simplify the build process and the adoption of new boards. In this branch of my fork, I've introduced PlatformIO and configured three boards: the ESP32, the ESP32 Solo1 (Shelly 1 Plus), and the ESP32-S3 Dev Kit C1. You could check if the binary for ESP32-S3 works.

To simplify the comparison, I didn't change the directory tree structure to match the PlatformIO one.

@technyon
Copy link
Owner

It should be possible to support both build systems, cmake and platformio, shouldn't it?

@lucaoliano
Copy link

I have removed some libraries from the lib folder and configured PlatformIO to download them. If you restore those libraries, you can build with CMake too. What advantages do you see in having both build systems?

@technyon
Copy link
Owner

technyon commented Apr 1, 2024

Well, I know cmake quite well, it's powerful, and I can use clion for development.

@lucaoliano
Copy link

I see your point. For the sake of completeness, PlatformIO has a plugin for CLion.

@technyon
Copy link
Owner

technyon commented Apr 2, 2024

Yeah except it doesn't really work, at least last time I checked. But really compiling this project isn't too hard. All the files are there, I somewhat like it in embedded projects to have all the files for compilation available without having to use some kind of package manager. Tried that for bigger projects (used conan for that). It works more or less, but gives you headaches often enough. Just copying the files into the project is often much less of a hassle for C/C++ projects.

@lucaoliano
Copy link

I don't use CLion so I don't know how well the PlatformIO plugin works, after your post I downloaded it and just tried to build the project and it built without any problems. Actually I'm using VSCode and it works pretty well with PlatformIO. In addition to the build and package management, also consider that can be supported different boards just by adding their ID in the configuration file.

@iranl iranl added this to the Arduino Core 3.0 milestone May 18, 2024
@iranl iranl changed the title Cant install în esp32-c6 [Feature Request] Add support for ESP32-C6 May 18, 2024
@iranl iranl self-assigned this May 18, 2024
@iranl iranl added the enhancement New feature or request label May 18, 2024
@iranl iranl pinned this issue May 18, 2024
@sjors-lemniscap
Copy link

No, it is not compatible at this time.

ESP32 Arduino Core 3.0.0 (which is in alpha state right now) adds support for the C6.

Nuki Hub is build using the latest stable core 2.0.14

ESP32 Arduino Core 3.0.0 is now out of alpha (since 3 days): https://github.com/espressif/arduino-esp32/releases/tag/3.0.0

@iranl
Copy link
Collaborator

iranl commented Jun 28, 2024

Preliminary/Experimental support for C6 is added in PR #407
This build is tested on a C6 devkit with nuki hub registered as an app.
There are still some issues though with stability (could partially be due to running as an app) and pairing.
Pairing can only be done by copying the pairing information of a different nuki hub device that is already paired.

@iranl iranl mentioned this issue Jul 28, 2024
5 tasks
@iranl iranl unpinned this issue Jul 28, 2024
@iranl iranl modified the milestones: Arduino Core 3.0, 9.00 Jul 28, 2024
@iranl
Copy link
Collaborator

iranl commented Jul 30, 2024

ESP32-C6 should be usable once #436 is merged, including pairing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants