From 08af30e823534bf9aff05adfe3bb6d8a75f0ad5c Mon Sep 17 00:00:00 2001 From: Byron Lathi Date: Sat, 12 Mar 2022 19:25:01 -0600 Subject: [PATCH] Remove C tests The previous tests are not useful anymore. --- sw/tests/test_main.c | 24 +----------------------- 1 file changed, 1 insertion(+), 23 deletions(-) diff --git a/sw/tests/test_main.c b/sw/tests/test_main.c index c579ed3..0356d35 100644 --- a/sw/tests/test_main.c +++ b/sw/tests/test_main.c @@ -1,29 +1,7 @@ #include -#include - -#include - -uint16_t retval; int main(void) { - printf("Setting SPI location to 0x02\n"); - *(uint8_t*)0x7ff0 = 2; - if (!(*(uint8_t*)0x7ff0 == 2)) { - printf("Expected 0x02 at 0x7ff0\n"); - return 1; - } - printf("Done!\n\n"); - - printf("Starting spi_byte test...\n"); - retval = spi_byte(0xa5); - if (retval != 0) { - printf("Expected 0 return value from spi_byte\n"); - return 1; - } - printf("Done! %x\n\n", retval); - - printf("Starting spi_deselect test...\n"); - spi_deselect(); + printf("No test to run!\n"); return 0; } \ No newline at end of file