From bc9ee9f0acc0ec26acda4ffd8f5fdcd04a6375c5 Mon Sep 17 00:00:00 2001 From: Wojtek Kosior Date: Fri, 11 Oct 2019 18:59:16 +0200 Subject: initialize uart in bootloader's stage2, not stage1 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 2fbb0aa..7632283 100644 --- a/Makefile +++ b/Makefile @@ -32,7 +32,7 @@ loader_stage2_embeddable.o : loader_stage2.img loader_stage1.o : loader_stage1.c arm-none-eabi-gcc $(CFLAGS) -c $^ -o $@ -loader.elf : boot.o loader_stage1.o uart.o loader_stage2_embeddable.o +loader.elf : boot.o loader_stage1.o loader_stage2_embeddable.o arm-none-eabi-gcc -T loader_stage1.ld -o $@ -ffreestanding -O2 -nostdlib $^ -lgcc loader.img : loader.elf -- cgit v1.2.3