Skip to content

Arduino esp32 core cannot be used by other platform #4691

Closed
@vroland

Description

@vroland

Hardware:

Board: other
Core Installation version: 1.0.4/master
IDE name: Arduino IDE
Flash Frequency: -
PSRAM enabled: -
Upload Speed: -
Computer OS: All

Description:

I'd like to specify custom boards. According to the Arduino platform specification, I should be able to do refer to the esp32 platform for the build instructions (platform.txt) and only add additional board definitions (board.txt).
However, the platform.txt file of the arduino-esp32 core assumes {runtime.platform.path} its its own path instead of a derived platform. See also a similar issue with the esp8266 core: esp8266/Arduino#5769.
Would using {build.core.path}/../.. instead of {runtime.platform.path} be a possibility here?

Sketch: not relevant

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions