stm32f7: enable existing ethernet libraries
This commit is contained in:
committed by
Karl Palsson
parent
1290e3129d
commit
4fb67d891f
@@ -37,6 +37,8 @@
|
|||||||
# include <libopencm3/ethernet/mac_stm32fxx7.h>
|
# include <libopencm3/ethernet/mac_stm32fxx7.h>
|
||||||
#elif defined(STM32F4)
|
#elif defined(STM32F4)
|
||||||
# include <libopencm3/ethernet/mac_stm32fxx7.h>
|
# include <libopencm3/ethernet/mac_stm32fxx7.h>
|
||||||
|
#elif defined(STM32F7)
|
||||||
|
# include <libopencm3/ethernet/mac_stm32fxx7.h>
|
||||||
#else
|
#else
|
||||||
# error "stm32 family not defined."
|
# error "stm32 family not defined."
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -57,6 +57,9 @@ OBJS += spi_common_all.o spi_common_v2.o
|
|||||||
OBJS += timer_common_all.o
|
OBJS += timer_common_all.o
|
||||||
OBJS += usart_common_all.o usart_common_v2.o
|
OBJS += usart_common_all.o usart_common_v2.o
|
||||||
|
|
||||||
|
# Ethernet
|
||||||
|
OBJS += mac.o phy.o mac_stm32fxx7.o phy_ksz80x1.o
|
||||||
|
|
||||||
VPATH += ../../usb:../:../../cm3:../common
|
VPATH += ../../usb:../:../../cm3:../common
|
||||||
VPATH += ../../ethernet
|
VPATH += ../../ethernet
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user