I have now got the example to compile. I had copied the whole dvp_spi_lcd directory to a local project directory and tried to compile it, which gave the errors.
When I compile the dvp_spi_lcd in its original location it compiles properly. The difference is that the example directory ${IDF_PATH ...
Search found 6 matches
- Sun Sep 07, 2025 12:28 pm
- Forum: Hardware
- Topic: ESP-IDF v6 example code camera-dvp_spi_lcd will not compile
- Replies: 4
- Views: 2175
- Fri Sep 05, 2025 4:13 pm
- Forum: Hardware
- Topic: ESP-IDF v6 example code camera-dvp_spi_lcd will not compile
- Replies: 4
- Views: 2175
Re: ESP-IDF v6 example code camera-dvp_spi_lcd will not compile
ESP-IDF v6.0-dev-986-g5b11d5b26a running on macOS.
I can only find esp_cam_ctlr_alloc_buffer in dvp_spi_lcd_main.c at line 162 right at the beginning of app_main()
cam_buffer = esp_cam_ctlr_alloc_buffer(cam_handle, cam_buffer_size, EXAMPLE_DVP_CAM_BUF_ALLOC_CAPS);
so its not actually defined ...
I can only find esp_cam_ctlr_alloc_buffer in dvp_spi_lcd_main.c at line 162 right at the beginning of app_main()
cam_buffer = esp_cam_ctlr_alloc_buffer(cam_handle, cam_buffer_size, EXAMPLE_DVP_CAM_BUF_ALLOC_CAPS);
so its not actually defined ...
- Fri Sep 05, 2025 2:46 pm
- Forum: Hardware
- Topic: ESP-IDF v6 example code camera-dvp_spi_lcd will not compile
- Replies: 4
- Views: 2175
ESP-IDF v6 example code camera-dvp_spi_lcd will not compile
I get 1 error when trying to compile
...../camera-dvp_spi_lcd/main/dvp_spi_lcd_main.c:166:18: error: implicit declaration of function 'esp_cam_ctlr_alloc_buffer'; did you mean 'esp_cam_ctlr_get_frame_buffer'? [-Wimplicit-function-declaration]
166 | cam_buffer = esp_cam_ctlr_alloc_buffer(cam_handle ...
...../camera-dvp_spi_lcd/main/dvp_spi_lcd_main.c:166:18: error: implicit declaration of function 'esp_cam_ctlr_alloc_buffer'; did you mean 'esp_cam_ctlr_get_frame_buffer'? [-Wimplicit-function-declaration]
166 | cam_buffer = esp_cam_ctlr_alloc_buffer(cam_handle ...
- Thu Sep 05, 2024 2:29 pm
- Forum: ESP-IDF
- Topic: macOS location for esp-idf
- Replies: 0
- Views: 1324
macOS location for esp-idf
Trying to get esp-idf working on macOS (14 Sonoma) on M1 MacBook Air but not quite there.
Downloaded and installed a few times, but esp-idf is not being picked up. I see it is at ~/esp/v5.3.1/esp-idf but the built-in links seem to expect it at ~/esp/esp-idf without the intermediate version directory ...
Downloaded and installed a few times, but esp-idf is not being picked up. I see it is at ~/esp/v5.3.1/esp-idf but the built-in links seem to expect it at ~/esp/esp-idf without the intermediate version directory ...
- Fri Aug 02, 2024 7:31 am
- Forum: General Discussion
- Topic: 12 PWM channels
- Replies: 5
- Views: 3299
Re: 12 PWM channels
The ESP32-S3 datasheet shows among other bits:
• 45 × programmable GPIOs
• Digital interfaces:
…
LED PWM controller, up to 8 channels
…
2 × MCPWM
That makes a total of 10 PWM channels, whereas I need 12.
Which version of the ESP32 has at least 12 PWM channels?
• 45 × programmable GPIOs
• Digital interfaces:
…
LED PWM controller, up to 8 channels
…
2 × MCPWM
That makes a total of 10 PWM channels, whereas I need 12.
Which version of the ESP32 has at least 12 PWM channels?
- Thu Aug 01, 2024 10:10 pm
- Forum: General Discussion
- Topic: 12 PWM channels
- Replies: 5
- Views: 3299
12 PWM channels
I have an existing product design with 3 LEDs and 8 servos, all with independent PWM channels, based on the ESP32-WROOM -1 Devkit. I need 1 more PWM channel for a fan, and more IO lines for other things, making a total of 36 I/O lines. The ESP32-S3-WROOM-1 looks ideal, but I am having trouble ...