C8051F32x firmware infrastructure
Sign in or create your account | Project List | Help
C8051F32x firmware infrastructure Git Source Tree
Root/
| 1 | # |
| 2 | # boot/Makefile - Makefile for DFU-capable boot loader |
| 3 | # |
| 4 | # Written 2008, 2010 by Werner Almesberger |
| 5 | # Copyright 2008, 2010 Werner Almesberger |
| 6 | # |
| 7 | # This program is free software; you can redistribute it and/or modify |
| 8 | # it under the terms of the GNU General Public License as published by |
| 9 | # the Free Software Foundation; either version 2 of the License, or |
| 10 | # (at your option) any later version. |
| 11 | # |
| 12 | |
| 13 | MAIN=boot |
| 14 | OBJS=$(MAIN) uart usb dfu version |
| 15 | |
| 16 | include ../common/Makefile.system |
| 17 | include ../common/Makefile.common |
| 18 | |
| 19 | CFLAGS += -I../include # -DLOW_SPEED |
| 20 | LDFLAGS += --code-size $(PAYLOAD_START) |
| 21 | |
| 22 | uart.rel: ../common/uart.c |
| 23 | $(CC) $(CFLAGS) $(DEFINE_UART_SPEED) -o $@ -c $< |
| 24 | |
| 25 | usb.rel: ../common/usb.c |
| 26 | $(CC) $(CFLAGS) -o $@ -c $< |
| 27 |
Branches:
master
