Skip to content

Commit aa7a43d

Browse files
JojoS62multiplemonomials
authored andcommitted
fix emac test and add define for usb test
1 parent 2622438 commit aa7a43d

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

targets/TARGET_NXP/USBHAL_LPC17.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*/
1717

1818
#if defined(DEVICE_USBDEVICE) && DEVICE_USBDEVICE && \
19-
(defined(TARGET_LPC1768) || defined(TARGET_LPC2368) || defined(TARGET_LPC2460))
19+
(defined(TARGET_LPC1768) || defined(TARGET_LPC2368) || defined(TARGET_LPC2460) || defined(TARGET_LPC17XX))
2020

2121
#include "USBEndpoints_LPC17_LPC23.h"
2222
#include "USBPhyHw.h"

targets/targets.json5

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,9 @@ mode is recommended for target MCUs with small amounts of flash and RAM.",
509509
"GCC_ARM"
510510
],
511511
"macros": [
512-
"MBED_SPLIT_HEAP"
512+
"MBED_SPLIT_HEAP",
513+
"TARGET_LPC17XX" // for lpc-emac and lpc-usb
514+
513515
],
514516
"device_has": [
515517
"RTC",

0 commit comments

Comments
 (0)