1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/boards/nucleo-f767zi/Makefile
Marian Buschsieweke f56a0a5128
boards/nucleo-f767zi: Remap MOSI of SPI1 when used with stm32_eth
PA7 is the default MOSI pin, as it is required for compatibility with
Arduino(ish) shields. Sadly, it is also connected to the RMII_DV of
Ethernet PHY. This commit works around this by remapping the MOSI to PB5 when
the on-board Ethernet PHY is used.
2020-05-19 20:30:24 +02:00

10 lines
281 B
Makefile

MODULE = board
DIRS = $(RIOTBOARD)/common/nucleo
include $(RIOTBASE)/Makefile.base
ifneq (,$(filter stm32_eth,$(USEMODULE)))
$(info Remapping MOSI of SPI_DEV(0) from PA7 to PB5 to solve pin conflict.\
(PA7 is also connected to the RMII_DV of the Ethernet Phy.))
endif