Skip to content

Compiling multiple times in a row fails + bugfix #4

@espirit

Description

@espirit

When compiling multiple times in a row, the cflags and ldflags grow.
This is caused by the copy-by-reference of self.base_flags (in toolchain_stm32.py).

Change in getBuilderCFLAGS() and getBuilderLDFLAGS :
flags = self.base_flags
to:
flags = []
flags += self.base_flags

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