Skip to content

Arduino nano 33 ble corrections #84675

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

Merged

Conversation

KurtE
Copy link
Contributor

@KurtE KurtE commented Jan 28, 2025

Some minor fixes/changes to the Arduino Nano 33 BLE board definitions as well as to
by default, turn the Power LED on.

The main change in this PR is to update the arduino_nano_r3_connctor.dtsi file to fix the
mappings of several pins (7, 8, 18, 19, 21) to match the hardware.

Thanks
Kurt

Copy link

Hello @KurtE, and thank you very much for your first pull request to the Zephyr project!
Our Continuous Integration pipeline will execute a series of checks on your Pull Request commit messages and code, and you are expected to address any failures by updating the PR. Please take a look at our commit message guidelines to find out how to format your commit messages, and at our contribution workflow to understand how to update your Pull Request. If you haven't already, please make sure to review the project's Contributor Expectations and update (by amending and force-pushing the commits) your pull request if necessary.
If you are stuck or need help please join us on Discord and ask your question there. Additionally, you can escalate the review when applicable. 😊

facchinm
facchinm previously approved these changes Jan 28, 2025
Copy link
Collaborator

@facchinm facchinm left a comment

Choose a reason for hiding this comment

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

@kartben
Copy link
Collaborator

kartben commented Jan 28, 2025

@KurtE there's a bug in boards/arduino/nano_33_ble/arduino_nano_33_ble_nrf52840_sense.yaml, unrelated to your PR, could you please fix the identifier: in a first commit?

diff --git a/boards/arduino/nano_33_ble/arduino_nano_33_ble_nrf52840_sense.yaml b/boards/arduino/nano_33_ble/arduino_nano_33_ble_nrf52840_sense.yaml
index a90550ce8f1..56f57856eef 100644
--- a/boards/arduino/nano_33_ble/arduino_nano_33_ble_nrf52840_sense.yaml
+++ b/boards/arduino/nano_33_ble/arduino_nano_33_ble_nrf52840_sense.yaml
@@ -1,4 +1,4 @@
-identifier: arduino_nano_33_ble//sense
+identifier: arduino_nano_33_ble/nrf52840/sense
 name: Arduino Nano 33 BLE Sense
 type: mcu
 arch: arm

also please check errors reported by the compliance check script to make your commits messages compliant :) thanks!
https://github.com/zephyrproject-rtos/zephyr/actions/runs/13012669945/job/36294212160?pr=84675

@KurtE KurtE force-pushed the arduino_nano_33_ble_corrections branch from a9f227d to befd015 Compare February 3, 2025 16:27
@pillo79
Copy link
Collaborator

pillo79 commented Feb 5, 2025

Hello @KurtE and thanks for this.
Still a very tiny issue required to make CI happy - try signing off your commit as Kurt E maybe?

You can also run compliance checks locally with ./scripts/ci/check-compilance.py from the zephyr/ directory, if you wish. Make sure to run pip install -r scripts/requirements-compliance.txt once to get required packages though.

Fix compliance check script.

Arduino nano BLE - connector.dtsi pin corrections

There were several pin mappings from Arduino pin to GPIO pin
which were not correct.

This includes Arduino pins: 7, 8, 18, 19, 21

Arduino NANO 33 BLE - init turn PWR LED on

default Power LED light on.

Signed-off-by: Kurt Eckhardt <kurte@rockisland.com>
@kartben kartben force-pushed the arduino_nano_33_ble_corrections branch from befd015 to 88b2a45 Compare February 5, 2025 13:22
@KurtE
Copy link
Contributor Author

KurtE commented Feb 5, 2025

Thanks @pillo79 - I thought I did, the commit was amended showing my Full name...
Yet it keeps mentioning the original post, I put in the signed off...

Will try it locally as you mentioned.

Thanks

@pillo79
Copy link
Collaborator

pillo79 commented Feb 5, 2025

No worries, Benjamin just did it for you this time 😉 (thanks!)

EDIT: In fact, I think you already did. Might have been related to a CI glitch in the past days where PRs got stuck until you force pushed them once. Sorry about that ... see notes by Ben 🙂

@KurtE
Copy link
Contributor Author

KurtE commented Feb 5, 2025

Thanks

@kartben
Copy link
Collaborator

kartben commented Feb 5, 2025

No worries :)
For the record, the git command is:

git commit --amend --author="Jane Doe <jane@doe.com>" --no-edit

@kartben
Copy link
Collaborator

kartben commented Feb 5, 2025

Thanks @pillo79 - I thought I did, the commit was amended showing my Full name...

@KurtE
ya the issue was the mismatch with the sign-off which you have correctly fixed, but git author that was not matching

thanks for your perseverance!

@pillo79
Copy link
Collaborator

pillo79 commented Feb 6, 2025

... aaand a different issue appeared yesterday 😅
Not your PR's fault, but there is a problem with the Nano 33 BLE in the main branch right now. We will have to wait until #85281 is merged before retrying the CI. Sorry!

@kartben kartben merged commit 94c759d into zephyrproject-rtos:main Feb 6, 2025
19 checks passed
Copy link

github-actions bot commented Feb 6, 2025

Hi @KurtE!
Congratulations on getting your very first Zephyr pull request merged 🎉🥳. This is a fantastic achievement, and we're thrilled to have you as part of our community!

To celebrate this milestone and showcase your contribution, we'd love to award you the Zephyr Technical Contributor badge. If you're interested, please claim your badge by filling out this form: Claim Your Zephyr Badge.

Thank you for your valuable input, and we look forward to seeing more of your contributions in the future! 🪁

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants