Skip to content

Commit e0e90cc

Browse files
committed
[SD] Able to build without HAL module
Note: no size change Signed-off-by: Frederic Pillon <[email protected]>
1 parent 680e01b commit e0e90cc

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Diff for: cores/arduino/stm32/stm32yyxx_hal_conf.h

+5
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,12 @@
5959
#undef HAL_ETH_MODULE_ENABLED
6060
#endif
6161

62+
#if !defined(HAL_SD_MODULE_DISABLED)
6263
/*#define HAL_SD_MODULE_ENABLED*/
64+
#else
65+
#undef HAL_SD_MODULE_ENABLED
66+
#endif
67+
6368
/*#define HAL_QSPI_MODULE_ENABLED*/
6469

6570
/*

0 commit comments

Comments
 (0)