Rainmaker won't compile with ESP32C2 under Arduino IDE

themindfactory
Posts: 65
Joined: Mon Mar 26, 2018 7:57 pm

Rainmaker won't compile with ESP32C2 under Arduino IDE

Postby themindfactory » Wed Oct 23, 2024 5:13 pm

I get an error that says:

Code: Select all

C:\Users\Richard\AppData\Local\Temp\.arduinoIDE-unsaved2024923-3920-1pjbztg.4z9l\RMakerCustomAirCooler\RMakerCustomAirCooler.ino:41:8: error: 'Device' does not name a type
   41 | static Device *my_device = NULL;
      |        ^~~~~~
If I compile for a WROOM all is OK...

This is with Arduino I have a self compiled board file for the C2

Richard,

ESP_Piyush
Posts: 309
Joined: Wed Feb 20, 2019 7:02 am

Re: Rainmaker won't compile with ESP32C2 under Arduino IDE

Postby ESP_Piyush » Tue Oct 29, 2024 1:46 pm

The pre-built static libraries for Arduino do not yet support esp32c2, as you can see here. Were you trying to use Arduino as an esp-idf component instead? Or did you try compiling the libraries yourself?

themindfactory
Posts: 65
Joined: Mon Mar 26, 2018 7:57 pm

Re: Rainmaker won't compile with ESP32C2 under Arduino IDE

Postby themindfactory » Tue Oct 29, 2024 5:14 pm

I tried compiling the libs for Arduino myself my selecting C2 in the menuconfig... I have since moved onto VSCODE using Arduino and I can select and build now for C2, just have to make sure the libs support C2...

So is it not ready for Arduino yet simply due to the missing peripherals like RMT etc?? or is there more to this?

Richard.

themindfactory
Posts: 65
Joined: Mon Mar 26, 2018 7:57 pm

Re: Rainmaker won't compile with ESP32C2 under Arduino IDE

Postby themindfactory » Tue Oct 29, 2024 6:02 pm

So when I say I can build for C2 now, its not 100% I tried some examples and all worked fine.

But then I try rainmaker examples, it will not fully compile. When I choose ESP32 in VSCODE with IDF its all OK, but C2, no...

Do you know the reason?

All I am doing is rainmaker calls, not RMT no anything else that is not in C2.

Richard.

Who is online

Users browsing this forum: No registered users and 68 guests