aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/ATSAMA5D2/RTC/chconf.h
diff options
context:
space:
mode:
authoredolomb <edolomb@110e8d01-0319-4d1e-a829-52ad28d1bb01>2018-04-11 16:50:54 +0000
committeredolomb <edolomb@110e8d01-0319-4d1e-a829-52ad28d1bb01>2018-04-11 16:50:54 +0000
commitc53c5b7e022f73056dc3d7c6284f6988c4f83d5d (patch)
treeb1a8254b2e0cf770565f18d4b4e33ed0d6e6e4b7 /testhal/ATSAMA5D2/RTC/chconf.h
parent8bd7edf5f571a97ab1cc69072993a65321bcfc22 (diff)
downloadChibiOS-c53c5b7e022f73056dc3d7c6284f6988c4f83d5d.tar.gz
ChibiOS-c53c5b7e022f73056dc3d7c6284f6988c4f83d5d.tar.bz2
ChibiOS-c53c5b7e022f73056dc3d7c6284f6988c4f83d5d.zip
Updated demo and chconf.h
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11899 110e8d01-0319-4d1e-a829-52ad28d1bb01
Diffstat (limited to 'testhal/ATSAMA5D2/RTC/chconf.h')
-rw-r--r--testhal/ATSAMA5D2/RTC/chconf.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/testhal/ATSAMA5D2/RTC/chconf.h b/testhal/ATSAMA5D2/RTC/chconf.h
index b1e3841a8..4dbf9c6d8 100644
--- a/testhal/ATSAMA5D2/RTC/chconf.h
+++ b/testhal/ATSAMA5D2/RTC/chconf.h
@@ -49,7 +49,8 @@
* @details Frequency of the system timer that drives the system ticks. This
* setting also defines the system tick time unit.
*/
-#define CH_CFG_ST_FREQUENCY 1000
+#define CH_CFG_ST_FREQUENCY 1000 /* periodic tick. */
+//#define CH_CFG_ST_FREQUENCY (83000000 / 32) /* tick-less. */
/**
* @brief Time intervals data size.
@@ -400,7 +401,7 @@
*
* @note The default is @p FALSE.
*/
-#define CH_DBG_SYSTEM_STATE_CHECK FALSE
+#define CH_DBG_SYSTEM_STATE_CHECK TRUE
/**
* @brief Debug option, parameters checks.
@@ -409,7 +410,7 @@
*
* @note The default is @p FALSE.
*/
-#define CH_DBG_ENABLE_CHECKS FALSE
+#define CH_DBG_ENABLE_CHECKS TRUE
/**
* @brief Debug option, consistency checks.
@@ -419,7 +420,7 @@
*
* @note The default is @p FALSE.
*/
-#define CH_DBG_ENABLE_ASSERTS FALSE
+#define CH_DBG_ENABLE_ASSERTS TRUE
/**
* @brief Debug option, trace buffer.