module dfu readme updates

This commit is contained in:
Ross Owen
2013-11-29 17:19:34 +00:00
parent a86789d590
commit d36edf7218
3 changed files with 11 additions and 12 deletions

View File

@@ -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.

View File

@@ -1,9 +1,11 @@
<Add title here>
================
module_dfu
==========
:scope: <Put one of Roadmap, Example, Early Development or General Use>
:description: <Add one line here>
:keywords: <Add comma separated list of keywords>
:boards: <Add comma separated list of supported boards>
:scope: General Use
:description: module_dfu
:keywords: DFU
: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.

View File

@@ -243,12 +243,12 @@
#endif
#define BCD_DEVICE_J 6
#define BCD_DEVICE_M 2
#define BCD_DEVICE_M 3
#define BCD_DEVICE_N 0
/* Device release number in BCD: 0xJJMN */
#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
/* Addition interfaces based on defines */