Hi
Does platformio support from ESP32 Wrover Module?
please give me sample
Should be Espressif ESP-WROVER-KIT — PlatformIO latest documentation according to boards.txt and board’s JSON file.
Have you tried with a platformio.ini
of
[env:esp-wrover-kit]
platform = espressif32
board = esp-wrover-kit
framework = arduino
build_flags = -DBOARD_HAS_PSRAM -mfix-esp32-psram-cache-issue
and some blinky / Serial code?
when use esp-wrover-kit returns this error
RAM: [== ] 16.3% (used 53432 bytes from 327680 bytes)
Error: The program size (2102739 bytes) is greater than maximum allowed (1310720 bytes)
The sketch you’re trying to compile does not fit in the App0 partition of your selected partition table. Are you working with Arduino or ESPIDF as framework?
I working ESP32 CAM and Arduino framework
Then, as you can read in the docs, you can set the partition table, allowing for larger applications, by e.g. writing
board_build.partitions = huge_app.csv
in the platformio.ini
.
build is success but when rest module show this error
[E][camera.c:1049] camera_probe(): Detected camera not supported.
[E][camera.c:1249] esp_camera_init(): Camera probe failed with error 0x20004
era init failed with error 0x200040.0.0.0
Does the same happen when setting board = esp32cam
in the platformio.ini
?
[env:esp-wrover-kit]
platform = espressif32
board = esp-wrover-kit
framework = arduino
monitor_speed = 115200
build_flags = -DBOARD_HAS_PSRAM -mfix-esp32-psram-cache-issue
lib_deps = m5stack/Timer-CAM@^0.0.1
board_build.partitions = huge_app.csv
Okay so that is your whole platformio.ini
but doesn’t answer my question.
Replacing this with board = esp32cam
makes no difference?
No. There is no difference
but in Arduino IDE good working
What’s the exact code you’re running?
From your screenshot I see that you’re additionally deviating from the standard settings in flash frequency and flash mode, from originally DIO + 40MHz to QIO and 80MHz.
If you want to emulate that you need to additionally write
board_build.f_flash= 80000000L
board_build.flash_mode = qio
in the platformio.ini
.
add this code in platformio.ini
board_build.f_flash= 80000000L
board_build.flash_mode = qio
but show this error
[E][camera.c:1049] camera_probe(): Detected camera not supported.
[E][camera.c:1249] esp_camera_init(): Camera probe failed with error 0x20004
0.0.0.0
Often this error for voltage but I not think this error regarding voltage
Have you tried commenting line 11 and uncommenting line 17?
Do you have a link to the exact camera module that you’ve bought?
yes I comment line 11 and uncomment line 17
yes. I run this code in Arduino IDE and good working module ESP32
No I meant the shop link where you baught the device.
In the Arduino IDE under Tools → Board → Board Manager, what’s the version of the esp32 package?
No the camera board itself.
yes. I have camera board
Again, I mean, do you have a link to the page where the device you have is sold?