mirror of
git://projects.qi-hardware.com/f32xbase.git
synced 2025-04-21 12:27:27 +03:00
fw/boot/ - The boot loader, fresh from IDBG. Needs major cleanup.
This commit is contained in:
26
fw/boot/Makefile
Normal file
26
fw/boot/Makefile
Normal file
@@ -0,0 +1,26 @@
|
||||
#
|
||||
# boot/Makefile - Makefile for DFU-capable boot loader
|
||||
#
|
||||
# Written 2008, 2010 by Werner Almesberger
|
||||
# Copyright 2008, 2010 Werner Almesberger
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
|
||||
MAIN=boot
|
||||
OBJS=$(MAIN) uart usb dfu version
|
||||
|
||||
include ../common/Makefile.system
|
||||
include ../common/Makefile.common
|
||||
|
||||
CFLAGS += -I../include # -DLOW_SPEED
|
||||
LDFLAGS += --code-size $(PAYLOAD_START)
|
||||
|
||||
uart.rel: ../common/uart.c
|
||||
$(CC) $(CFLAGS) $(DEFINE_UART_SPEED) -o $@ -c $<
|
||||
|
||||
usb.rel: ../common/usb.c
|
||||
$(CC) $(CFLAGS) -o $@ -c $<
|
||||
Reference in New Issue
Block a user