Date:2013-04-01 10:54:58 (6 years 8 months ago)
Author:Werner Almesberger
Commit:2d43876e4ac7f6c0873551c69d5cff5157ac457d
Message:atusb/fw/board.h: de-duplicate USB ID definitions (now originate from atusb.h)

Files: atusb/fw/board.h (3 diffs)

Change Details

atusb/fw/board.h
11/*
22 * fw/board.h - Board-specific functions and definitions
33 *
4 * Written 2008-2011, 2013 by Werner Almesberger
5 * Copyright 2008-2011, 2013 Werner Almesberger
4 * Written 2008-2011, 2013, 2013 by Werner Almesberger
5 * Copyright 2008-2011, 2013, 2013 Werner Almesberger
66 *
77 * This program is free software; you can redistribute it and/or modify
88 * it under the terms of the GNU General Public License as published by
...... 
1616#include <stdbool.h>
1717#include <stdint.h>
1818
19#include <atusb/atusb.h>
20
1921
2022#define LED_PORT B
2123#define LED_BIT 6
...... 
5658#define PIN(n) PIN_1(n##_PORT, n##_BIT)
5759
5860
59#define USB_VENDOR 0x20b7 /* Qi Hardware */
60#define USB_PRODUCT 0x1540 /* ben-wpan atusb */
61#define USB_VENDOR ATUSB_VENDOR_ID
62#define USB_PRODUCT ATUSB_PRODUCT_ID
6163
6264#define DFU_USB_VENDOR USB_VENDOR
6365#define DFU_USB_PRODUCT USB_PRODUCT

Archive Download the corresponding diff file



interactive