2014-08-15 17:53:43 +00:00
|
|
|
// Originally Generated from MCHCK Toolkit
|
2016-07-23 23:16:16 +00:00
|
|
|
/* Copyright (c) Jacob Alexander 2014-2016 <haata@kiibohd.com>
|
2014-08-15 17:53:43 +00:00
|
|
|
*
|
|
|
|
* 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 3 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
2015-06-14 20:56:56 +00:00
|
|
|
#pragma once
|
2014-08-15 17:53:43 +00:00
|
|
|
|
|
|
|
// ----- Local Includes -----
|
|
|
|
|
|
|
|
#include "mchck.h"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// ----- Variables -----
|
|
|
|
|
2016-07-23 23:16:16 +00:00
|
|
|
extern const struct usbd_device dfu_device;
|
|
|
|
extern struct usb_desc_string_t * const dfu_device_str_desc[];
|
2014-08-15 17:53:43 +00:00
|
|
|
|
|
|
|
usbd_init_fun_t init_usb_bootloader;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// ----- Structs -----
|
|
|
|
|
|
|
|
struct usb_config_1 {
|
|
|
|
struct usb_desc_config_t config;
|
|
|
|
struct dfu_function_desc usb_function_0;
|
|
|
|
};
|
|
|
|
|