Skip to content

sam0.inc.mk: Did not find a device with serial ATML21xxxxxxxx #10367

@jnohlgard

Description

@jnohlgard

Description

The build process is aborted before compilation if the specified programmer is not connected whenever the debugger serial is specified, even when the build command is only for compilation without flashing.

Steps to reproduce the issue

make -C examples/hello-world BOARD=samr21-xpro SERIAL=ATML211234567

Expected results

No errors, hello-world.elf built.

Even when flashing the process should first build the binary and only complain if the debugger is not connected when it comes to the flashing step.

Actual results

make: Entering directory '.../RIOT/examples/hello-world'
.../RIOT/makefiles/boards/sam0.inc.mk:13: *** Did not find a device with serial ATML211234567.  Stop.
make: Leaving directory '.../RIOT/examples/hello-world'

Versions

latest master (98f42ee)
GNU Make 4.2.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: build systemArea: Build systemImpact: minorThe PR is small in size and might only require a quick look of a knowledgeable reviewerPlatform: ARMPlatform: This PR/issue effects ARM-based platformsType: bugThe issue reports a bug / The PR fixes a bug (including spelling errors)

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions