arduino / arduino/ArduinoCore-samd

Please implement setWireTimeout() in SAMD Wire library

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

Description

This is just my plea to bring setWireTimeout() to the SAMD wire library.

Whatever you think about the suitability of I2C or SAMD or Arduino itself; code that *will* lock up on a bad transaction is far from ideal, even in non-critical applications.

Please port this from the architectures that already have it. I and many others would greatly appreciate it. Thanks for your consideration and for everything you do.

Contributor guide

No contributing guide indexed for this repository

Research direction

Compare the Wire implementations in architectures that already provide setWireTimeout(), then inspect the SAMD Wire library to identify the corresponding entry points. Port the behavior so SAMD supports setWireTimeout() and verify that a bad I2C transaction no longer locks up; the issue names no specific files or tests.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.