aboutsummaryrefslogtreecommitdiffstats
path: root/demos/AVR-AT90CANx-GCC
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2007-11-14 16:32:41 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2007-11-14 16:32:41 +0000
commit890c5532da783e8d58cfbf28822bcedaa8a0c61d (patch)
tree617e200bc65fe60a4770f5dac26d1a42cccea48c /demos/AVR-AT90CANx-GCC
parente776216d02920673266e31d553078f4edec4a264 (diff)
downloadChibiOS-890c5532da783e8d58cfbf28822bcedaa8a0c61d.tar.gz
ChibiOS-890c5532da783e8d58cfbf28822bcedaa8a0c61d.tar.bz2
ChibiOS-890c5532da783e8d58cfbf28822bcedaa8a0c61d.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@90 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/AVR-AT90CANx-GCC')
-rw-r--r--demos/AVR-AT90CANx-GCC/chconf.h6
-rw-r--r--demos/AVR-AT90CANx-GCC/chcore.h1
-rw-r--r--demos/AVR-AT90CANx-GCC/chtypes.h1
3 files changed, 8 insertions, 0 deletions
diff --git a/demos/AVR-AT90CANx-GCC/chconf.h b/demos/AVR-AT90CANx-GCC/chconf.h
index 63a391e08..c6146f5e7 100644
--- a/demos/AVR-AT90CANx-GCC/chconf.h
+++ b/demos/AVR-AT90CANx-GCC/chconf.h
@@ -157,6 +157,12 @@
*/
//#define CH_CURRP_REGISTER_CACHE "reg"
+/** Configuration option: Includes basic debug support to the kernel.
+ * @note the debug support is port-dependent, it may be not present on some
+ * targets. In that case stub functions will be included.
+ */
+//#define CH_USE_DEBUG
+
#endif /* _CHCONF_H_ */
/** @} */
diff --git a/demos/AVR-AT90CANx-GCC/chcore.h b/demos/AVR-AT90CANx-GCC/chcore.h
index c3e0cfa34..935c37488 100644
--- a/demos/AVR-AT90CANx-GCC/chcore.h
+++ b/demos/AVR-AT90CANx-GCC/chcore.h
@@ -101,6 +101,7 @@ typedef struct {
#define chSysLock() asm("cli")
#define chSysUnlock() asm("sei")
+#define chSysPuts(msg) {}
void chSysHalt(void) __attribute__((noreturn)) ;
void chSysPause(void) __attribute__((noreturn)) ;
diff --git a/demos/AVR-AT90CANx-GCC/chtypes.h b/demos/AVR-AT90CANx-GCC/chtypes.h
index d3c26caaf..60e16aaf4 100644
--- a/demos/AVR-AT90CANx-GCC/chtypes.h
+++ b/demos/AVR-AT90CANx-GCC/chtypes.h
@@ -34,6 +34,7 @@
typedef BYTE8 t_tmode;
typedef BYTE8 t_tstate;
+typedef BYTE8 t_tid;
typedef BYTE8 t_prio;
typedef WORD16 t_msg;
typedef BYTE8 t_eventid;