Skip to content

Commit 680e01b

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

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
@@ -53,7 +53,12 @@
5353
#undef HAL_DAC_MODULE_ENABLED
5454
#endif
5555

56+
#if !defined(HAL_ETH_MODULE_DISABLED)
5657
/*#define HAL_ETH_MODULE_ENABLED*/
58+
#else
59+
#undef HAL_ETH_MODULE_ENABLED
60+
#endif
61+
5762
/*#define HAL_SD_MODULE_ENABLED*/
5863
/*#define HAL_QSPI_MODULE_ENABLED*/
5964

0 commit comments

Comments
 (0)