Skip to content

Commit 06c3a5b

Browse files
committed
Fix: Allow target size restriction for LPC55S69
The build tool uses the sector size found in the CMSIS Pack to determine if the size that can be specified by `target.restrict_size` is enough to fit all the parts of a given binary. See `target.restrict_size` documentation in the Mbed OS manual for more information. The sector size found in the CMSIS Pack is overriden to allow the build tool to accurately make the decision. The target's sectors in the CMSIS Pack are defined in 32KB pages. However, you can erase pages at the 512 byte level. This commit changes defined sector erase size to 512 bytes instead of 32 Kilobytes.
1 parent 9cc1caa commit 06c3a5b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

targets/targets.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2058,7 +2058,8 @@
20582058
"detect_code": ["0236"],
20592059
"device_name": "LPC55S69JBD100",
20602060
"release_versions": ["5"],
2061-
"program_cycle_s": 10
2061+
"program_cycle_s": 10,
2062+
"sectors": [[0,512]]
20622063
},
20632064
"LPC55S69_NS": {
20642065
"inherits": ["NSPE_Target", "LPC55S69"],

0 commit comments

Comments
 (0)