HAL_ChibiOS: explicitly mention if RTC not available

This commit is contained in:
Siddharth Purohit 2018-09-18 22:41:55 +05:30 committed by Andrew Tridgell
parent 19d9982ac1
commit f9149f45b2
2 changed files with 2 additions and 1 deletions

View File

@ -147,7 +147,7 @@
* @brief Enables the RTC subsystem. * @brief Enables the RTC subsystem.
*/ */
#if !defined(HAL_USE_RTC) || defined(__DOXYGEN__) #if !defined(HAL_USE_RTC) || defined(__DOXYGEN__)
#define HAL_USE_RTC FALSE #define HAL_USE_RTC TRUE
#endif #endif
/** /**

View File

@ -85,6 +85,7 @@ define PORT_INT_REQUIRED_STACK 64
define __FPU_PRESENT 0 define __FPU_PRESENT 0
define HAL_USE_ADC FALSE define HAL_USE_ADC FALSE
define HAL_USE_RTC FALSE
define CH_DBG_ENABLE_CHECKS TRUE define CH_DBG_ENABLE_CHECKS TRUE
define CH_DBG_ENABLE_ASSERTS TRUE define CH_DBG_ENABLE_ASSERTS TRUE
define CH_DBG_ENABLE_STACK_CHECK TRUE define CH_DBG_ENABLE_STACK_CHECK TRUE