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/samr34-xpro: configure SPI NOR flash #18492

Merged
merged 1 commit into from
Aug 26, 2022

Conversation

benpicco
Copy link
Contributor

@benpicco benpicco commented Aug 21, 2022

Contribution description

There was only SPI config for the internal SPI (wired to sx1276). Also add an external SPI bus wired to the EXT pin headers.

The WLR089 board also comes with a NOR flash soldered on that is connected to this bus, so also configure it.
(It's the same as on samd21-xpro, see #17692)

Testing procedure

Issues/PRs references

@benpicco benpicco requested a review from dylad as a code owner August 21, 2022 11:16
@benpicco benpicco requested a review from jia200x August 21, 2022 11:16
@github-actions github-actions bot added the Area: boards Area: Board ports label Aug 21, 2022
Copy link
Member

@maribu maribu left a comment

Choose a reason for hiding this comment

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

looks good to me. Some comments inline

boards/samr34-xpro/board.c Outdated Show resolved Hide resolved
boards/samr34-xpro/include/board.h Outdated Show resolved Hide resolved
boards/samr34-xpro/include/board.h Outdated Show resolved Hide resolved
boards/samr34-xpro/include/periph_conf.h Show resolved Hide resolved
@benpicco benpicco force-pushed the boards/samr34-xpro_nor branch 2 times, most recently from 0372a87 to ca2db50 Compare August 21, 2022 11:57
@benpicco benpicco changed the title boards/samr34-xpro: configure SPI NOR flash (and fix SPI config) boards/samr34-xpro: configure SPI NOR flash Aug 21, 2022
@benpicco benpicco force-pushed the boards/samr34-xpro_nor branch 2 times, most recently from d9cf4f9 to 5678762 Compare August 25, 2022 22:47
@benpicco benpicco added the CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR label Aug 25, 2022
@maribu
Copy link
Member

maribu commented Aug 26, 2022

Looks like DMA is not supported with SERCOM5. It is interesting that there still is a #define for SERCOM5_DMAC_ID_RX and SERCOM5_DMAC_ID_TX in the vendor files with defines it as empty token.

@benpicco benpicco force-pushed the boards/samr34-xpro_nor branch from 5678762 to 8fc1400 Compare August 26, 2022 09:46
@github-actions github-actions bot added the Area: Kconfig Area: Kconfig integration label Aug 26, 2022
@benpicco benpicco force-pushed the boards/samr34-xpro_nor branch from 8fc1400 to 9912790 Compare August 26, 2022 09:51
@benpicco benpicco merged commit 82f7598 into RIOT-OS:master Aug 26, 2022
@benpicco benpicco deleted the boards/samr34-xpro_nor branch August 30, 2022 16:36
@maribu maribu added this to the Release 2022.10 milestone Oct 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: boards Area: Board ports Area: Kconfig Area: Kconfig integration CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants