Skip to content

Surface compiler flags for a given platform #1090

Closed
@ianfixes

Description

@ianfixes

Feature Request

arduino_ci has logic for building Arduino libraries with mocked hardware.
Part of this is setting the proper compiler #define values for a given board, which I currently hard code in a yaml file. __AVR_ATmega328P__ becomes the compiler flag -D__AVR_ATmega328P__, and so on.

I'd like a way to ask arduino-cli for these instead, if possible.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions