Apps.h comments, NRF.
authortravisutk <travisutk@12e2690d-a6be-4b82-a7b7-67c4a43b65c8>
Tue, 18 May 2010 18:20:50 +0000 (18:20 +0000)
committertravisutk <travisutk@12e2690d-a6be-4b82-a7b7-67c4a43b65c8>
Tue, 18 May 2010 18:20:50 +0000 (18:20 +0000)
git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@519 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

firmware/include/apps.h

index 7c7d11a..aba3274 100644 (file)
@@ -3,19 +3,30 @@
   \brief Application definitions.
 */
 
   \brief Application definitions.
 */
 
+//Essential and highly standardized stuff in 0x00 range.
 #define MONITOR 0x00
 #define SPI 0x01
 #define I2CAPP 0x02
 #define MONITOR 0x00
 #define SPI 0x01
 #define I2CAPP 0x02
+
+//All JTAG targets in 0x10 range.
 #define JTAG 0x10
 #define JTAG430 0x11
 #define EJTAG 0x12
 #define JTAG 0x10
 #define JTAG430 0x11
 #define EJTAG 0x12
+//#define JTAGARM7TDMI 0x13 //Uncomment this as soon as client patched.
+
+//Manufacturer-specific protocols go in 0x30 and 0x40.
 #define CHIPCON 0x30
 #define SIF 0x31
 #define AVR 0x32
 #define CHIPCON 0x30
 #define SIF 0x31
 #define AVR 0x32
-#define JTAGARM7TDMI 0x33
-
+#define JTAGARM7TDMI 0x33 //Move this to 0x13
 #define PIC 0x34
 
 #define PIC 0x34
 
+//Radio peripherals are in the 0x50 range.
+#define NRF 0x50
+
+//Keep 0x60 empty for now.
+
+//Weird stuff in 0x70 range.
 #define OCT 0x70
 #define GLITCH 0x71
 #define PLUGIN 0x72
 #define OCT 0x70
 #define GLITCH 0x71
 #define PLUGIN 0x72