diff options
Diffstat (limited to 'os/nil/include')
-rw-r--r-- | os/nil/include/nil.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/os/nil/include/nil.h b/os/nil/include/nil.h index d6a7945d7..83d4208d2 100644 --- a/os/nil/include/nil.h +++ b/os/nil/include/nil.h @@ -182,6 +182,13 @@ typedef struct nil_thread thread_t; #endif
/**
+ * @brief System initialization hook.
+ */
+#if !defined(NIL_CFG_SYSTEM_INIT_HOOK) || defined(__DOXYGEN__)
+#define NIL_CFG_SYSTEM_INIT_HOOK() {}
+#endif
+
+/**
* @brief Threads descriptor structure extension.
* @details User fields added to the end of the @p thread_t structure.
*/
|