Skip to content

-mmcu= not passed while generating dependencies #106

Closed
@matthijskooijman

Description

@matthijskooijman

I haven't thoroughly verified this, but arduino/Arduino#4512 (comment) seems to indicate that, while running the preprocessor to collect dependencies, the -mmcu= option is not passed to gcc. You would say that this is not needed for preprocessing, but this also prevents defines like __AVR_ATmega328p__ from being present, which could be used to determine what libraries to use (as happens in this library).

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: imperfectionPerceived defect in any part of project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions