Skip to content

Commit 501aa00

Browse files
cyliangtwccli8
authored andcommitted
Config for M460 EMAC
1 parent 0494866 commit 501aa00

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

connectivity/drivers/emac/TARGET_NUVOTON_EMAC/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ if("M480" IN_LIST MBED_TARGET_LABELS)
55
add_subdirectory(TARGET_M480)
66
elseif("NUC472" IN_LIST MBED_TARGET_LABELS)
77
add_subdirectory(TARGET_NUC472)
8+
elseif("M460" IN_LIST MBED_TARGET_LABELS)
9+
add_subdirectory(TARGET_M460)
810
endif()
911

1012
target_include_directories(mbed-emac

targets/targets.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7356,7 +7356,8 @@
73567356
"extra_labels": [
73577357
"NUVOTON",
73587358
"M460",
7359-
"FLASH_CMSIS_ALGO"
7359+
"FLASH_CMSIS_ALGO",
7360+
"NUVOTON_EMAC"
73607361
],
73617362
"is_disk_virtual": true,
73627363
"supported_toolchains": [
@@ -7461,7 +7462,8 @@
74617462
"FLASH",
74627463
"MPU",
74637464
"WATCHDOG",
7464-
"RESET_REASON"
7465+
"RESET_REASON",
7466+
"EMAC"
74657467
],
74667468
"components_add": [
74677469
"FLASHIAP"
@@ -7514,7 +7516,7 @@
75147516
"usb-uart": "UART_0",
75157517
"usb-uart-tx": "PB_13",
75167518
"usb-uart-rx": "PB_12",
7517-
"network-default-interface-type": "WIFI",
7519+
"network-default-interface-type": "ETHERNET",
75187520
"hbi-enable": false,
75197521
"hbi-mfp-reg-list": "0x40000534, 0x4000057C, 0x40000590, 0x40000594",
75207522
"hbi-mfp-reg-msk-list": "0xFFFFFF00, 0xFFFFFFFF, 0xFFFF0000, 0xFFFFFFFF",

0 commit comments

Comments
 (0)