Hi,
I am trying to build a number of examples that work across most processors, but run into compilation issues with C3. In all cases there is a failure to find include files in the \SOC folder. Many examples that depend upon libraries, such using header files, such as as DacESP32.h. Fail. Inside DacESP32.h there are a number of includes for SOC files which can't be found. I have the latest Espressif esp32 board file, 2.0.5
Here are some:
#include "soc/rtc_io_reg.h"
#include "soc/rtc_cntl_reg.h"
#include "soc/sens_reg.h"
#include "soc/dac_channel.h"
#include "soc/rtc.h"
These all work on any regular ESP32 Dev board but not on C3.
Any ideas? thanks!!
esp32-c3 - missing SOC include files in arduino IDE 2.03
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- malc
- Posts: 25
- Joined: Wed Aug 06, 2008 4:53 pm
- mikeysklar
- Posts: 14194
- Joined: Mon Aug 01, 2016 8:10 pm
Re: esp32-c3 - missing SOC include files in arduino IDE 2.03
The ESP32-C3 does not have an internal DAC. Is that what you are attempting to utilize?
https://github.com/earlephilhower/ESP82 ... issues/442
https://github.com/earlephilhower/ESP82 ... issues/442
- malc
- Posts: 25
- Joined: Wed Aug 06, 2008 4:53 pm
Re: esp32-c3 - missing SOC include files in arduino IDE 2.03
Ahh, thanks Mike. I got confused between the ESP32 models and thought it did have a DAC. Thanks for responding!mikeysklar wrote: ↑Tue Jan 31, 2023 5:41 pm The ESP32-C3 does not have an internal DAC. Is that what you are attempting to utilize?
https://github.com/earlephilhower/ESP82 ... issues/442
Please be positive and constructive with your questions and comments.