aboutsummaryrefslogtreecommitdiffstats
path: root/demos/AVR/RT-DIGISPARK-ATTINY-167/chconf.h
diff options
context:
space:
mode:
Diffstat (limited to 'demos/AVR/RT-DIGISPARK-ATTINY-167/chconf.h')
-rw-r--r--demos/AVR/RT-DIGISPARK-ATTINY-167/chconf.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/demos/AVR/RT-DIGISPARK-ATTINY-167/chconf.h b/demos/AVR/RT-DIGISPARK-ATTINY-167/chconf.h
index e4b394df5..5c27557c7 100644
--- a/demos/AVR/RT-DIGISPARK-ATTINY-167/chconf.h
+++ b/demos/AVR/RT-DIGISPARK-ATTINY-167/chconf.h
@@ -482,6 +482,22 @@
/*===========================================================================*/
/**
+ * @brief System structure extension.
+ * @details User fields added to the end of the @p ch_system_t structure.
+ */
+#define CH_CFG_SYSTEM_EXTRA_FIELDS \
+ /* Add threads custom fields here.*/
+
+/**
+ * @brief System initialization hook.
+ * @details User initialization code added to the @p chSysInit() function
+ * just before interrupts are enabled globally.
+ */
+#define CH_CFG_SYSTEM_INIT_HOOK(tp) { \
+ /* Add threads initialization code here.*/ \
+}
+
+/**
* @brief Threads descriptor structure extension.
* @details User fields added to the end of the @p thread_t structure.
*/