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

boards: Fix I2C Arduino mapping #19767

Merged
merged 1 commit into from
Jun 28, 2023

Conversation

maribu
Copy link
Member

@maribu maribu commented Jun 28, 2023

Contribution description

The correct macro name is ARDUINO_I2C_UNO for Arduino UNO compatible I2C bus location, or ARDUINO_I2C_NANO for Arduino Nano compatible I2C bus location. Hence, rename it from ARDUINI_I2C0 to the correct name.

Testing procedure

Check the documentation at https://doc.riot-os.org/iomaps.html#iomaps-mapping-i2c and confirm:

The I2C bus macros should indeed be named ARDUINO_I2C_UNO (when compatible with shields targeting the Arduino UNO R3) or ARDUINO_I2C_NANO (when compatible with shields targeting the Arduino Nano).

Issues/PRs references

Introduced by #19759

The correct macro name is `ARDUINO_I2C_UNO` for Arduino UNO compatible
I2C bus location, or `ARDUINO_I2C_NANO` for Arduino Nano compatible
I2C bus location.
@maribu maribu added Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors) Impact: minor The PR is small in size and might only require a quick look of a knowledgeable reviewer CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Area: sys Area: System labels Jun 28, 2023
@github-actions github-actions bot added Area: boards Area: Board ports and removed Area: sys Area: System labels Jun 28, 2023
@riot-ci
Copy link

riot-ci commented Jun 28, 2023

Murdock results

✔️ PASSED

4f0f1be boards: Fix I2C Arduino mapping

Success Failures Total Runtime
6930 0 6930 11m:15s

Artifacts

Copy link
Contributor

@Teufelchen1 Teufelchen1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!
Just a curiosity: Your contribution description doesn't describe your change but the reason 😄

@chrysn
Copy link
Member

chrysn commented Jun 28, 2023

bors merge

@bors
Copy link
Contributor

bors bot commented Jun 28, 2023

Build succeeded!

The publicly hosted instance of bors-ng is deprecated and will go away soon.

If you want to self-host your own instance, instructions are here.
For more help, visit the forum.

If you want to switch to GitHub's built-in merge queue, visit their help page.

@bors bors bot merged commit 117c577 into RIOT-OS:master Jun 28, 2023
@maribu maribu deleted the fix-bug-arduino-i2c-mapping branch June 28, 2023 10:37
@maribu
Copy link
Member Author

maribu commented Jun 28, 2023

Thx :)

@benpicco benpicco added this to the Release 2023.07 milestone Aug 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: boards Area: Board ports CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Impact: minor The PR is small in size and might only require a quick look of a knowledgeable reviewer Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants