Skip to content

esp32-camera compilation fails with error 'PERIPH_GDMA_MODULE' undeclared #812

@DemTerritory

Description

@DemTerritory

Checklist

  • Checked the issue tracker for similar issues to ensure this is not a duplicate
  • Read the documentation to confirm the issue is not addressed there and your configuration is set correctly
  • Tested with the latest version to ensure the issue hasn't been fixed

How often does this bug occurs?

always

Expected behavior

The component should compile successfully without errors.

Actual behavior (suspected bug)

The build fails with an "undeclared" error:
managed_components/espressif__esp32-camera/target/esp32s3/ll_cam.c:238:35: error: 'PERIPH_GDMA_MODULE' undeclared (first use in this function);

The compilation of the component fails after the application of the following ESP-IDF commit:
refactor(hw_support): remove unused periph_module_t members
espressif/esp-idf@d0e24e4
which was merged on October 9th, 2025

Error logs or terminal output

Steps to reproduce the behavior

-- Minimal build - ON
-- Building ESP-IDF components for target esp32s3
NOTICE: Processing 4 dependencies:
NOTICE: [1/4] espressif/esp32-camera (2.1.3)
NOTICE: [2/4] espressif/esp_jpeg (1.3.1)
NOTICE: [3/4] espressif/esp_websocket_client (1.5.0)
NOTICE: [4/4] idf (6.1.0)

Project release version

esp32-camera (2.1.3)

System architecture

Intel/AMD 64-bit (modern PC, older Mac)

Operating system

Windows

Operating system version

Win10

Shell

CMD

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions