aboutsummaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-07-26 08:40:58 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-07-26 08:40:58 +0000
commit023a554d8346539c905d042f0494475aea8a50ba (patch)
tree3e6b52242efb065b28363f922b81d231ec24b93b /demos
parent04fdfe40ab43469be32abea92141617ff50db30c (diff)
downloadChibiOS-023a554d8346539c905d042f0494475aea8a50ba.tar.gz
ChibiOS-023a554d8346539c905d042f0494475aea8a50ba.tar.bz2
ChibiOS-023a554d8346539c905d042f0494475aea8a50ba.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7094 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos')
-rw-r--r--demos/AVR/NIL-ARDUINOMEGA/nilconf.h21
-rw-r--r--demos/SPC5/NIL-SPC560D-EVB/nilconf.h13
-rw-r--r--demos/STM32/NIL-STM32F051-DISCOVERY/nilconf.h21
-rw-r--r--demos/STM32/NIL-STM32F100-DISCOVERY/nilconf.h18
-rw-r--r--demos/STM32/NIL-STM32F303-DISCOVERY/nilconf.h18
-rw-r--r--demos/STM32/NIL-STM32F373-STM32373C_EVAL/nilconf.h21
-rw-r--r--demos/STM32/NIL-STM32L152-DISCOVERY/nilconf.h21
7 files changed, 126 insertions, 7 deletions
diff --git a/demos/AVR/NIL-ARDUINOMEGA/nilconf.h b/demos/AVR/NIL-ARDUINOMEGA/nilconf.h
index 3d78b2ffc..a7ab0039f 100644
--- a/demos/AVR/NIL-ARDUINOMEGA/nilconf.h
+++ b/demos/AVR/NIL-ARDUINOMEGA/nilconf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS/NIL - Copyright (C) 2014 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
@@ -118,6 +121,14 @@
/*===========================================================================*/
/**
+ * @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.
*/
@@ -149,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
+
/** @} */
/*===========================================================================*/
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
+
/** @} */
/*===========================================================================*/
diff --git a/demos/STM32/NIL-STM32F051-DISCOVERY/nilconf.h b/demos/STM32/NIL-STM32F051-DISCOVERY/nilconf.h
index 54fb32ca4..bf815eb44 100644
--- a/demos/STM32/NIL-STM32F051-DISCOVERY/nilconf.h
+++ b/demos/STM32/NIL-STM32F051-DISCOVERY/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 50000
@@ -118,6 +121,14 @@
/*===========================================================================*/
/**
+ * @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.
*/
@@ -149,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
+
/** @} */
/*===========================================================================*/
diff --git a/demos/STM32/NIL-STM32F100-DISCOVERY/nilconf.h b/demos/STM32/NIL-STM32F100-DISCOVERY/nilconf.h
index 35504197e..bf815eb44 100644
--- a/demos/STM32/NIL-STM32F100-DISCOVERY/nilconf.h
+++ b/demos/STM32/NIL-STM32F100-DISCOVERY/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.
@@ -121,6 +121,14 @@
/*===========================================================================*/
/**
+ * @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.
*/
@@ -152,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
+
/** @} */
/*===========================================================================*/
diff --git a/demos/STM32/NIL-STM32F303-DISCOVERY/nilconf.h b/demos/STM32/NIL-STM32F303-DISCOVERY/nilconf.h
index 76028b31d..5f29f383b 100644
--- a/demos/STM32/NIL-STM32F303-DISCOVERY/nilconf.h
+++ b/demos/STM32/NIL-STM32F303-DISCOVERY/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.
@@ -121,6 +121,14 @@
/*===========================================================================*/
/**
+ * @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.
*/
@@ -152,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
+
/** @} */
/*===========================================================================*/
diff --git a/demos/STM32/NIL-STM32F373-STM32373C_EVAL/nilconf.h b/demos/STM32/NIL-STM32F373-STM32373C_EVAL/nilconf.h
index 54fb32ca4..bf815eb44 100644
--- a/demos/STM32/NIL-STM32F373-STM32373C_EVAL/nilconf.h
+++ b/demos/STM32/NIL-STM32F373-STM32373C_EVAL/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 50000
@@ -118,6 +121,14 @@
/*===========================================================================*/
/**
+ * @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.
*/
@@ -149,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
+
/** @} */
/*===========================================================================*/
diff --git a/demos/STM32/NIL-STM32L152-DISCOVERY/nilconf.h b/demos/STM32/NIL-STM32L152-DISCOVERY/nilconf.h
index eeec0899f..9798200b9 100644
--- a/demos/STM32/NIL-STM32L152-DISCOVERY/nilconf.h
+++ b/demos/STM32/NIL-STM32L152-DISCOVERY/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
@@ -118,6 +121,14 @@
/*===========================================================================*/
/**
+ * @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.
*/
@@ -149,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
+
/** @} */
/*===========================================================================*/