Skip to content

CubeMX v4.18 - Syntax error: "(" unexpected #20

@slee-ensil

Description

@slee-ensil

Not sure if this is the issue of CubeMX or not but as of CubeMX v4.18, the xml file (.cproject) has been changed slightly from
__weak="attribute((weak))"
to just
__weak=attribute((weak))

So you may need to add the missing quots to the C_DEFS string, i.e.,
C_DEFS = -D__weak="attribute_((weak))"
instead of
C_DEFS = -D__weak=attribute_((weak))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions