aboutsummaryrefslogtreecommitdiffstats
path: root/src/stm32/Makefile
diff options
context:
space:
mode:
authorH. Gregor Molter <gregor.molter@secretlab.de>2023-02-20 19:52:36 -0500
committerKevin O'Connor <kevin@koconnor.net>2023-02-20 19:55:25 -0500
commitd7bd7f1f4ba6cecd19daa566fdc1864561269ae1 (patch)
treed57d02e2dd5fb12359b2ba95080241483f02fbb0 /src/stm32/Makefile
parent848a78d1a548cfe28af20d5d0ab021558368cfae (diff)
downloadkutter-d7bd7f1f4ba6cecd19daa566fdc1864561269ae1.tar.gz
kutter-d7bd7f1f4ba6cecd19daa566fdc1864561269ae1.tar.xz
kutter-d7bd7f1f4ba6cecd19daa566fdc1864561269ae1.zip
stm32: Add sdio support
Adds sdio support for the stm32f4 to allow for SD card flash updates without power cycling some boards, e.g. BTT Octopus Pro. Signed-off-by: H. Gregor Molter <gregor.molter@secretlab.de> Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/stm32/Makefile')
-rw-r--r--src/stm32/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/stm32/Makefile b/src/stm32/Makefile
index 15ea4e2b..390ad8d5 100644
--- a/src/stm32/Makefile
+++ b/src/stm32/Makefile
@@ -64,6 +64,8 @@ src-$(CONFIG_MACH_STM32L4) += stm32/stm32h7_adc.c stm32/stm32f0_i2c.c
spi-src-y := stm32/spi.c
spi-src-$(CONFIG_MACH_STM32H7) := stm32/stm32h7_spi.c
src-$(CONFIG_HAVE_GPIO_SPI) += $(spi-src-y)
+sdio-src-y := stm32/sdio.c
+src-$(CONFIG_HAVE_GPIO_SDIO) += $(sdio-src-y)
usb-src-$(CONFIG_HAVE_STM32_USBFS) := stm32/usbfs.c
usb-src-$(CONFIG_HAVE_STM32_USBOTG) := stm32/usbotg.c
src-$(CONFIG_USBSERIAL) += $(usb-src-y) stm32/chipid.c generic/usb_cdc.c