Seeed-Studio / Seeed_Arduino_SSCMA

Arduino library for devices supporting the SSCMA-Micro firmware
MIT License
25 stars 5 forks source link

[camera web server example] FreeRTOS.h build error w/ Xiao ESP32C3 #24

Closed mbz4 closed 3 months ago

mbz4 commented 4 months ago

Describe the bug Trouble building camera web server example - missing library reference: FreeRTOS.h Not sure which FreeRTOS.h to use, there's so many and its very configurable.

Observations:

To Reproduce Hardware: Xiao ESP32C3 + Grove Vision Module v2

Steps to reproduce the behavior:

  1. Configure project w/ PlatformIO or ArduinoIDEv2
  2. Run Build / Compile Web Camera Server example project

Expected behavior Expected successful build, build errors instead.

Platformio.ini file: [env:seeed_xiao_esp32c3] platform = espressif32 board = seeed_xiao_esp32c3 board_build.mcu = esp32c3 board_build.f_cpu = 160000000L monitor_speed = 115200 upload_protocol = esptool framework = arduino lib_deps = seeed-studio/Seeed_Arduino_SSCMA@^1.0.0 bblanchon/ArduinoJson@^7.0.4 ; linlin-study/FreeRTOS-Kernel@^10.4.4-1 (tried several, not sure which to use here) hideakitai/ArduinoEigen@^0.3.2

Build Output

Processing seeed_xiao_esp32c3 (platform: espressif32; board: seeed_xiao_esp32c3; framework: arduino)

Verbose mode can be enabled via -v, --verbose option CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/seeed_xiao_esp32c3.html PLATFORM: Espressif 32 (6.4.0) > Seeed Studio XIAO ESP32C3 HARDWARE: ESP32C3 160MHz, 320KB RAM, 4MB Flash DEBUG: Current (cmsis-dap) External (cmsis-dap, esp-bridge, esp-builtin, esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa) PACKAGES:


mbz4 commented 4 months ago

Updates:

We highly recommend that you use Grove Vision AI V2 to take pictures of your dataset, which is best for Grove Vision AI V2. Grove Vision AI V2 is currently developing the functionality part of taking pictures, and once that is done, you can use Grove Vision AI V2 to capture pictures for your dataset. Until then, you can use photos taken by other devices as datasets.

Figured to try collect the images using the xiao x vision module combo with this camera server example. Will try deploying and get this example running again. Ultimately just need the image dataset...

mbz4 commented 4 months ago

updates:

Muhammad-Yunus commented 1 month ago

Hi guys,

I'm able to build camera webserver example for xiao esp32 c3 after commenting out the #include line in app_httpd.cpp. image