[riot-notifications] [RIOT-OS/RIOT] cpu/sam0_common: SPI: add support for QSPI in SPI mode (#15361)
benpicco
notifications at github.com
Tue Nov 17 16:37:06 CET 2020
@benpicco commented on this pull request.
> @@ -251,7 +251,25 @@ static const spi_conf_t spi_config[] = {
.tx_trigger = SERCOM6_DMAC_ID_TX,
.rx_trigger = SERCOM6_DMAC_ID_RX,
#endif
- }
+ },
+#ifdef MODULE_PERIPH_SPI_ON_QSPI
+ { /* QSPI */
+ .dev = (SercomSpi*)QSPI,
good idea, I changed it accordingly.
I also made `periph_spi_on_qspi` a feature so we can enable it in `tests/periph_spi`
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/15361#discussion_r525258806
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20201117/7262404f/attachment-0001.htm>
More information about the notifications
mailing list