USB device stack
Dependents: F401RE_USBMSD_RAM_copy
Fork of USBDevice by
test program:
Import programF401RE_USBMSD_RAM
USBMSD example with a file system located in RAM
Diff: USBDevice/USBHAL_LPC11U.cpp
- Revision:
- 23:ecbbaf64bc3d
- Parent:
- 17:bbd6dac92961
- Child:
- 24:33920e3786aa
--- a/USBDevice/USBHAL_LPC11U.cpp Wed Apr 02 21:00:41 2014 +0100 +++ b/USBDevice/USBHAL_LPC11U.cpp Sat May 10 08:00:27 2014 +0100 @@ -16,11 +16,11 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -#if defined(TARGET_LPC11U24) || defined(TARGET_LPC11U35_401) || defined(TARGET_LPC1347) +#if defined(TARGET_LPC11U24) || defined(TARGET_LPC11U35_401) || defined(TARGET_LPC1347) || defined(TARGET_LPC11U35_501) #if defined(TARGET_LPC1347) #define USB_IRQ USB_IRQ_IRQn -#elif defined(TARGET_LPC11U24) || defined(TARGET_LPC11U35_401) +#elif defined(TARGET_LPC11U24) || defined(TARGET_LPC11U35_401) || defined(TARGET_LPC11U35_501) #define USB_IRQ USB_IRQn #endif @@ -145,7 +145,7 @@ epCallback[6] = &USBHAL::EP4_OUT_callback; epCallback[7] = &USBHAL::EP4_IN_callback; - #if defined(TARGET_LPC11U35_401) + #if defined(TARGET_LPC11U35_401) || defined(TARGET_LPC11U35_501) // USB_VBUS input with pull-down LPC_IOCON->PIO0_3 = 0x00000009; #endif