Skip to content

Commit d7aded6

Browse files
authored
Merge pull request #14373 from harmut01/baremetal_nuvoton
Add bare metal support to Nuvoton targets
2 parents 31a60a9 + 7eb2122 commit d7aded6

File tree

5 files changed

+62
-212
lines changed

5 files changed

+62
-212
lines changed

targets/TARGET_NUVOTON/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,4 @@ target_sources(mbed-nuvoton
2525
)
2626

2727
target_link_libraries(mbed-nuvoton INTERFACE mbed-cmsis-cortex-m)
28+

targets/TARGET_NUVOTON/TARGET_M480/device/TOOLCHAIN_ARM_MICRO/M487.sct

Lines changed: 0 additions & 63 deletions
This file was deleted.

targets/TARGET_NUVOTON/TARGET_NUC472/device/TOOLCHAIN_ARM_MICRO/TARGET_NU_XRAM_SUPPORTED/NUC472.sct

Lines changed: 0 additions & 72 deletions
This file was deleted.

targets/TARGET_NUVOTON/TARGET_NUC472/device/TOOLCHAIN_ARM_MICRO/TARGET_NU_XRAM_UNSUPPORTED/NUC472.sct

Lines changed: 0 additions & 62 deletions
This file was deleted.

targets/targets.json

Lines changed: 61 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -5999,9 +5999,7 @@
59995999
"is_disk_virtual": true,
60006000
"supported_toolchains": [
60016001
"ARM",
6002-
"uARM",
6003-
"GCC_ARM",
6004-
"IAR"
6002+
"GCC_ARM"
60056003
],
60066004
"config": {
60076005
"gpio-irq-debounce-enable": {
@@ -6074,6 +6072,19 @@
60746072
},
60756073
"detect_code": [
60766074
"1302"
6075+
],
6076+
"supported_c_libs": {
6077+
"arm": [
6078+
"std",
6079+
"small"
6080+
],
6081+
"gcc_arm": [
6082+
"std",
6083+
"small"
6084+
]
6085+
},
6086+
"supported_application_profiles": [
6087+
"full", "bare-metal"
60776088
]
60786089
},
60796090
"NUMAKER_PFM_M453": {
@@ -6301,9 +6312,7 @@
63016312
"is_disk_virtual": true,
63026313
"supported_toolchains": [
63036314
"ARM",
6304-
"uARM",
6305-
"GCC_ARM",
6306-
"IAR"
6315+
"GCC_ARM"
63076316
],
63086317
"config": {
63096318
"spim-ccm-enable": {
@@ -6407,7 +6416,20 @@
64076416
"overrides": {
64086417
"deep-sleep-latency": 1,
64096418
"tickless-from-us-ticker": true
6410-
}
6419+
},
6420+
"supported_c_libs": {
6421+
"arm": [
6422+
"std",
6423+
"small"
6424+
],
6425+
"gcc_arm": [
6426+
"std",
6427+
"small"
6428+
]
6429+
},
6430+
"supported_application_profiles": [
6431+
"full", "bare-metal"
6432+
]
64116433
},
64126434
"NUMAKER_PFM_M487": {
64136435
"inherits": [
@@ -6642,9 +6664,8 @@
66426664
"LPTICKER_DELAY_TICKS=4"
66436665
],
66446666
"supported_toolchains": [
6645-
"ARMC6",
6646-
"GCC_ARM",
6647-
"IAR"
6667+
"ARM",
6668+
"GCC_ARM"
66486669
],
66496670
"config": {
66506671
"usb-uart": {
@@ -6735,7 +6756,20 @@
67356756
512
67366757
]
67376758
],
6738-
"bootloader_supported": true
6759+
"bootloader_supported": true,
6760+
"supported_c_libs": {
6761+
"arm": [
6762+
"std",
6763+
"small"
6764+
],
6765+
"gcc_arm": [
6766+
"std",
6767+
"small"
6768+
]
6769+
},
6770+
"supported_application_profiles": [
6771+
"full", "bare-metal"
6772+
]
67396773
},
67406774
"NUMAKER_IOT_M252": {
67416775
"inherits": [
@@ -7553,9 +7587,8 @@
75537587
],
75547588
"is_disk_virtual": true,
75557589
"supported_toolchains": [
7556-
"ARMC6",
7557-
"GCC_ARM",
7558-
"IAR"
7590+
"ARM",
7591+
"GCC_ARM"
75597592
],
75607593
"config": {
75617594
"usb-uart": {
@@ -7646,7 +7679,20 @@
76467679
"deep-sleep-latency": 1,
76477680
"tickless-from-us-ticker": true
76487681
},
7649-
"forced_reset_timeout": 3
7682+
"forced_reset_timeout": 3,
7683+
"supported_c_libs": {
7684+
"arm": [
7685+
"std",
7686+
"small"
7687+
],
7688+
"gcc_arm": [
7689+
"std",
7690+
"small"
7691+
]
7692+
},
7693+
"supported_application_profiles": [
7694+
"full", "bare-metal"
7695+
]
76507696
},
76517697
"NUMAKER_IOT_M263A": {
76527698
"inherits": [

0 commit comments

Comments
 (0)