aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/AVR
diff options
context:
space:
mode:
authorTheodore Ateba <tf.ateba@gmail.com>2017-12-23 15:27:04 +0000
committerTheodore Ateba <tf.ateba@gmail.com>2017-12-23 15:27:04 +0000
commitae4ca53d717f9046eae45f3076fd88763525632b (patch)
tree6b88ac16651d19e1e232dd588d451c813a59d8de /testhal/AVR
parent2eb2654b942af8298ce1ccdc95a2de33bd6027db (diff)
downloadChibiOS-ae4ca53d717f9046eae45f3076fd88763525632b.tar.gz
ChibiOS-ae4ca53d717f9046eae45f3076fd88763525632b.tar.bz2
ChibiOS-ae4ca53d717f9046eae45f3076fd88763525632b.zip
AVR: Update AVR multi demo configuration files.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11177 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/AVR')
-rw-r--r--testhal/AVR/multi/PAL/cfg-arduino_mega/chconf.h24
-rw-r--r--testhal/AVR/multi/PAL/cfg-arduino_mini/chconf.h24
-rw-r--r--testhal/AVR/multi/PAL/cfg-arduino_nano/chconf.h24
-rw-r--r--testhal/AVR/multi/PAL/cfg-arduino_uno/chconf.h24
4 files changed, 64 insertions, 32 deletions
diff --git a/testhal/AVR/multi/PAL/cfg-arduino_mega/chconf.h b/testhal/AVR/multi/PAL/cfg-arduino_mega/chconf.h
index f81532b49..141d0d5a6 100644
--- a/testhal/AVR/multi/PAL/cfg-arduino_mega/chconf.h
+++ b/testhal/AVR/multi/PAL/cfg-arduino_mega/chconf.h
@@ -55,13 +55,13 @@
* @brief Time intervals data size.
* @note Allowed values are 16, 32 or 64 bits.
*/
-#define CH_CFG_INTERVALS_SIZE 32
+#define CH_CFG_INTERVALS_SIZE 16
/**
* @brief Time types data size.
* @note Allowed values are 16 or 32 bits.
*/
-#define CH_CFG_TIME_TYPES_SIZE 32
+#define CH_CFG_TIME_TYPES_SIZE 16
/**
* @brief Time delta constant for the tick-less mode.
@@ -287,7 +287,7 @@
*
* @note The default is @p TRUE.
*/
-#define CH_CFG_USE_MEMCORE FALSE
+#define CH_CFG_USE_MEMCORE TRUE
/**
* @brief Heap Allocator APIs.
@@ -299,7 +299,7 @@
* @p CH_CFG_USE_SEMAPHORES.
* @note Mutexes are recommended.
*/
-#define CH_CFG_USE_HEAP FALSE
+#define CH_CFG_USE_HEAP TRUE
/**
* @brief Memory Pools Allocator APIs.
@@ -317,7 +317,7 @@
*
* @note The default is @p TRUE.
*/
-#define CH_CFG_USE_OBJ_FIFOS FALSE
+#define CH_CFG_USE_OBJ_FIFOS TRUE
/**
* @brief Dynamic Threads APIs.
@@ -346,7 +346,7 @@
*
* @note The default is @p FALSE.
*/
-#define CH_CFG_USE_FACTORY TRUE
+#define CH_CFG_USE_FACTORY FALSE
/**
* @brief Maximum length for object names.
@@ -428,6 +428,14 @@
* @brief Debug option, trace buffer.
* @details If enabled then the trace buffer is activated.
*
+ * @note The default is @p CH_DBG_TRACE_MASK_DISABLED.
+ */
+#define CH_DBG_TRACE_MASK CH_DBG_TRACE_MASK_DISABLED
+
+/**
+ * @brief Debug option, trace buffer.
+ * @details If enabled then the trace buffer is activated.
+ *
* @note The default is @p FALSE.
*/
#define CH_DBG_ENABLE_TRACE CH_DBG_TRACE_MASK_DISABLED
@@ -506,9 +514,9 @@
/**
* @brief Threads initialization hook.
- * @details User initialization code added to the @p _thread_init() function.
+ * @details User initialization code added to the @p chThdInit() API.
*
- * @note It is invoked from within @p _thread_init() and implicitly from all
+ * @note It is invoked from within @p chThdInit() and implicitly from all
* the threads creation APIs.
*/
#define CH_CFG_THREAD_INIT_HOOK(tp) { \
diff --git a/testhal/AVR/multi/PAL/cfg-arduino_mini/chconf.h b/testhal/AVR/multi/PAL/cfg-arduino_mini/chconf.h
index f81532b49..141d0d5a6 100644
--- a/testhal/AVR/multi/PAL/cfg-arduino_mini/chconf.h
+++ b/testhal/AVR/multi/PAL/cfg-arduino_mini/chconf.h
@@ -55,13 +55,13 @@
* @brief Time intervals data size.
* @note Allowed values are 16, 32 or 64 bits.
*/
-#define CH_CFG_INTERVALS_SIZE 32
+#define CH_CFG_INTERVALS_SIZE 16
/**
* @brief Time types data size.
* @note Allowed values are 16 or 32 bits.
*/
-#define CH_CFG_TIME_TYPES_SIZE 32
+#define CH_CFG_TIME_TYPES_SIZE 16
/**
* @brief Time delta constant for the tick-less mode.
@@ -287,7 +287,7 @@
*
* @note The default is @p TRUE.
*/
-#define CH_CFG_USE_MEMCORE FALSE
+#define CH_CFG_USE_MEMCORE TRUE
/**
* @brief Heap Allocator APIs.
@@ -299,7 +299,7 @@
* @p CH_CFG_USE_SEMAPHORES.
* @note Mutexes are recommended.
*/
-#define CH_CFG_USE_HEAP FALSE
+#define CH_CFG_USE_HEAP TRUE
/**
* @brief Memory Pools Allocator APIs.
@@ -317,7 +317,7 @@
*
* @note The default is @p TRUE.
*/
-#define CH_CFG_USE_OBJ_FIFOS FALSE
+#define CH_CFG_USE_OBJ_FIFOS TRUE
/**
* @brief Dynamic Threads APIs.
@@ -346,7 +346,7 @@
*
* @note The default is @p FALSE.
*/
-#define CH_CFG_USE_FACTORY TRUE
+#define CH_CFG_USE_FACTORY FALSE
/**
* @brief Maximum length for object names.
@@ -428,6 +428,14 @@
* @brief Debug option, trace buffer.
* @details If enabled then the trace buffer is activated.
*
+ * @note The default is @p CH_DBG_TRACE_MASK_DISABLED.
+ */
+#define CH_DBG_TRACE_MASK CH_DBG_TRACE_MASK_DISABLED
+
+/**
+ * @brief Debug option, trace buffer.
+ * @details If enabled then the trace buffer is activated.
+ *
* @note The default is @p FALSE.
*/
#define CH_DBG_ENABLE_TRACE CH_DBG_TRACE_MASK_DISABLED
@@ -506,9 +514,9 @@
/**
* @brief Threads initialization hook.
- * @details User initialization code added to the @p _thread_init() function.
+ * @details User initialization code added to the @p chThdInit() API.
*
- * @note It is invoked from within @p _thread_init() and implicitly from all
+ * @note It is invoked from within @p chThdInit() and implicitly from all
* the threads creation APIs.
*/
#define CH_CFG_THREAD_INIT_HOOK(tp) { \
diff --git a/testhal/AVR/multi/PAL/cfg-arduino_nano/chconf.h b/testhal/AVR/multi/PAL/cfg-arduino_nano/chconf.h
index f81532b49..141d0d5a6 100644
--- a/testhal/AVR/multi/PAL/cfg-arduino_nano/chconf.h
+++ b/testhal/AVR/multi/PAL/cfg-arduino_nano/chconf.h
@@ -55,13 +55,13 @@
* @brief Time intervals data size.
* @note Allowed values are 16, 32 or 64 bits.
*/
-#define CH_CFG_INTERVALS_SIZE 32
+#define CH_CFG_INTERVALS_SIZE 16
/**
* @brief Time types data size.
* @note Allowed values are 16 or 32 bits.
*/
-#define CH_CFG_TIME_TYPES_SIZE 32
+#define CH_CFG_TIME_TYPES_SIZE 16
/**
* @brief Time delta constant for the tick-less mode.
@@ -287,7 +287,7 @@
*
* @note The default is @p TRUE.
*/
-#define CH_CFG_USE_MEMCORE FALSE
+#define CH_CFG_USE_MEMCORE TRUE
/**
* @brief Heap Allocator APIs.
@@ -299,7 +299,7 @@
* @p CH_CFG_USE_SEMAPHORES.
* @note Mutexes are recommended.
*/
-#define CH_CFG_USE_HEAP FALSE
+#define CH_CFG_USE_HEAP TRUE
/**
* @brief Memory Pools Allocator APIs.
@@ -317,7 +317,7 @@
*
* @note The default is @p TRUE.
*/
-#define CH_CFG_USE_OBJ_FIFOS FALSE
+#define CH_CFG_USE_OBJ_FIFOS TRUE
/**
* @brief Dynamic Threads APIs.
@@ -346,7 +346,7 @@
*
* @note The default is @p FALSE.
*/
-#define CH_CFG_USE_FACTORY TRUE
+#define CH_CFG_USE_FACTORY FALSE
/**
* @brief Maximum length for object names.
@@ -428,6 +428,14 @@
* @brief Debug option, trace buffer.
* @details If enabled then the trace buffer is activated.
*
+ * @note The default is @p CH_DBG_TRACE_MASK_DISABLED.
+ */
+#define CH_DBG_TRACE_MASK CH_DBG_TRACE_MASK_DISABLED
+
+/**
+ * @brief Debug option, trace buffer.
+ * @details If enabled then the trace buffer is activated.
+ *
* @note The default is @p FALSE.
*/
#define CH_DBG_ENABLE_TRACE CH_DBG_TRACE_MASK_DISABLED
@@ -506,9 +514,9 @@
/**
* @brief Threads initialization hook.
- * @details User initialization code added to the @p _thread_init() function.
+ * @details User initialization code added to the @p chThdInit() API.
*
- * @note It is invoked from within @p _thread_init() and implicitly from all
+ * @note It is invoked from within @p chThdInit() and implicitly from all
* the threads creation APIs.
*/
#define CH_CFG_THREAD_INIT_HOOK(tp) { \
diff --git a/testhal/AVR/multi/PAL/cfg-arduino_uno/chconf.h b/testhal/AVR/multi/PAL/cfg-arduino_uno/chconf.h
index f81532b49..141d0d5a6 100644
--- a/testhal/AVR/multi/PAL/cfg-arduino_uno/chconf.h
+++ b/testhal/AVR/multi/PAL/cfg-arduino_uno/chconf.h
@@ -55,13 +55,13 @@
* @brief Time intervals data size.
* @note Allowed values are 16, 32 or 64 bits.
*/
-#define CH_CFG_INTERVALS_SIZE 32
+#define CH_CFG_INTERVALS_SIZE 16
/**
* @brief Time types data size.
* @note Allowed values are 16 or 32 bits.
*/
-#define CH_CFG_TIME_TYPES_SIZE 32
+#define CH_CFG_TIME_TYPES_SIZE 16
/**
* @brief Time delta constant for the tick-less mode.
@@ -287,7 +287,7 @@
*
* @note The default is @p TRUE.
*/
-#define CH_CFG_USE_MEMCORE FALSE
+#define CH_CFG_USE_MEMCORE TRUE
/**
* @brief Heap Allocator APIs.
@@ -299,7 +299,7 @@
* @p CH_CFG_USE_SEMAPHORES.
* @note Mutexes are recommended.
*/
-#define CH_CFG_USE_HEAP FALSE
+#define CH_CFG_USE_HEAP TRUE
/**
* @brief Memory Pools Allocator APIs.
@@ -317,7 +317,7 @@
*
* @note The default is @p TRUE.
*/
-#define CH_CFG_USE_OBJ_FIFOS FALSE
+#define CH_CFG_USE_OBJ_FIFOS TRUE
/**
* @brief Dynamic Threads APIs.
@@ -346,7 +346,7 @@
*
* @note The default is @p FALSE.
*/
-#define CH_CFG_USE_FACTORY TRUE
+#define CH_CFG_USE_FACTORY FALSE
/**
* @brief Maximum length for object names.
@@ -428,6 +428,14 @@
* @brief Debug option, trace buffer.
* @details If enabled then the trace buffer is activated.
*
+ * @note The default is @p CH_DBG_TRACE_MASK_DISABLED.
+ */
+#define CH_DBG_TRACE_MASK CH_DBG_TRACE_MASK_DISABLED
+
+/**
+ * @brief Debug option, trace buffer.
+ * @details If enabled then the trace buffer is activated.
+ *
* @note The default is @p FALSE.
*/
#define CH_DBG_ENABLE_TRACE CH_DBG_TRACE_MASK_DISABLED
@@ -506,9 +514,9 @@
/**
* @brief Threads initialization hook.
- * @details User initialization code added to the @p _thread_init() function.
+ * @details User initialization code added to the @p chThdInit() API.
*
- * @note It is invoked from within @p _thread_init() and implicitly from all
+ * @note It is invoked from within @p chThdInit() and implicitly from all
* the threads creation APIs.
*/
#define CH_CFG_THREAD_INIT_HOOK(tp) { \