Skip to content

Commit 70ce610

Browse files
committed
[SD] Able to build without HAL module
Note: no size change Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
1 parent f94d764 commit 70ce610

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

cores/arduino/stm32/stm32yyxx_hal_conf.h

+5
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,12 @@
5555
#undef HAL_ETH_MODULE_ENABLED
5656
#endif
5757

58+
#if !defined(HAL_SD_MODULE_DISABLED)
5859
/*#define HAL_SD_MODULE_ENABLED*/
60+
#else
61+
#undef HAL_SD_MODULE_ENABLED
62+
#endif
63+
5964
/*#define HAL_QSPI_MODULE_ENABLED*/
6065

6166
/*

0 commit comments

Comments
 (0)