Skip to content

Commit f94d764

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

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
@@ -49,7 +49,12 @@
4949
#undef HAL_DAC_MODULE_ENABLED
5050
#endif
5151

52+
#if !defined(HAL_ETH_MODULE_DISABLED)
5253
/*#define HAL_ETH_MODULE_ENABLED*/
54+
#else
55+
#undef HAL_ETH_MODULE_ENABLED
56+
#endif
57+
5358
/*#define HAL_SD_MODULE_ENABLED*/
5459
/*#define HAL_QSPI_MODULE_ENABLED*/
5560

0 commit comments

Comments
 (0)