aboutsummaryrefslogtreecommitdiffstats
path: root/demos/GNU-Linux-GCC/chconf.h
diff options
context:
space:
mode:
Diffstat (limited to 'demos/GNU-Linux-GCC/chconf.h')
-rw-r--r--demos/GNU-Linux-GCC/chconf.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/demos/GNU-Linux-GCC/chconf.h b/demos/GNU-Linux-GCC/chconf.h
index 845ed5d9b..2c3a29a30 100644
--- a/demos/GNU-Linux-GCC/chconf.h
+++ b/demos/GNU-Linux-GCC/chconf.h
@@ -37,7 +37,7 @@
* setting also defines the system tick time unit.
*/
#if !defined(CH_FREQUENCY) || defined(__DOXYGEN__)
-#define CH_FREQUENCY 100
+#define CH_FREQUENCY 1000
#endif
/**
@@ -80,7 +80,7 @@
* @note Requires @p CH_USE_COREMEM.
*/
#if !defined(CH_MEMCORE_SIZE) || defined(__DOXYGEN__)
-#define CH_MEMCORE_SIZE 0
+#define CH_MEMCORE_SIZE 0x20000
#endif
/*===========================================================================*/
@@ -459,6 +459,8 @@ struct { \
}
#endif
+#define chThdGetExitEventSource(tp) (&(tp)->p_exitesource)
+
#endif /* _CHCONF_H_ */
/** @} */