Skip to content

esp32-led-strip-sdk unable to build in VS Code using PlatformIO #17

Open
@oleksandr-kosylov

Description

@oleksandr-kosylov

I'm configuring CMakeLists same as described in Example, it successfully works from Terminal using idf.py build BUT doesn't work from in VSCode using PlatformIO (idf 5.2.1)

Looks like custom command/custom target never gets called, so _swiftcode.o never generated and build fails due to undefined symbols for app_main function which is implemented in Main.swift.

I see command and target configuration in build.ninja but they are not called, I've tried to replace swiftc command with custom test command but it's not getting executed.

I've either filed an issue in PlatformIO repo: platformio/platform-espressif32#1401

Please advice.

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