Skip to content

Can't anymore test ARM and uARM toolchain #1708

@svastm

Description

@svastm

After the merge #1691 it's not anymore possible to use the command singletest.py with both uARM and ARM toolchain. The ARM part fail build when uARM is also used. If ARM is used alone, no problem.

The problem come from arm.py. The ARM_STD and ARM_MICRO class share a reference self.flags to DEFAULT_FLAGS and when ARM_MICRO object is created, it add, amongst others, --library_type=microlib in the DEFAULT_FLAG and then in the self.flags of ARM_STD object.

A fix could be to copy the DEFAULT_FLAGS line 57.

self.flags = copy.deepcopy(self.DEFAULT_FLAGS)

Another problem is that the uARM toolchain is always in timeout. Can you verify this point ?

exemple with nucleo_l031k6 :
report_issue_l031k6.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions