Skip to content

Commit b5d565a

Browse files
committed
Support NUC472 with USB 2.0 only and set M487 USB1.1 in default
1 parent 7411c1f commit b5d565a

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

targets/TARGET_NUVOTON/USBEndpoints_Nuvoton.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@ static USBPhyHw *instance;
3636
#define MBED_CONF_TARGET_USB_DEVICE_HSUSBD 1 /* USB 2.0 Only */
3737
#endif
3838

39-
#undef MBED_CONF_TARGET_USB_DEVICE_HSUSBD
40-
#define MBED_CONF_TARGET_USB_DEVICE_HSUSBD 0 /* USB 1.1 Only */
4139

4240
extern "C" void USBD_IRQHandler(void);
4341

targets/targets.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8473,7 +8473,7 @@
84738473
},
84748474
"usb-device-hsusbd": {
84758475
"help": "Select high-speed USB device or not",
8476-
"value": 1
8476+
"value": 0
84778477
}
84788478
},
84798479
"inherits": ["Target"],

0 commit comments

Comments
 (0)