Skip to content

Scanvideo build fails on develop #2232

@ikjordan

Description

@ikjordan

The scanvideo examples from pico-playground fail to build when using the develop branch of pico-sdk. I've also created a minimal test based on scanvideo that fails.

The issues appears to be linked to the changes submitted in #2188 (Support multiple .pio file in pico_generate_pio_header)

The build now attempts to create two custom targets with the name pico_scanvideo_scanvideo_pio_h. This results in:

CMake Error at /home/abc/Development/pico/pico-sdk/tools/CMakeLists.txt:185 (add_custom_target): add_custom_target cannot create target "pico_scanvideo_scanvideo_pio_h" because another target with the same name already exists.

One target depends on scanvideo.pio.h the other depends on scanvideo.h

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