diff options
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | setup.c | 2 | ||||
-rw-r--r-- | uart.c (renamed from uart/uart.c) | 0 | ||||
-rw-r--r-- | uart.h (renamed from uart/uart.h) | 8 | ||||
-rw-r--r-- | usb/endpt1.c | 2 | ||||
-rw-r--r-- | usb/usb.c | 2 |
6 files changed, 8 insertions, 8 deletions
@@ -18,7 +18,7 @@ LDFLAGS = -T layout.ld -O2 -flto -ffreestanding -nostdlib ASFLAGS = $(TARGET_ARCH) OBJ := crt0.o vectors.o flashconf.o setup.o fmk.o lib/le.o usb/usb.o \ - usb/endpt0.o usb/endpt1.o uart/uart.o + usb/endpt0.o usb/endpt1.o uart.o include $(MK20DX256)/mk20dx256.mk CPPFLAGS += $(mk20dx256_CPPFLAGS) @@ -22,7 +22,7 @@ #include <string.h> #include "usb/usb.h" -#include "uart/uart.h" +#include "uart.h" extern unsigned char _ldata[], _sdata[], _edata[]; extern unsigned char _sbss[], _ebss[]; @@ -1,5 +1,5 @@ /* - * uart/uart.h -- hardware UART interface + * uart.h -- hardware UART interface * * Copyright (C) 2016-2017 Tomasz Kramkowski <tk@the-tk.com> * @@ -16,8 +16,8 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef FMK_UART_UART_H -#define FMK_UART_UART_H +#ifndef FMK_UART_H +#define FMK_UART_H void uart_setup(void); void uart_putchar(int c); @@ -25,4 +25,4 @@ void uart_printf(const char *fmt, ...); void uart_puts(const char *s); void uart0_isr(void); -#endif /* FMK_UART_UART_H */ +#endif /* FMK_UART_H */ diff --git a/usb/endpt1.c b/usb/endpt1.c index 3139104..0580349 100644 --- a/usb/endpt1.c +++ b/usb/endpt1.c @@ -20,7 +20,7 @@ #include <stddef.h> #include <stdint.h> -#include "../uart/uart.h" +#include "../uart.h" #include "bdt.h" #include "endpt1.h" @@ -22,7 +22,7 @@ #include <reg/usbotg.h> #include <stddef.h> -#include "../uart/uart.h" +#include "../uart.h" #include "usb.h" #include "bdt.h" #include "endpt0.h" |