summaryrefslogtreecommitdiff
path: root/AT91SAM7S256/armdebug/Debugger/debug_runlooptasks.h
diff options
context:
space:
mode:
authorTat-Chee Wan (USM)2012-09-05 14:17:12 +0800
committerTat-Chee Wan (USM)2012-09-05 14:17:12 +0800
commit48d55fa9b86e5ed9c354d3687b4f610358e507e3 (patch)
tree4145aa9d82ad5634ee6aee87fef5d16e1ccf9b5f /AT91SAM7S256/armdebug/Debugger/debug_runlooptasks.h
parent2b1ead8a1ec97018d3ed862b610596c1df3322d2 (diff)
parentaa0778c0d89f9f0722428e419866ff3aedf06bf2 (diff)
Merge branch 'master' of github.com:tcwan/armdebug
Updated ARMDEBUG routines to explicitly define .type for function entry poin to support newer binutils
Diffstat (limited to 'AT91SAM7S256/armdebug/Debugger/debug_runlooptasks.h')
-rw-r--r--AT91SAM7S256/armdebug/Debugger/debug_runlooptasks.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/AT91SAM7S256/armdebug/Debugger/debug_runlooptasks.h b/AT91SAM7S256/armdebug/Debugger/debug_runlooptasks.h
index f55311e..a2ae956 100644
--- a/AT91SAM7S256/armdebug/Debugger/debug_runlooptasks.h
+++ b/AT91SAM7S256/armdebug/Debugger/debug_runlooptasks.h
@@ -47,15 +47,33 @@
.extern dUsbRead
.extern dUsbIsConfigured
.extern dBtSendMsg
+ /**
+ * True value used by Thumb mode in NXT
+ */
.equ nxt_UBYTE_TRUE, 1
+ /**
+ * False value used by Thumb mode in NXT
+ */
.equ nxt_UBYTE_FALSE, 0
+ /**
+ * USB Command Indicator
+ */
.equ USB_CMD_READY, 0x01 /* From c_comm.iom */
+ /**
+ * BT Command Indicator
+ */
.equ BT_CMD_READY, 0x02 /* From c_comm.iom */
.extern dIOCtrlSetPower
.extern dIOCtrlSetPwm
.extern dIOCtrlTransfer
+ /**
+ * NXT Boot Magic Value
+ */
.equ BOOT, 0xA55A /* from c_ioctrl.iom */
+ /**
+ * NXT Powerdown Magic Value
+ */
.equ POWERDOWN, 0x5A00 /* from c_ioctrl.iom */
#endif