Date:2010-08-19 06:05:04 (9 years 5 days ago)
Author:Werner Almesberger
Commit:00f28250c551c278a3ea9b4988a6d751ddb20831
Message:Added boot loader for C8051F326 (using f326xbase)

- fw/boot/Makefile: build DFU-capable bootloader from f326xbase
- fw/boot/config.h: product-specific configuration
Files: fw/boot/Makefile (1 diff)
fw/boot/config.h (1 diff)
wpan-atrf.brd (3 diffs)

Change Details

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) usb dfu version
15
16F32XBASE = ../../../f32xbase
17
18include $(F32XBASE)/fw/common/Makefile.system
19include $(F32XBASE)/fw/common/Makefile.common
20
21CFLAGS += -DLOW_SPEED
22LDFLAGS += --code-size $(PAYLOAD_START)
23
24boot.rel: $(F32XBASE)/fw/boot/boot.c
25        $(CC) $(CFLAGS) -o $@ -c $<
26
27usb.rel: $(F32XBASE)/fw/common/usb.c
28        $(CC) $(CFLAGS) -o $@ -c $<
29
30dfu.rel: $(F32XBASE)/fw/boot/dfu.c
31        $(CC) $(CFLAGS) -o $@ -c $<
fw/boot/config.h
1#ifndef CONFIG_H
2#define CONFIG_H
3
4/*
5 * Platform-specific settings for boot.c
6 *
7 * USB_VENDOR = Qi Hardware
8 * USB_PRODUCT = 802.15.4, device 0
9 * -- - -
10 */
11
12#define USB_VENDOR 0x20b7
13#define USB_PRODUCT 0x1540
14
15#endif /* !CONFIG_H */
wpan-atrf.brd
1PCBNEW-BOARD Version 1 date Wed Aug 18 17:19:58 2010
1PCBNEW-BOARD Version 1 date Wed Aug 18 18:09:13 2010
22
33# Created by Pcbnew(2010-08-11 BZR 2448)-unstable
44
...... 
99Links 100
1010NoConn 0
1111Di 40281 33556 62755 41276
12Ndraw 30
12Ndraw 34
1313Ntrack 369
1414Nzone 0
1515BoardThickness 630
...... 
18851885Po 0 0
18861886$EndPAD
18871887$EndMODULE PAD_60x60
1888$MIREPCB
1889Po 1 28 48800 41200 1000 50 00000000
1890$EndMIREPCB
1891$MIREPCB
1892Po 1 28 55600 34300 1000 50 00000000
1893$EndMIREPCB
1894$MIREPCB
1895Po 1 28 40700 41200 1000 50 00000000
1896$EndMIREPCB
1897$MIREPCB
1898Po 1 28 62200 34300 1000 50 00000000
1899$EndMIREPCB
18881900$TEXTPCB
18891901Te "SC"
18901902Po 48400 35600 600 600 100 900

Archive Download the corresponding diff file



interactive