arduino / arduino/Arduino

Wire library consumes resources when included but not used

Open
#11,364 0 comments 0 reactions 0 assignees View on GitHub
feature request Library: Wire
Dominant language
Java
Stars
14.6k
Forks
7k
PR merge metrics
No merged PRs in 30d

Description

I noted when the official Wire library is included without any functions used, it consumes program memory and global registers unlike the official SPI and EEPROM libraries under the same circumstances.
Is it possible to rework the Wire library to address this issue without affecting functionality?

Contributor guide

Open the contributing guide

Research direction

Start by locating the official Wire library and compare its behavior when included but unused with the official SPI and EEPROM libraries under the same conditions. Confirm that an unused Wire include no longer consumes program memory or global registers while existing Wire functionality remains unchanged.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.