aboutsummaryrefslogtreecommitdiff
path: root/projects/board-test/Makefile
blob: 9b1812fcafdbdf775b65ec9c95c03cc83c0224e9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
TEST = led-test short-test uart-test fmc-test fmc-perf fmc-probe rtc-test

all: $(TEST:=.elf)

%.elf: %.o $(BOARD_OBJS) $(LIBS)
	$(CC) $(CFLAGS) $^ -o $@ -T$(LDSCRIPT) -g -Wl,-Map=$*.map
	$(OBJCOPY) -O ihex $*.elf $*.hex
	$(OBJCOPY) -O binary $*.elf $*.bin
	$(OBJDUMP) -St $*.elf >$*.lst
	$(SIZE) $*.elf

clean:
	rm -f *.o
	rm -f *.elf
	rm -f *.hex
	rm -f *.bin
	rm -f *.map
	rm -f *.lst
("Documents", "documents.html", "documents", []), ("Mailing Lists", "mailing-lists.html", "mailinglists", []), ("Archives", "archives.html", "archives", []), ] M_CSS_FILES = [ "https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400i,600,600i%7CSource+Code+Pro:400,400i,600", "/static/m-dark.css" ] M_HIDE_ARTICLE_SUMMARY = True M_THEME_COLOR = "#22272e" PLUGIN_PATHS = ["m.css/plugins"] PLUGINS = ["m.htmlsanity"] # Per https://docs.getpelican.com/en/latest/faq.html#how-can-i-use-a-static-page-as-my-home-page INDEX_SAVE_AS = "pelican-index.html"