forked from PAWPAW-Mirror/lib_xua
module dfu readme updates
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
Code providing firmware upgrade over USB.
|
|
||||||
|
|
||||||
./host provides an example of a host application for DFU. This is written and tested for OSX. LibUSB is used to aid cross-platform porting.
|
|
||||||
@@ -1,9 +1,11 @@
|
|||||||
<Add title here>
|
module_dfu
|
||||||
================
|
==========
|
||||||
|
|
||||||
:scope: <Put one of Roadmap, Example, Early Development or General Use>
|
:scope: General Use
|
||||||
:description: <Add one line here>
|
:description: module_dfu
|
||||||
:keywords: <Add comma separated list of keywords>
|
:keywords: DFU
|
||||||
:boards: <Add comma separated list of supported boards>
|
:boards: XMOS USB Audio Reference Designes
|
||||||
|
|
||||||
<Add description of software block>
|
Code providing firmware upgrade over USB.
|
||||||
|
|
||||||
|
./host provides an example of a host application for DFU. This is written and tested for OSX. LibUSB is used to aid cross-platform porting.
|
||||||
|
|||||||
@@ -243,12 +243,12 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define BCD_DEVICE_J 6
|
#define BCD_DEVICE_J 6
|
||||||
#define BCD_DEVICE_M 2
|
#define BCD_DEVICE_M 3
|
||||||
#define BCD_DEVICE_N 0
|
#define BCD_DEVICE_N 0
|
||||||
|
|
||||||
/* Device release number in BCD: 0xJJMN */
|
/* Device release number in BCD: 0xJJMN */
|
||||||
#ifndef BCD_DEVICE
|
#ifndef BCD_DEVICE
|
||||||
#define BCD_DEVICE ((BCD_DEVICE_J << 8) | ((BCD_DEVICE&0xF) << 4) | (XMOS_USB_AUD_APP_POINT_VERSION&0xF))
|
#define BCD_DEVICE ((BCD_DEVICE_J << 8) | ((BCD_DEVICE_M & 0xF) << 4) | (BCD_DEVICE_N & 0xF))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Addition interfaces based on defines */
|
/* Addition interfaces based on defines */
|
||||||
|
|||||||
Reference in New Issue
Block a user