arduino / arduino/ArduinoCore-samd

SERCOM + yield() ?

Open
#108 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
502
Forks
740
PR merge metrics
No merged PRs in 30d

Description

I can't be sure without more testing but it seems SERCOM blocks indefinitely when I2C is expected but not present; under these circumstances a yield() statement in the while loops and also a timeout seems desirable.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the SERCOM I2C wait loops and reproduce the behavior with no I2C device present. Determine where the loops block indefinitely, then define and verify the expected yield and timeout behavior with a regression test.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
embedded-iot
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.