diff options
author | Tomasz Kramkowski <tk@the-tk.com> | 2017-03-26 21:45:42 +0100 |
---|---|---|
committer | Tomasz Kramkowski <tk@the-tk.com> | 2017-03-26 21:45:42 +0100 |
commit | 03f33481c42954ec118d5dd92703b2b2208f4a3a (patch) | |
tree | 61ff51b02413e2a7441bf340f9afd8510af29890 /setup.c | |
parent | 6f2090ae7fca871512258623d2bbd5484716a706 (diff) | |
download | fmk-03f33481c42954ec118d5dd92703b2b2208f4a3a.tar.gz fmk-03f33481c42954ec118d5dd92703b2b2208f4a3a.tar.xz fmk-03f33481c42954ec118d5dd92703b2b2208f4a3a.zip |
uart support
Diffstat (limited to 'setup.c')
-rw-r--r-- | setup.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 */ |