Skip to content

Commit d081beb

Browse files
committed
[DAC] Able to build without HAL module
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
1 parent 5716290 commit d081beb

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
@@ -43,7 +43,12 @@
4343
#endif
4444

4545
/* Not defined by default */
46+
#if !defined(HAL_DAC_MODULE_DISABLED)
4647
/*#define HAL_DAC_MODULE_ENABLED*/
48+
#else
49+
#undef HAL_DAC_MODULE_ENABLED
50+
#endif
51+
4752
/*#define HAL_ETH_MODULE_ENABLED*/
4853
/*#define HAL_SD_MODULE_ENABLED*/
4954
/*#define HAL_QSPI_MODULE_ENABLED*/

0 commit comments

Comments
 (0)