diff options
Diffstat (limited to 'demos/SPC5/NIL-SPC560D-EVB')
-rw-r--r-- | demos/SPC5/NIL-SPC560D-EVB/nilconf.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/demos/SPC5/NIL-SPC560D-EVB/nilconf.h b/demos/SPC5/NIL-SPC560D-EVB/nilconf.h index 1903f7dd1..dd66679d6 100644 --- a/demos/SPC5/NIL-SPC560D-EVB/nilconf.h +++ b/demos/SPC5/NIL-SPC560D-EVB/nilconf.h @@ -1,5 +1,5 @@ /*
- ChibiOS/NIL - Copyright (C) 2013 Giovanni Di Sirio
+ ChibiOS/NIL - Copyright (C) 2013,2014 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -59,6 +59,9 @@ /**
* @brief System tick frequency.
+ * @note This value together with the @p NIL_CFG_ST_RESOLUTION
+ * option defines the maximum amount of time allowed for
+ * timeouts.
*/
#define NIL_CFG_ST_FREQUENCY 1000
@@ -157,6 +160,14 @@ #define NIL_CFG_IDLE_LEAVE_HOOK() { \
}
+/**
+ * @brief System halt hook.
+ */
+#if !defined(NIL_CFG_SYSTEM_HALT_HOOK) || defined(__DOXYGEN__)
+#define NIL_CFG_SYSTEM_HALT_HOOK(reason) { \
+}
+#endif
+
/** @} */
/*===========================================================================*/
|