Add bare metal support to Nuvoton targets

Modify `targets.json` to configure bare metal for the following targets:
NUMAKER_IOT_M252, NUMAKER_IOT_M263A, NUMAKER_IOT_M487, NUMAKER_PFM_M487,
NUMAKER_PFM_NUC472. Add target link interface between nuvoton library
and mbed-cmsis-cortex-m.
pull/14373/head
Harrison Mutai 2021-03-03 11:06:31 +00:00 committed by harmut01
parent 46fb822d02
commit 7eb2122f63
2 changed files with 62 additions and 15 deletions

View File

@ -25,3 +25,4 @@ target_sources(mbed-nuvoton
)
target_link_libraries(mbed-nuvoton INTERFACE mbed-cmsis-cortex-m)

View File

@ -6006,9 +6006,7 @@
"is_disk_virtual": true,
"supported_toolchains": [
"ARM",
"uARM",
"GCC_ARM",
"IAR"
"GCC_ARM"
],
"config": {
"gpio-irq-debounce-enable": {
@ -6081,6 +6079,19 @@
},
"detect_code": [
"1302"
],
"supported_c_libs": {
"arm": [
"std",
"small"
],
"gcc_arm": [
"std",
"small"
]
},
"supported_application_profiles": [
"full", "bare-metal"
]
},
"NUMAKER_PFM_M453": {
@ -6308,9 +6319,7 @@
"is_disk_virtual": true,
"supported_toolchains": [
"ARM",
"uARM",
"GCC_ARM",
"IAR"
"GCC_ARM"
],
"config": {
"spim-ccm-enable": {
@ -6414,7 +6423,20 @@
"overrides": {
"deep-sleep-latency": 1,
"tickless-from-us-ticker": true
}
},
"supported_c_libs": {
"arm": [
"std",
"small"
],
"gcc_arm": [
"std",
"small"
]
},
"supported_application_profiles": [
"full", "bare-metal"
]
},
"NUMAKER_PFM_M487": {
"inherits": [
@ -6649,9 +6671,8 @@
"LPTICKER_DELAY_TICKS=4"
],
"supported_toolchains": [
"ARMC6",
"GCC_ARM",
"IAR"
"ARM",
"GCC_ARM"
],
"config": {
"usb-uart": {
@ -6742,7 +6763,20 @@
512
]
],
"bootloader_supported": true
"bootloader_supported": true,
"supported_c_libs": {
"arm": [
"std",
"small"
],
"gcc_arm": [
"std",
"small"
]
},
"supported_application_profiles": [
"full", "bare-metal"
]
},
"NUMAKER_IOT_M252": {
"inherits": [
@ -7560,9 +7594,8 @@
],
"is_disk_virtual": true,
"supported_toolchains": [
"ARMC6",
"GCC_ARM",
"IAR"
"ARM",
"GCC_ARM"
],
"config": {
"usb-uart": {
@ -7653,7 +7686,20 @@
"deep-sleep-latency": 1,
"tickless-from-us-ticker": true
},
"forced_reset_timeout": 3
"forced_reset_timeout": 3,
"supported_c_libs": {
"arm": [
"std",
"small"
],
"gcc_arm": [
"std",
"small"
]
},
"supported_application_profiles": [
"full", "bare-metal"
]
},
"NUMAKER_IOT_M263A": {
"inherits": [