Skip to content

Commit a8506d2

Browse files
authored
Merge pull request #121 from ARMmbed/restrict_app_sizes
Add and fix size restrictions to targets
2 parents 7f32a56 + 2311744 commit a8506d2

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

Diff for: mbed_app.json

+11-6
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"target.bootloader_img" : "bootloader/mbed-bootloader-k64f-internal_flash-no_rot-v4.1.0.bin",
4040
"target.header_offset" : "0x8000",
4141
"target.app_offset" : "0x8400",
42-
"target.restrict_size" : "0x74000",
42+
"target.restrict_size" : "0x77C00",
4343
"update-client.bootloader-details" : "0x4A6C",
4444
"update-client.application-details" : "(32*1024)",
4545
"update-client.storage-address" : "(MBED_CONF_STORAGE_TDB_INTERNAL_INTERNAL_BASE_ADDRESS+MBED_CONF_STORAGE_TDB_INTERNAL_INTERNAL_SIZE)",
@@ -58,6 +58,7 @@
5858
"target.bootloader_img" : "bootloader/mbed-bootloader-k66f-internal_flash-no_rot-v4.1.0.bin",
5959
"target.header_offset" : "0x8000",
6060
"target.app_offset" : "0x8400",
61+
"target.restrict_size" : "0xF7C00",
6162
"update-client.bootloader-details" : "0x4D58",
6263
"update-client.application-details" : "(32*1024)",
6364
"update-client.storage-address" : "(MBED_CONF_STORAGE_TDB_INTERNAL_INTERNAL_BASE_ADDRESS+MBED_CONF_STORAGE_TDB_INTERNAL_INTERNAL_SIZE)",
@@ -75,6 +76,7 @@
7576
"target.bootloader_img" : "bootloader/mbed-bootloader-nucleo_f429zi-internal_flash-no_rot-v4.1.0.bin",
7677
"target.header_offset" : "0x8000",
7778
"target.app_offset" : "0x8400",
79+
"target.restrict_size" : "0xF7C00",
7880
"update-client.bootloader-details" : "0x080078CC",
7981
"update-client.application-details" : "(MBED_ROM_START + MBED_BOOTLOADER_SIZE)",
8082
"update-client.storage-address" : "(MBED_CONF_STORAGE_TDB_INTERNAL_INTERNAL_BASE_ADDRESS+MBED_CONF_STORAGE_TDB_INTERNAL_INTERNAL_SIZE)",
@@ -401,7 +403,7 @@
401403
"target.bootloader_img" : "bootloader/mbed-bootloader-nucleo-h743zi2-internal-flash-no-rot-4.1.1.bin",
402404
"target.header_offset" : "0x40000",
403405
"target.app_offset" : "0x40400",
404-
"target.restrict_size" : "0xC0000",
406+
"target.restrict_size" : "0xBFC00",
405407
"bootloader-size" : "(128*1024)",
406408
"mbed-cloud-client.update-storage" : "ARM_UCP_FLASHIAP",
407409
"storage.storage_type" : "TDB_INTERNAL",
@@ -419,6 +421,7 @@
419421
"target.bootloader_img" : "bootloader/mbed-bootloader-nucleo_l4r5zi-internal_flash_no_rot-ca089bb.bin",
420422
"target.header_offset" : "0x08000",
421423
"target.app_offset" : "0x08400",
424+
"target.restrict_size" : "0xF7C00",
422425
"mbed-cloud-client.update-storage" : "ARM_UCP_FLASHIAP",
423426
"update-client.bootloader-details" : "0x08007cac",
424427
"update-client.application-details" : "(32*1024)",
@@ -467,6 +470,7 @@
467470
"target.bootloader_img" : "bootloader/mbed-bootloader-gr_peach-internal_flash-no_rot-v4.1.2.bin",
468471
"target.header_offset" : "0x10000",
469472
"target.app_offset" : "0x10400",
473+
"target.restrict_size" : "0xEFC00",
470474
"bootloader-size" : "(64*1024)",
471475
"update-client.bootloader-details" : "0x1800a660",
472476
"update-client.application-details" : "(MBED_ROM_START + MBED_BOOTLOADER_SIZE)",
@@ -486,6 +490,7 @@
486490
"target.bootloader_img" : "bootloader/mbed-bootloader-gr_lychee-internal_flash-no_rot-v4.1.2.bin",
487491
"target.header_offset" : "0x10000",
488492
"target.app_offset" : "0x10400",
493+
"target.restrict_size" : "0xEFC00",
489494
"bootloader-size" : "(64*1024)",
490495
"update-client.bootloader-details" : "0x1800a468",
491496
"update-client.application-details" : "(MBED_ROM_START + MBED_BOOTLOADER_SIZE)",
@@ -506,7 +511,7 @@
506511
"target.bootloader_img" : "bootloader/mbed-bootloader-wio_3g-internal_flash-no_rot-v4.1.2.bin",
507512
"target.header_offset" : "0x8000",
508513
"target.app_offset" : "0x8400",
509-
"target.restrict_size" : "0xF4000",
514+
"target.restrict_size" : "0xF7C00",
510515
"nsapi.default-cellular-plmn" : 0,
511516
"cellular.use-apn-lookup" : false,
512517
"cellular.debug-at" : false,
@@ -534,7 +539,7 @@
534539
"target.bootloader_img" : "bootloader/mbed-bootloader-wio_3g-internal_flash-no_rot-v4.1.2.bin",
535540
"target.header_offset" : "0x8000",
536541
"target.app_offset" : "0x8400",
537-
"target.restrict_size" : "0xF4000",
542+
"target.restrict_size" : "0xF7C00",
538543
"nsapi.default-cellular-plmn" : 0,
539544
"cellular.use-apn-lookup" : false,
540545
"cellular.debug-at" : false,
@@ -562,7 +567,7 @@
562567
"target.bootloader_img" : "bootloader/mbed-bootloader-stm32f767-internal_flash-no_rot-v4.1.2.bin",
563568
"target.header_offset" : "0x18000",
564569
"target.app_offset" : "0x18400",
565-
"target.restrict_size" : "0xE8000",
570+
"target.restrict_size" : "0xE7C00",
566571
"esp32.wifi-debug" : false,
567572
"esp32.wifi-en" : "PB_12",
568573
"esp32.wifi-io0" : "PB_13",
@@ -588,7 +593,7 @@
588593
"target.bootloader_img" : "bootloader/mbed-bootloader-stm32f767-internal_flash-no_rot-v4.1.2.bin",
589594
"target.header_offset" : "0x18000",
590595
"target.app_offset" : "0x18400",
591-
"target.restrict_size" : "0xE8000",
596+
"target.restrict_size" : "0xE7C00",
592597
"update-client.bootloader-details" : "0x8005d30",
593598
"update-client.application-details" : "(MBED_CONF_STORAGE_TDB_INTERNAL_INTERNAL_BASE_ADDRESS + MBED_CONF_STORAGE_TDB_INTERNAL_INTERNAL_SIZE)",
594599
"update-client.storage-address" : "(MBED_ROM_START + (MBED_ROM_SIZE/2))",

0 commit comments

Comments
 (0)