Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
jnohlgard opened this issue Nov 12, 2018 · 1 comment · Fixed by #14431
Closed

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

jnohlgard opened this issue Nov 12, 2018 · 1 comment · Fixed by #14431
Labels
Area: build system Area: Build system Impact: minor The PR is small in size and might only require a quick look of a knowledgeable reviewer Platform: ARM Platform: This PR/issue effects ARM-based platforms Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors)

Comments

@jnohlgard
Copy link
Member

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

@jnohlgard jnohlgard added Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors) Platform: ARM Platform: This PR/issue effects ARM-based platforms Area: build system Area: Build system Impact: minor The PR is small in size and might only require a quick look of a knowledgeable reviewer labels Nov 12, 2018
smlng added a commit to smlng/RIOT that referenced this issue Jan 22, 2019
If SERIAL is given as environment variable to the build/make system only
test/check the SERIAL if needed for certain make goals, i.e., flash,
flash-only, debug and debug-server. Otherwise ignore it and simply build.

fixes RIOT-OS#10367
@stale
Copy link

stale bot commented Aug 10, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you want me to ignore this issue, please mark it with the "State: don't stale" label. Thank you for your contributions.

@stale stale bot added the State: stale State: The issue / PR has no activity for >185 days label Aug 10, 2019
@stale stale bot closed this as completed Sep 10, 2019
@aabadie aabadie reopened this Sep 21, 2019
@stale stale bot removed the State: stale State: The issue / PR has no activity for >185 days label Sep 21, 2019
@miri64 miri64 added this to the Release 2020.07 milestone Jul 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: build system Area: Build system Impact: minor The PR is small in size and might only require a quick look of a knowledgeable reviewer Platform: ARM Platform: This PR/issue effects ARM-based platforms Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors)
Projects
None yet
3 participants