Adapt a project not using CMake ?

tdm_fr
Posts: 2
Joined: Wed Jan 15, 2025 9:54 pm

Adapt a project not using CMake ?

Postby tdm_fr » Wed Jan 15, 2025 10:10 pm

Hello,

I'm totally new to the ESP world so I'm sorry if my question is trivial but I can't find a solution to this.

I bought some ESP32-C6 boards and tried to use them with ESPHome (since I'm a HomeAssistant user).
Bad luck, the C6 chipset is not yet available in ESPHome.
So I downloaded ESP-IDF in Visual Studio with some extensions to make it work correctly.
I easily built and flashed the ESP with the "blink" test project. I even tried a "wifi" project, connecting successfully to my wifi network.

BUT, originally I bought these ESP to control my Mitsubishi HAVC using this project : https://github.com/echavet/MitsubishiCN105ESPHome
The author claim that the code is working with recent ESP like the ESP-S3, so I guess it should work with the C6 version.
But the thing is that his project do not have any CMake files, and I can't find any information on how to add this to the project.

Anyone can help or provide any source that could help me reach this goal ?

Regards,
tdm_fr

MicroController
Posts: 1954
Joined: Mon Oct 17, 2022 7:38 pm
Location: Europe, Germany

Re: Adapt a project not using CMake ?

Postby MicroController » Thu Jan 16, 2025 10:56 am

Apparently, the project is based on ESPHome and not a stand-alone IDF application. You'll probably have to build it using the ESPHome SDK/toolchain.

tdm_fr
Posts: 2
Joined: Wed Jan 15, 2025 9:54 pm

Re: Adapt a project not using CMake ?

Postby tdm_fr » Thu Jan 23, 2025 8:31 am

Hello MicroController,
I actually found a way to flash the ESP in the ESPHomeBuilder, I just had to insert this code :

Code: Select all

esp32:
  board: esp32-c6-devkitc-1
  variant: esp32c6
  framework:
    type: esp-idf
so that the code could be compiled and flashed.

Who is online

Users browsing this forum: Bing [Bot], Google [Bot], ram_0000 and 106 guests