basic led gpio driver
[cortex-from-scratch] / systick.c
index ed062c0..1d632ec 100644 (file)
--- a/systick.c
+++ b/systick.c
@@ -1,8 +1,11 @@
 #include <stdbool.h>
 #include <stddef.h>
 #include <stdint.h>
-#include <stm32.h>
-#include <mmap.h>
+
+#include <sys/robsys.h>
+#include <sys/mmap.h>
+
+#include <lib/regfunc.h> // TODO
 
 struct interrupt_frame {
 
@@ -20,7 +23,7 @@ struct interrupt_frame {
 void * systick_handler(/* struct interrupt_frame * frame */) {
 
 //     uint32_t volatile status;
-       uart_puts("TICKING\n");
+       //uart_puts("TICKING\n");
 //     for(;;);
 }