-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
Added missing arduino definitions to nRF5340 Audio DK board #69794
Added missing arduino definitions to nRF5340 Audio DK board #69794
Conversation
2bc8d96
to
41a7bbc
Compare
@koffes please review |
1cf9d8b
to
771824b
Compare
Did anything change apart from a rebase and a rename in the last two force pushed @smaerup ? |
|
boards/nordic/nrf5340_audio_dk/nrf5340_audio_dk_nrf5340_cpuapp_common.dtsi
Outdated
Show resolved
Hide resolved
boards/nordic/nrf5340_audio_dk/nrf5340_audio_dk_nrf5340_cpuapp_common.dtsi
Outdated
Show resolved
Hide resolved
771824b
to
2f50f88
Compare
cs-gpios = <&gpio0 11 GPIO_ACTIVE_LOW>, <&gpio0 17 GPIO_ACTIVE_LOW>, | ||
<&arduino_header 16 GPIO_ACTIVE_LOW>; |
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.
cs-gpios = <&gpio0 11 GPIO_ACTIVE_LOW>, <&gpio0 17 GPIO_ACTIVE_LOW>, | |
<&arduino_header 16 GPIO_ACTIVE_LOW>; | |
cs-gpios = <&arduino_header 16 GPIO_ACTIVE_LOW>, | |
<&gpio0 11 GPIO_ACTIVE_LOW>, <&gpio0 17 GPIO_ACTIVE_LOW>; |
and adjust addresses in sdhc@0
and cs47l63@1
below. arduino_spi
users (e.g. shields) will likely use CS #0
, not #2
.
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.
Hi @anangl - could you please explain to a 'devicetree novice' like me? :)
2f50f88
to
11d284c
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.
Please fix the compliance check failure (use tab instead of 8 spaces).
The following west manifest projects have been modified in this Pull Request:
Note: This message is automatically posted and updated by the Manifest GitHub Action. |
The following west manifest projects have been modified in this Pull Request: Note: This message is automatically posted and updated by the Manifest GitHub Action. |
1797361
to
5830689
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.
The previous merge issue seems fixed now
@@ -137,23 +137,6 @@ arduino_i2c: &i2c1 { | |||
pinctrl-0 = <&i2c1_default>; | |||
pinctrl-1 = <&i2c1_sleep>; | |||
pinctrl-names = "default", "sleep"; | |||
}; | |||
|
|||
arduino_spi: &spi4 { |
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.
You should correct the commits. Currently, the second commit removes changes in boards/
that are just unnecessarily introduced by the first one.
The nRF5340 Audio DK board definition was missing Arduino Shield definitions. Signed-off-by: Tim Sørensen <tims@demant.com>
The adc_api test was missing an overlay file for the nRF5340 Audio Dk board. Signed-off-by: Tim Sørensen <tims@demant.com>
5830689
to
89c3627
Compare
pinctrl-0 = <&spi4_default>; | ||
pinctrl-1 = <&spi4_sleep>; | ||
pinctrl-names = "default", "sleep"; | ||
sdhc0: sdhc@0 { | ||
sdhc0: sdhc@1 { |
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 was this changed to 1?
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.
It was suggested by anangl above that shield users will probably use CS0, hence sdhc and cs47l63 should be incremented by 1.
@@ -191,7 +203,7 @@ arduino_serial: &uart1 { | |||
spi-max-frequency = <8000000>; | |||
}; | |||
|
|||
cs47l63: cs47l63@1 { | |||
cs47l63: cs47l63@2 { |
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 was this changed to 2?
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.
It was suggested by anangl above that shield users will probably use CS0, hence sdhc and cs47l63 should be incremented by 1.
Hi @smaerup! 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! 🪁 |
No description provided.