Skip to content

Expose build-properties flag #279

Open
@ianfixes

Description

@ianfixes

via arduino/arduino-cli#1044

./arduino-cli compile -b arduino:avr:uno --build-property="build.extra_flags=\"-DMY_DEFINE=\"hello world\"\"" /home/user/Arduino/MySketch

This should probably appear in the config as a new entry build_properties

compile:
  build_properties:
    - "build.extra_flags=\"-DMY_DEFINE=\"hello world\"\""
    - "build.extra_flags=-DPIN=2 \"-DMY_DEFINE=\"hello world\"\""
    - build.extra_flags=-DPIN=2
    - "compiler.cpp.extra_flags=\"-DMY_DEFINE=\"hello world\"\"" 

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Expose build-properties flag · Issue #279 · Arduino-CI/arduino_ci