From 99be520563834d51eb3ddd32b757a3dcd2486632 Mon Sep 17 00:00:00 2001 From: Sam Anthony Date: Thu, 2 Oct 2025 14:45:56 -0400 Subject: spi systest --- fw/tests/system/spi_systest.c | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 fw/tests/system/spi_systest.c (limited to 'fw/tests/system/spi_systest.c') diff --git a/fw/tests/system/spi_systest.c b/fw/tests/system/spi_systest.c new file mode 100644 index 0000000..1adc624 --- /dev/null +++ b/fw/tests/system/spi_systest.c @@ -0,0 +1,22 @@ +#include + +#include + +#include "system.h" +#include "types.h" +#include "spi.h" + +void +main(void) { + sysInit(); + spiInit(); + + for (;;) { + (void)spiTx(0x05); // 0b0000101 + } +} + +void +__interrupt() isr(void) { + +} -- cgit v1.2.3