Skip to content

Commit 7eb2122

Browse files
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.
1 parent 46fb822 commit 7eb2122

File tree

2 files changed

+62
-15
lines changed

2 files changed

+62
-15
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/targets.json

Lines changed: 61 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6006,9 +6006,7 @@
60066006
"is_disk_virtual": true,
60076007
"supported_toolchains": [
60086008
"ARM",
6009-
"uARM",
6010-
"GCC_ARM",
6011-
"IAR"
6009+
"GCC_ARM"
60126010
],
60136011
"config": {
60146012
"gpio-irq-debounce-enable": {
@@ -6081,6 +6079,19 @@
60816079
},
60826080
"detect_code": [
60836081
"1302"
6082+
],
6083+
"supported_c_libs": {
6084+
"arm": [
6085+
"std",
6086+
"small"
6087+
],
6088+
"gcc_arm": [
6089+
"std",
6090+
"small"
6091+
]
6092+
},
6093+
"supported_application_profiles": [
6094+
"full", "bare-metal"
60846095
]
60856096
},
60866097
"NUMAKER_PFM_M453": {
@@ -6308,9 +6319,7 @@
63086319
"is_disk_virtual": true,
63096320
"supported_toolchains": [
63106321
"ARM",
6311-
"uARM",
6312-
"GCC_ARM",
6313-
"IAR"
6322+
"GCC_ARM"
63146323
],
63156324
"config": {
63166325
"spim-ccm-enable": {
@@ -6414,7 +6423,20 @@
64146423
"overrides": {
64156424
"deep-sleep-latency": 1,
64166425
"tickless-from-us-ticker": true
6417-
}
6426+
},
6427+
"supported_c_libs": {
6428+
"arm": [
6429+
"std",
6430+
"small"
6431+
],
6432+
"gcc_arm": [
6433+
"std",
6434+
"small"
6435+
]
6436+
},
6437+
"supported_application_profiles": [
6438+
"full", "bare-metal"
6439+
]
64186440
},
64196441
"NUMAKER_PFM_M487": {
64206442
"inherits": [
@@ -6649,9 +6671,8 @@
66496671
"LPTICKER_DELAY_TICKS=4"
66506672
],
66516673
"supported_toolchains": [
6652-
"ARMC6",
6653-
"GCC_ARM",
6654-
"IAR"
6674+
"ARM",
6675+
"GCC_ARM"
66556676
],
66566677
"config": {
66576678
"usb-uart": {
@@ -6742,7 +6763,20 @@
67426763
512
67436764
]
67446765
],
6745-
"bootloader_supported": true
6766+
"bootloader_supported": true,
6767+
"supported_c_libs": {
6768+
"arm": [
6769+
"std",
6770+
"small"
6771+
],
6772+
"gcc_arm": [
6773+
"std",
6774+
"small"
6775+
]
6776+
},
6777+
"supported_application_profiles": [
6778+
"full", "bare-metal"
6779+
]
67466780
},
67476781
"NUMAKER_IOT_M252": {
67486782
"inherits": [
@@ -7560,9 +7594,8 @@
75607594
],
75617595
"is_disk_virtual": true,
75627596
"supported_toolchains": [
7563-
"ARMC6",
7564-
"GCC_ARM",
7565-
"IAR"
7597+
"ARM",
7598+
"GCC_ARM"
75667599
],
75677600
"config": {
75687601
"usb-uart": {
@@ -7653,7 +7686,20 @@
76537686
"deep-sleep-latency": 1,
76547687
"tickless-from-us-ticker": true
76557688
},
7656-
"forced_reset_timeout": 3
7689+
"forced_reset_timeout": 3,
7690+
"supported_c_libs": {
7691+
"arm": [
7692+
"std",
7693+
"small"
7694+
],
7695+
"gcc_arm": [
7696+
"std",
7697+
"small"
7698+
]
7699+
},
7700+
"supported_application_profiles": [
7701+
"full", "bare-metal"
7702+
]
76577703
},
76587704
"NUMAKER_IOT_M263A": {
76597705
"inherits": [

0 commit comments

Comments
 (0)