aboutsummaryrefslogtreecommitdiffstats
path: root/demos/GNU-Linux-GCC/chconf.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-12-23 20:11:44 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-12-23 20:11:44 +0000
commita2e989330ef587868921bf9ebc8079f939e57ad5 (patch)
tree1235d4bce54200cdd2ba10cb80e04060b7db6114 /demos/GNU-Linux-GCC/chconf.h
parent0750743bb48903d20cdcc368727c9111c072e058 (diff)
downloadChibiOS-a2e989330ef587868921bf9ebc8079f939e57ad5.tar.gz
ChibiOS-a2e989330ef587868921bf9ebc8079f939e57ad5.tar.bz2
ChibiOS-a2e989330ef587868921bf9ebc8079f939e57ad5.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1460 35acf78f-673a-0410-8e92-d51de3d6d3f4
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_ */
/** @} */