X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=keyboard%2Fstm32_f103_onekey%2Fhalconf.h;h=1a450d632733ad9fa9ec83d36d64712bc7c78ce4;hb=53bd4a01be5c4327462e6c6620ea7670eddca6f2;hp=d3415c555cf7990705d88a023b7cf0e3a8d11ca9;hpb=8952d617ea489eed11b454abffc96cb286b1acbc;p=max%2Ftmk_keyboard.git diff --git a/keyboard/stm32_f103_onekey/halconf.h b/keyboard/stm32_f103_onekey/halconf.h index d3415c55..1a450d63 100644 --- a/keyboard/stm32_f103_onekey/halconf.h +++ b/keyboard/stm32_f103_onekey/halconf.h @@ -163,6 +163,13 @@ #define HAL_USE_USB TRUE #endif +/** + * @brief Enables the WDG subsystem. + */ +#if !defined(HAL_USE_WDG) || defined(__DOXYGEN__) +#define HAL_USE_WDG FALSE +#endif + /*===========================================================================*/ /* ADC driver related settings. */ /*===========================================================================*/ @@ -329,6 +336,18 @@ #define SPI_USE_MUTUAL_EXCLUSION TRUE #endif +/*===========================================================================*/ +/* USB driver related settings. */ +/*===========================================================================*/ + +/** + * @brief Enables synchronous APIs. + * @note Disabling this option saves both code and data space. + */ +#if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) +#define USB_USE_WAIT TRUE +#endif + #endif /* _HALCONF_H_ */ /** @} */