Skip to content

Commit b77e399

Browse files
committed
Nuvoton: Add 'sectors' configuration option into targets.json
This change adds 'sectors' configuration option into 'targets.json' to enable bootloader for Nuvoton targets. Though 'arm_pack_manager/index.json' has `sectors` available, Nuvoton's cmsis pack 'Nuvoton.NuMicro_DFP.pdsc' doesn't have 'sectors' entries and they must add into `index.json` manually. But not apply to all chip subfamilies. To support custom board which uses a different chip subfamily, add 'secotors' into 'targets.json' for all Nuvoton targets which enable Flash IAP.
1 parent 7fce7f5 commit b77e399

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

targets/targets.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11815,6 +11815,12 @@
1181511815
"release_versions": [
1181611816
"5"
1181711817
],
11818+
"sectors": [
11819+
[
11820+
0,
11821+
2048
11822+
]
11823+
],
1181811824
"device_name": "NUC472HI8AE",
1181911825
"bootloader_supported": true,
1182011826
"overrides": {
@@ -11982,6 +11988,12 @@
1198211988
"2",
1198311989
"5"
1198411990
],
11991+
"sectors": [
11992+
[
11993+
0,
11994+
2048
11995+
]
11996+
],
1198511997
"device_name": "M453VG6AE",
1198611998
"bootloader_supported": true,
1198711999
"overrides": {
@@ -12836,6 +12848,12 @@
1283612848
"release_versions": [
1283712849
"5"
1283812850
],
12851+
"sectors": [
12852+
[
12853+
0,
12854+
4096
12855+
]
12856+
],
1283912857
"bootloader_supported": true,
1284012858
"overrides": {
1284112859
"deep-sleep-latency": 1,
@@ -13221,6 +13239,12 @@
1322113239
"release_versions": [
1322213240
"5"
1322313241
],
13242+
"sectors": [
13243+
[
13244+
0,
13245+
2048
13246+
]
13247+
],
1322413248
"bootloader_supported": true,
1322513249
"forced_reset_timeout": 3
1322613250
},
@@ -14892,6 +14916,12 @@
1489214916
"release_versions": [
1489314917
"5"
1489414918
],
14919+
"sectors": [
14920+
[
14921+
0,
14922+
2048
14923+
]
14924+
],
1489514925
"bootloader_supported": true,
1489614926
"overrides": {
1489714927
"deep-sleep-latency": 1,

0 commit comments

Comments
 (0)