Merged in f5soh/librepilot/update_credits (pull request #529)
[librepilot.git] / flight / targets / boards / tinyfish / firmware / inc / pios_usb_board_data.h
blob36342d32d7285a953dbc031ec36660f560381830
1 /**
2 ******************************************************************************
3 * @addtogroup PIOS PIOS Core hardware abstraction layer
4 * @{
5 * @addtogroup PIOS_USB_BOARD Board specific USB definitions
6 * @brief Board specific USB definitions
7 * @{
9 * @file pios_usb_board_data.h
10 * @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010.
11 * @brief Board specific USB definitions
12 * @see The GNU Public License (GPL) Version 3
14 *****************************************************************************/
16 * This program is free software; you can redistribute it and/or modify
17 * it under the terms of the GNU General Public License as published by
18 * the Free Software Foundation; either version 3 of the License, or
19 * (at your option) any later version.
21 * This program is distributed in the hope that it will be useful, but
22 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
23 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
24 * for more details.
26 * You should have received a copy of the GNU General Public License along
27 * with this program; if not, write to the Free Software Foundation, Inc.,
28 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
31 #ifndef PIOS_USB_BOARD_DATA_H
32 #define PIOS_USB_BOARD_DATA_H
34 // Note : changing below length will require changes to the USB buffer setup
35 #define PIOS_USB_BOARD_CDC_DATA_LENGTH 64
36 #define PIOS_USB_BOARD_CDC_MGMT_LENGTH 32
37 #define PIOS_USB_BOARD_HID_DATA_LENGTH 64
39 #define PIOS_USB_BOARD_EP_NUM 4
41 #include <pios_usb_defs.h> /* USB_* macros */
43 #define PIOS_USB_BOARD_PRODUCT_ID USB_PRODUCT_ID_LIBREPILOT
44 #define PIOS_USB_BOARD_DEVICE_VER USB_OP_DEVICE_VER(USB_OP_BOARD_ID_TINYFISH, USB_OP_BOARD_MODE_FW)
45 #define PIOS_USB_BOARD_SN_SUFFIX "+FW"
47 #endif /* PIOS_USB_BOARD_DATA_H */