-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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: arm: Add support for Arduino Nicla Sense ME #42143
boards: arm: Add support for Arduino Nicla Sense ME #42143
Conversation
840868f
to
e62e98f
Compare
4613703
to
fcaa4e2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this contribution.
A minor request for removing an optional empty file.
@@ -0,0 +1,8 @@ | |||
# Arduino Nicla Sense ME board configuration |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file is optional, so as it is anyway empty it can simply be removed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, thank you 👍
fcaa4e2
to
04d2e81
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your contribution! I noticed a few issues, but I'd be glad to see support for this board added.
aliases { | ||
|
||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove this node if you don't intend to define aliases here.
@@ -0,0 +1,5 @@ | |||
# SPDX-License-Identifier: Apache-2.0 | |||
|
|||
set(OPENOCD_NRF5_SUBFAMILY "nrf52") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this here if you are not including openocd support? Please either remove this line or add openocd support to the board.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I probably thought it had some effect on pyocd... I'll just remove that line since it works without it 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Regarding support for openocd, I just can't get anything other than pyocd working.
# enable sam-ba bootloader | ||
CONFIG_BOOTLOADER_BOSSA=y |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
board.cmake is only declaring support for pyocd, so why is this enabling bossa here? I would have expected support for the bossac runner enabled in board.cmake.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To my understanding bossa doesn't support SAMD11 so I'll just remove this line 👍
04d2e81
to
fe2a080
Compare
@tejlmand ping |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Is there anything I should do about the failed test in order for this to get merged? Seems to me like it's unrelated to my pull request? |
Please rebase to pick up the fix |
c33a51e
fe2a080
to
c33a51e
Compare
Should I re-request review? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm - re-approved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All in-tree boards have now been ported to pinctrl, so please do the same here. You can refer to #43926 for more details.
Sorry for this @benjaminbjornsson, your PR landed in the middle of a pinctrl transition. |
You can try with:
and add |
This commit adds support for the Arduino Nicla Sense ME board. The board functionality has been tested using the samples: - hello_world - philosophers - peripheral_dis - spi_flash Signed-off-by: Benjamin Björnsson <benjamin.bjornsson@gmail.com>
c33a51e
to
834c211
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM now, thank you!
@benjaminbjornsson ignore the compliance check failure, it's unrelated to your patches. |
looks like you'll need to rebase after #44042 (hotfix)... |
This commit adds support for the Arduino Nicla Sense ME board.
The board functionality has been tested with various samples
such as hello_world, philosophers and peripheral_dis.
Signed-off-by: Benjamin Björnsson benjamin.bjornsson@gmail.com