mirror of
https://github.com/brmlab/edubrm.git
synced 2025-06-07 20:34:00 +02:00
rename debug*.ld to linker*.ld
This commit is contained in:
parent
bb85100586
commit
e9f2068226
4 changed files with 4 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
|||
NAME = edubrm
|
||||
CFLAGS = -Wall -Werror -D__REDLIB__ -DDEBUG -D__CODE_RED -D__USE_CMSIS=CMSISv1p30_LPC13xx -O0 -g3 -Wall -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections -mcpu=cortex-m3 -mthumb
|
||||
LDFLAGS = -nostdlib -Xlinker -Map=obj/$(NAME).map --gc-sections -mcpu=cortex-m3 -mthumb -T obj/debug.ld
|
||||
LDFLAGS = -nostdlib -Xlinker -Map=obj/$(NAME).map --gc-sections -mcpu=cortex-m3 -mthumb -T obj/linker.ld
|
||||
LIST = $(shell cd src/ ; ls *.c)
|
||||
OBJS = $(addprefix obj/,$(LIST:.c=.o))
|
||||
SRCS = $(addprefix src/,$(LIST))
|
||||
|
@ -17,7 +17,7 @@ obj/$(NAME).bin: obj/$(NAME).axf
|
|||
checksum -v obj/$(NAME).bin
|
||||
|
||||
clean:
|
||||
rm -f obj/*.o obj/*.{axf,bin,map}
|
||||
rm -f obj/*.{axf,bin,map,o}
|
||||
|
||||
deploy:
|
||||
dfu-util -d 0471:df55 -c 0 -t 2048 -R -D /opt/LPCXpresso/bin/LPCXpressoWIN.enc || :
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
*/
|
||||
|
||||
|
||||
INCLUDE "obj/debug_lib.ld"
|
||||
INCLUDE "obj/debug_mem.ld"
|
||||
INCLUDE "obj/linker_lib.ld"
|
||||
INCLUDE "obj/linker_mem.ld"
|
||||
|
||||
ENTRY(ResetISR)
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue