Project

General

Profile

esp32s2 building error

Added by engineer old almost 2 years ago

esp32_adc_demo.slx

"
D:/waijung2_22.8a/waijung2/targets/esp32/setup/esp_idf/components/esp32-camera/driver/twi.c:61:24: error: 'rtc_gpio_desc' undeclared (first use in this function); did you mean 'rtc_io_desc'?

D:/waijung2_22.8a/waijung2/targets/esp32/setup/esp_idf/components/esp32-camera/driver/private_include/camera_common.h:19:2: error: #error Target CONFIG_IDF_TARGET is not supported

D:/waijung2_22.8a/waijung2/targets/esp32/setup/esp_idf/components/esp32-camera/driver/xclk.c:20:29: error: 'LEDC_HIGH_SPEED_MODE' undeclared (first use in this function); did you mean 'LEDC_LOW_SPEED_MODE'?

......"
all errors related to camera


Replies (6)

RE: esp32s2 building error - Added by Parth Maheshwari (พาร์ท) almost 2 years ago

Hello,

Firstly, may I kindly request you to sign up with your name and also let us know what kind of project you are working on. That will help us provide the most appropriate support.

Secondly, could you please send me a screenshot of what your model looks like? Because this is what it looks like for me:

I am unsure whether you are using 3 GPIO pins for the ADC block or just 1. I would like to make sure that I'm debugging and testing as per your model design.

Lastly, could you please copy your entire compilation error from the MATLAB/Simulink diagnostic viewer into a .txt file and attach it here? That would help.

Thank you.

Sincere regards,
Parth Maheshwari
Application Engineer

RE: esp32s2 building error - Added by engineer old almost 2 years ago

Thanks for your prompt reply.

I don't think the use of ADC BLOCK is the point, so I changed another simpler example.so as not to mislead you.

RE: esp32s2 building error - Added by engineer old almost 2 years ago

add a point,working of esp32 is good

RE: esp32s2 building error - Added by Parth Maheshwari (พาร์ท) almost 2 years ago

Hello Su Anping,

Thank you for sending the error file, I have looked at it.

Please install the Camera, Sqlite, and ADC patch files from here: https://waijung2-doc.aimagin.com/patch-files.html

Installing these patches should solve your compilation errors.

Lastly, would it be possible for you to share what project you are working on?

I look forward to your update after installing the patch files, please let me know.

--
Parth

it‘s OK,thanks a lot! - Added by engineer old almost 2 years ago

The project is an agricultural environmental monitoring device. Whether it is suitable to use waiijung still needs to be tested, because c is also used for RISCV ULP programming, and later synthesis is also a problem. So it needs to be evaluated.

RE: esp32s2 building error - Added by Parth Maheshwari (พาร์ท) almost 2 years ago

Okay, thank you for letting me know.

Please feel free to contact us for any questions.

--
Parth

    (1-6/6)