Page 1 of 1
Rainmaker won't compile with ESP32C2 under Arduino IDE
Posted: Wed Oct 23, 2024 5:13 pm
by themindfactory
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,
Re: Rainmaker won't compile with ESP32C2 under Arduino IDE
Posted: Tue Oct 29, 2024 1:46 pm
by ESP_Piyush
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?
Re: Rainmaker won't compile with ESP32C2 under Arduino IDE
Posted: Tue Oct 29, 2024 5:14 pm
by themindfactory
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.
Re: Rainmaker won't compile with ESP32C2 under Arduino IDE
Posted: Tue Oct 29, 2024 6:02 pm
by themindfactory
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.