Removed deprecated tests.
authortravisutk <travisutk@12e2690d-a6be-4b82-a7b7-67c4a43b65c8>
Sun, 12 Feb 2012 16:22:31 +0000 (16:22 +0000)
committertravisutk <travisutk@12e2690d-a6be-4b82-a7b7-67c4a43b65c8>
Sun, 12 Feb 2012 16:22:31 +0000 (16:22 +0000)
git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@1085 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

firmware/apps/radios/ccspi.c
firmware/tests/blink/Makefile [deleted file]
firmware/tests/blink/README.txt [deleted file]
firmware/tests/blink/blink.c [deleted file]
firmware/tests/echo/Makefile [deleted file]
firmware/tests/echo/README.txt [deleted file]
firmware/tests/echo/echo.c [deleted file]

index 197886a..d08da28 100644 (file)
@@ -19,8 +19,8 @@
 
 //! Handles a Chipcon SPI command.
 void ccspi_handle_fn( uint8_t const app,
 
 //! Handles a Chipcon SPI command.
 void ccspi_handle_fn( uint8_t const app,
-                                         uint8_t const verb,
-                                         uint32_t const len);
+                     uint8_t const verb,
+                     uint32_t const len);
 
 // define the ccspi app's app_t
 app_t const ccspi_app = {
 
 // define the ccspi app's app_t
 app_t const ccspi_app = {
diff --git a/firmware/tests/blink/Makefile b/firmware/tests/blink/Makefile
deleted file mode 100644 (file)
index 71a5c9b..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-
-PORT=/dev/ttyUSB0
-BSL=goodfet.bsl
-
-#Default to 2001 with least resources.
-
-#mcu=msp430x1611
-#mcu=msp430x2618
-mcu?=msp430x2001
-
-#GCCINC=-T ../../ldscripts/161x.x
-CC=msp430-gcc -g -mmcu=$(mcu) -DGCC $(GCCINC) -I ../../include
-
-app=blink
-
-all: $(app).hex
-$(app).hex: $(app)
-       msp430-objcopy $(app) -O ihex $(app).hex
-install: $(app).hex
-       $(BSL) -e -p $(app).hex 
-       $(BSL) -P $(app).hex -r
-erase:
-       $(BSL) -e 
-clean:
-       rm -f $(app) $(app).hex
diff --git a/firmware/tests/blink/README.txt b/firmware/tests/blink/README.txt
deleted file mode 100644 (file)
index daad816..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-Simple blink test.  Doesn't require a crystal, UART, or anything else.
-
diff --git a/firmware/tests/blink/blink.c b/firmware/tests/blink/blink.c
deleted file mode 100644 (file)
index c841bec..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-//GOODFET Blink test.\r
-\r
-\r
-#include "platform.h"\r
-\r
-#include <signal.h>\r
-#include <io.h>\r
-#include <iomacros.h>\r
-\r
-//LED on P1.0\r
-//IO on P5\r
-\r
-//! Initialize registers and all that jazz.\r
-void init(){\r
-  WDTCTL = WDTPW + WDTHOLD;                 // Stop watchdog timer\r
-  \r
-  //LED and TX OUT\r
-  PLEDDIR |= PLEDPIN;\r
-  \r
-  //Enable Interrupts.\r
-  //eint();\r
-}\r
-\r
-//! Main loop.\r
-int main(void)\r
-{\r
-  volatile unsigned int i;\r
-  init();\r
-  \r
-  while(1){\r
-    i = 10000;\r
-    while(i--);\r
-    \r
-    PLEDOUT^=PLEDPIN;  // Blink\r
-  }\r
-}\r
-\r
diff --git a/firmware/tests/echo/Makefile b/firmware/tests/echo/Makefile
deleted file mode 100644 (file)
index 86e4f2c..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-
-
-BSL=goodfet.bsl
-
-#mcu=msp430x1611
-mcu?=msp430x2618
-
-#ldscript is wonky
-#GCCINC=-T ../../ldscripts/161x.x
-
-CC=msp430-gcc -g -mmcu=$(mcu) -DGCC $(GCCINC) -I ../../include
-
-libs=../../lib/$(mcu).c
-app=echo
-
-install: $(app)
-       $(BSL) -e -p $(app).hex 
-       $(BSL) -P $(app).hex -r
-all: $(app).hex
-$(app): $(app).c $(libs)
-$(app).hex: $(app)
-       msp430-objcopy -O ihex $(app) $(app).hex
-erase:
-       $(BSL) -e 
-clean:
-       rm -f $(app)
diff --git a/firmware/tests/echo/README.txt b/firmware/tests/echo/README.txt
deleted file mode 100644 (file)
index 7e8780e..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-This is a test case that echoes any byte it receives back to the sender.
-Useful for debugging the UART.
-
diff --git a/firmware/tests/echo/echo.c b/firmware/tests/echo/echo.c
deleted file mode 100644 (file)
index 5938488..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-//GOODFET Echo test.\r
-\r
-\r
-#include "platform.h"\r
-\r
-#include <signal.h>\r
-#include <io.h>\r
-#include <iomacros.h>\r
-\r
-\r
-//LED on P1.0\r
-//IO on P5\r
-\r
-//! Initialize registers and all that jazz.\r
-void init(){\r
-  volatile unsigned int i;\r
-  WDTCTL = WDTPW + WDTHOLD;                 // Stop watchdog timer\r
-  \r
-  //LED and TX OUT\r
-  PLEDDIR |= PLEDPIN;\r
-  \r
-  msp430_init_dco();\r
-  msp430_init_uart();\r
-  \r
-  //Enable Interrupts.\r
-  //eint();\r
-}\r
-\r
-//! Main loop.\r
-int main(void)\r
-{\r
-  volatile unsigned int i;\r
-  init();\r
-  \r
-  \r
-  PLEDOUT^=PLEDPIN;  // Blink\r
-  \r
-  //while(1) serial_tx(serial_rx());\r
-  while(1) serial_tx('G');\r
-  \r
-  while(1){\r
-    i = 10000;\r
-    while(i--);\r
-    \r
-    PLEDOUT^=PLEDPIN;  // Blink\r
-  }\r
-}\r
-\r