[riot-notifications] [RIOT-OS/RIOT] stm32-common/spi: allow custom pin modes on spi to minimize power consumption (#11542)

Alexandre Abadie notifications at github.com
Mon May 20 18:05:05 CEST 2019


@fjmolinas, I extended the SPI interface with a new function `spi_init_gpio_mode()` (better suggestion welcome) and let the driver manage the right gpio mode directly. It should still work.
Unfortunately, with the current approach, boards still have to explicitly provide `periph_spi_gpio_mode`. The change is transparent for boards that doesn't expose this. Only nucleo-l151re provides this but we should adapt all LoRa capable boards if we keep things this way.

Let me know what you think of the current strategy.

-- 
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/11542#issuecomment-494050534
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190520/7520b5d0/attachment.html>


More information about the notifications mailing list