Skip to content

Commit 2e1627d

Browse files
committed
M252: Introduce base target MCU_M251
This is to support all M251 series based targets.
1 parent e446a68 commit 2e1627d

File tree

1 file changed

+15
-9
lines changed

1 file changed

+15
-9
lines changed

targets/targets.json

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5635,15 +5635,15 @@
56355635
"MPU"
56365636
]
56375637
},
5638-
"NUMAKER_IOT_M252": {
5638+
"MCU_M251": {
56395639
"core": "Cortex-M23",
5640+
"public": false,
56405641
"trustzone": false,
56415642
"is_disk_virtual": true,
56425643
"default_toolchain": "ARMC6",
56435644
"extra_labels": [
56445645
"NUVOTON",
56455646
"M251",
5646-
"M252KG6AE",
56475647
"FLASH_CMSIS_ALGO"
56485648
],
56495649
"macros_add": [
@@ -5714,13 +5714,6 @@
57145714
"components_add": [
57155715
"FLASHIAP"
57165716
],
5717-
"detect_code": [
5718-
"1309"
5719-
],
5720-
"release_versions": [
5721-
"5"
5722-
],
5723-
"device_name": "M252KG6AE",
57245717
"sectors": [
57255718
[
57265719
0,
@@ -5729,6 +5722,19 @@
57295722
],
57305723
"bootloader_supported": true
57315724
},
5725+
"NUMAKER_IOT_M252": {
5726+
"inherits": [
5727+
"MCU_M251"
5728+
],
5729+
"detect_code": [
5730+
"1309"
5731+
],
5732+
"release_versions": [
5733+
"2",
5734+
"5"
5735+
],
5736+
"device_name": "M252KG6AE"
5737+
},
57325738
"TMPM4G9": {
57335739
"inherits": [
57345740
"Target"

0 commit comments

Comments
 (0)