hooking up the goodfet.xscale code. it is minimal for now. it should be able to...
[goodfet] / firmware / goodfet.c
index b8d9e3d..8be9a74 100644 (file)
@@ -53,7 +53,7 @@ void init(){
   //Setup clocks, unique to each '430.
   msp430_init_dco();
   msp430_init_uart();
-  
+
   //DAC should be at full voltage if it exists.
 #ifdef DAC12IR
   //glitchvoltages(0xfff,0xfff);
@@ -112,7 +112,9 @@ void handle(unsigned char app,
   case PIC:
     pichandle(app,verb,len);
     break;
-
+  case ADC10:
+    adchandle(app,verb,len);
+    break;
   case I2CAPP:
     i2chandle(app,verb,len);
     break;
@@ -125,6 +127,9 @@ void handle(unsigned char app,
   case EJTAG:
     ejtaghandle(app,verb,len);
     break;
+  case JTAGXSCALE:
+    xscalehandle(app,verb,len);
+    break;
   case JTAG430: //Also JTAG430X, JTAG430X2
     //Revert this when X2 support returns.
     jtag430x2handle(app,verb,len);