summaryrefslogtreecommitdiffstats
path: root/setup.c
diff options
context:
space:
mode:
authorTomasz Kramkowski <tk@the-tk.com>2017-03-26 21:45:42 +0100
committerTomasz Kramkowski <tk@the-tk.com>2017-03-26 21:45:42 +0100
commit03f33481c42954ec118d5dd92703b2b2208f4a3a (patch)
tree61ff51b02413e2a7441bf340f9afd8510af29890 /setup.c
parent6f2090ae7fca871512258623d2bbd5484716a706 (diff)
downloadfmk-03f33481c42954ec118d5dd92703b2b2208f4a3a.tar.gz
fmk-03f33481c42954ec118d5dd92703b2b2208f4a3a.tar.xz
fmk-03f33481c42954ec118d5dd92703b2b2208f4a3a.zip
uart support
Diffstat (limited to 'setup.c')
-rw-r--r--setup.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/setup.c b/setup.c
index e024844..71d7d73 100644
--- a/setup.c
+++ b/setup.c
@@ -4,6 +4,7 @@
#include "asm.h"
#include "usb/usb.h"
+#include "uart/uart.h"
extern unsigned char _ldata[], _sdata[], _edata[];
extern unsigned char _sbss[], _ebss[];
@@ -88,6 +89,7 @@ void setup(void)
PORTC_PCR(5) = 1 << PCR_MUX | BV(PCR_DSE);
GPIOC_PDDR = BV(5);
+ uart_setup();
usb_setup();
/* Enable interrupts for setup */