diff options
Diffstat (limited to 'demos/nil/NIL-STM32F051-DISCOVERY/nilconf.h')
-rw-r--r-- | demos/nil/NIL-STM32F051-DISCOVERY/nilconf.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/demos/nil/NIL-STM32F051-DISCOVERY/nilconf.h b/demos/nil/NIL-STM32F051-DISCOVERY/nilconf.h index 30016395f..8c3293769 100644 --- a/demos/nil/NIL-STM32F051-DISCOVERY/nilconf.h +++ b/demos/nil/NIL-STM32F051-DISCOVERY/nilconf.h @@ -41,7 +41,7 @@ /**
* @brief System tick frequency.
*/
-#define NIL_CFG_FREQUENCY 1000
+#define NIL_CFG_ST_FREQUENCY 1000
/**
* @brief Time delta constant for the tick-less mode.
@@ -54,6 +54,16 @@ #define NIL_CFG_TIMEDELTA 0
/**
+ * @brief Events Flags APIs.
+ * @details If enabled then the event flags APIs are included in the kernel.
+ *
+ * @note The default is @p TRUE.
+ */
+#if !defined(NIL_CFG_USE_EVENTS) || defined(__DOXYGEN__)
+#define NIL_CFG_USE_EVENTS TRUE
+#endif
+
+/**
* @brief System assertions.
*/
#define NIL_CFG_ENABLE_ASSERTS FALSE
|