C8051F32x firmware infrastructure

Sign in or create your account | Project List | Help

C8051F32x firmware infrastructure Git Source Tree

Root/fw/boot/Makefile

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
13MAIN=boot
14OBJS=$(MAIN) uart usb dfu version
15
16include ../common/Makefile.system
17include ../common/Makefile.common
18
19CFLAGS += -I../include # -DLOW_SPEED
20LDFLAGS += --code-size $(PAYLOAD_START)
21
22uart.rel: ../common/uart.c
23        $(CC) $(CFLAGS) $(DEFINE_UART_SPEED) -o $@ -c $<
24
25usb.rel: ../common/usb.c
26        $(CC) $(CFLAGS) -o $@ -c $<
27

Archive Download this file

Branches:
master



interactive