summaryrefslogtreecommitdiff
path: root/examples/device
diff options
context:
space:
mode:
authorhathach <[email protected]>2019-03-13 23:14:48 +0700
committerhathach <[email protected]>2019-03-13 23:14:48 +0700
commiteda56769b9126460f7721a9b3f04d4e4f6efd60d (patch)
tree7a1d6bdde8db8af92b9e16583982eabbf0eff43e /examples/device
parent195a44172a964b377330bc7f269b611bb920fdc7 (diff)
dcd_set_address include status response, usbd control stall both control in and out
Diffstat (limited to 'examples/device')
-rw-r--r--examples/device/cdc_msc_hid/ses/cdc_msc_hid.emProject1
-rw-r--r--examples/device/cdc_msc_hid/src/tusb_config.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/examples/device/cdc_msc_hid/ses/cdc_msc_hid.emProject b/examples/device/cdc_msc_hid/ses/cdc_msc_hid.emProject
index 9d0672b8c..c02f7a588 100644
--- a/examples/device/cdc_msc_hid/ses/cdc_msc_hid.emProject
+++ b/examples/device/cdc_msc_hid/ses/cdc_msc_hid.emProject
@@ -9,4 +9,5 @@
<import file_name="lpc11u6x/lpc11u6x.emProject" />
<import file_name="lpc18xx/lpc18xx.emProject" />
<import file_name="lpc40xx/lpc40xx.emProject" />
+ <import file_name="stm32f4/stm32f4.emProject" />
</solution>
diff --git a/examples/device/cdc_msc_hid/src/tusb_config.h b/examples/device/cdc_msc_hid/src/tusb_config.h
index 3f748c3f0..bd9e9e06a 100644
--- a/examples/device/cdc_msc_hid/src/tusb_config.h
+++ b/examples/device/cdc_msc_hid/src/tusb_config.h
@@ -97,7 +97,7 @@
// #define CFG_TUD_DESC_PID 0x0001
// LPC 17xx and 40xx endpoint type (bulk/interrupt/iso) are fixed by its number
-// Therefor we need to force endpoint number to correct type on lpc17xx
+// Therefore we need to force endpoint number to correct type on lpc17xx
#if CFG_TUSB_MCU == OPT_MCU_LPC175X_6X || CFG_TUSB_MCU == OPT_MCU_LPC177X_8X || CFG_TUSB_MCU == OPT_MCU_LPC40XX
#define CFG_TUD_DESC_CDC_EPNUM_NOTIF 1
#define CFG_TUD_DESC_CDC_EPNUM 2