changed name over to test-blink.c
removed hardcoded source name from the linker script
This commit is contained in:
parent
668ab46fa2
commit
3d10558496
2
Makefile
2
Makefile
|
@ -44,7 +44,7 @@ include $(TOPDIR)/config.mk
|
||||||
|
|
||||||
AOBJS =
|
AOBJS =
|
||||||
COBJS = $(patsubst %.c,%.o,$(wildcard src/*.c))
|
COBJS = $(patsubst %.c,%.o,$(wildcard src/*.c))
|
||||||
TARGETS = blink.o
|
TARGETS = test-blink.o
|
||||||
|
|
||||||
# Add GCC lib
|
# Add GCC lib
|
||||||
PLATFORM_LIBS += --no-warn-mismatch -L $(shell dirname `$(CC) $(CFLAGS) -print-libgcc-file-name`) -lgcc
|
PLATFORM_LIBS += --no-warn-mismatch -L $(shell dirname `$(CC) $(CFLAGS) -print-libgcc-file-name`) -lgcc
|
||||||
|
|
1
boot.lds
1
boot.lds
|
@ -32,7 +32,6 @@ SECTIONS
|
||||||
. = ALIGN(4);
|
. = ALIGN(4);
|
||||||
.text :
|
.text :
|
||||||
{
|
{
|
||||||
src/blink.o (.text)
|
|
||||||
*(.text)
|
*(.text)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue