mirror of
git://projects.qi-hardware.com/f32xbase.git
synced 2025-04-21 12:27:27 +03:00
Use config.h as the main source of configuration data. Fixed some boot.c
glitches. - fw/boot/boot.c, fw/boot/dfu.c: include config.h for platform defines - fw/common/Makefile.common: add $(F32XBASE)/fw/common to include search path - fw/boot/boot.c: define dummy for uart_init if no debugging is enabled - fw/boot/boot.c (PLATFORM_EXIT): typo PLAYFORM_EXIT - fw/boot/boot.c (run_payload): rename BOOT_SETUP to PLATFORM_SETUP - fw/boot/dfu.c (device_descriptor): use USB_PRODUCT instead of USB_PRODUCT_IDBG_DFU - fw/boot/config.h: removed for now. Might bring it back later as template. - fw/boot/version.h: moved to fw/common/ - fw/common/Makefile.system: remove serial setup
This commit is contained in:
@@ -32,6 +32,8 @@
|
||||
#include "usb.h"
|
||||
#include "dfu.h"
|
||||
|
||||
#include "config.h"
|
||||
|
||||
|
||||
#ifndef NULL
|
||||
#define NULL 0
|
||||
@@ -50,7 +52,7 @@ const uint8_t device_descriptor[] = {
|
||||
0x00, /* bDeviceProtocol (per interface) */
|
||||
EP0_SIZE, /* bMaxPacketSize */
|
||||
LE(USB_VENDOR), /* idVendor */
|
||||
LE(USB_PRODUCT_IDBG_DFU),/* idProduct */
|
||||
LE(USB_PRODUCT), /* idProduct */
|
||||
LE(0x0001), /* bcdDevice */
|
||||
0, /* iManufacturer */
|
||||
0, /* iProduct */
|
||||
|
||||
Reference in New Issue
Block a user