[riot-notifications] [RIOT-OS/RIOT] stm32/spi : Add check for GPIO_UNDEF (#16625)

Akshai M (Augustus Diode) notifications at github.com
Wed Jul 7 17:35:45 CEST 2021

### Contribution description

This PR address issue first discovered in #16579 .  STM32WL55JC use a memory mapped SPI interface instead of a GPIO. The change would init the `pins` only if it's not `GPIO_UNDEF`

### Testing procedure

Tested using #16579. Works!

### Issues/PRs references

You can view, comment on, or merge this pull request online at:


-- Commit Summary --

  * stm32/periph/spi : Add check for GPIO_UNDEF

-- File Changes --

    M cpu/stm32/periph/spi.c (20)

-- Patch Links --


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210707/93d0102b/attachment.htm>

More information about the notifications mailing list