Skip to content

Commit

Permalink
Merge pull request #121 from ARMmbed/restrict_app_sizes
Browse files Browse the repository at this point in the history
Add and fix size restrictions to targets
  • Loading branch information
teetak01 authored Mar 26, 2020
2 parents 7f32a56 + 2311744 commit a8506d2
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions mbed_app.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"target.bootloader_img" : "bootloader/mbed-bootloader-k64f-internal_flash-no_rot-v4.1.0.bin",
"target.header_offset" : "0x8000",
"target.app_offset" : "0x8400",
"target.restrict_size" : "0x74000",
"target.restrict_size" : "0x77C00",
"update-client.bootloader-details" : "0x4A6C",
"update-client.application-details" : "(32*1024)",
"update-client.storage-address" : "(MBED_CONF_STORAGE_TDB_INTERNAL_INTERNAL_BASE_ADDRESS+MBED_CONF_STORAGE_TDB_INTERNAL_INTERNAL_SIZE)",
Expand All @@ -58,6 +58,7 @@
"target.bootloader_img" : "bootloader/mbed-bootloader-k66f-internal_flash-no_rot-v4.1.0.bin",
"target.header_offset" : "0x8000",
"target.app_offset" : "0x8400",
"target.restrict_size" : "0xF7C00",
"update-client.bootloader-details" : "0x4D58",
"update-client.application-details" : "(32*1024)",
"update-client.storage-address" : "(MBED_CONF_STORAGE_TDB_INTERNAL_INTERNAL_BASE_ADDRESS+MBED_CONF_STORAGE_TDB_INTERNAL_INTERNAL_SIZE)",
Expand All @@ -75,6 +76,7 @@
"target.bootloader_img" : "bootloader/mbed-bootloader-nucleo_f429zi-internal_flash-no_rot-v4.1.0.bin",
"target.header_offset" : "0x8000",
"target.app_offset" : "0x8400",
"target.restrict_size" : "0xF7C00",
"update-client.bootloader-details" : "0x080078CC",
"update-client.application-details" : "(MBED_ROM_START + MBED_BOOTLOADER_SIZE)",
"update-client.storage-address" : "(MBED_CONF_STORAGE_TDB_INTERNAL_INTERNAL_BASE_ADDRESS+MBED_CONF_STORAGE_TDB_INTERNAL_INTERNAL_SIZE)",
Expand Down Expand Up @@ -401,7 +403,7 @@
"target.bootloader_img" : "bootloader/mbed-bootloader-nucleo-h743zi2-internal-flash-no-rot-4.1.1.bin",
"target.header_offset" : "0x40000",
"target.app_offset" : "0x40400",
"target.restrict_size" : "0xC0000",
"target.restrict_size" : "0xBFC00",
"bootloader-size" : "(128*1024)",
"mbed-cloud-client.update-storage" : "ARM_UCP_FLASHIAP",
"storage.storage_type" : "TDB_INTERNAL",
Expand All @@ -419,6 +421,7 @@
"target.bootloader_img" : "bootloader/mbed-bootloader-nucleo_l4r5zi-internal_flash_no_rot-ca089bb.bin",
"target.header_offset" : "0x08000",
"target.app_offset" : "0x08400",
"target.restrict_size" : "0xF7C00",
"mbed-cloud-client.update-storage" : "ARM_UCP_FLASHIAP",
"update-client.bootloader-details" : "0x08007cac",
"update-client.application-details" : "(32*1024)",
Expand Down Expand Up @@ -467,6 +470,7 @@
"target.bootloader_img" : "bootloader/mbed-bootloader-gr_peach-internal_flash-no_rot-v4.1.2.bin",
"target.header_offset" : "0x10000",
"target.app_offset" : "0x10400",
"target.restrict_size" : "0xEFC00",
"bootloader-size" : "(64*1024)",
"update-client.bootloader-details" : "0x1800a660",
"update-client.application-details" : "(MBED_ROM_START + MBED_BOOTLOADER_SIZE)",
Expand All @@ -486,6 +490,7 @@
"target.bootloader_img" : "bootloader/mbed-bootloader-gr_lychee-internal_flash-no_rot-v4.1.2.bin",
"target.header_offset" : "0x10000",
"target.app_offset" : "0x10400",
"target.restrict_size" : "0xEFC00",
"bootloader-size" : "(64*1024)",
"update-client.bootloader-details" : "0x1800a468",
"update-client.application-details" : "(MBED_ROM_START + MBED_BOOTLOADER_SIZE)",
Expand All @@ -506,7 +511,7 @@
"target.bootloader_img" : "bootloader/mbed-bootloader-wio_3g-internal_flash-no_rot-v4.1.2.bin",
"target.header_offset" : "0x8000",
"target.app_offset" : "0x8400",
"target.restrict_size" : "0xF4000",
"target.restrict_size" : "0xF7C00",
"nsapi.default-cellular-plmn" : 0,
"cellular.use-apn-lookup" : false,
"cellular.debug-at" : false,
Expand Down Expand Up @@ -534,7 +539,7 @@
"target.bootloader_img" : "bootloader/mbed-bootloader-wio_3g-internal_flash-no_rot-v4.1.2.bin",
"target.header_offset" : "0x8000",
"target.app_offset" : "0x8400",
"target.restrict_size" : "0xF4000",
"target.restrict_size" : "0xF7C00",
"nsapi.default-cellular-plmn" : 0,
"cellular.use-apn-lookup" : false,
"cellular.debug-at" : false,
Expand Down Expand Up @@ -562,7 +567,7 @@
"target.bootloader_img" : "bootloader/mbed-bootloader-stm32f767-internal_flash-no_rot-v4.1.2.bin",
"target.header_offset" : "0x18000",
"target.app_offset" : "0x18400",
"target.restrict_size" : "0xE8000",
"target.restrict_size" : "0xE7C00",
"esp32.wifi-debug" : false,
"esp32.wifi-en" : "PB_12",
"esp32.wifi-io0" : "PB_13",
Expand All @@ -588,7 +593,7 @@
"target.bootloader_img" : "bootloader/mbed-bootloader-stm32f767-internal_flash-no_rot-v4.1.2.bin",
"target.header_offset" : "0x18000",
"target.app_offset" : "0x18400",
"target.restrict_size" : "0xE8000",
"target.restrict_size" : "0xE7C00",
"update-client.bootloader-details" : "0x8005d30",
"update-client.application-details" : "(MBED_CONF_STORAGE_TDB_INTERNAL_INTERNAL_BASE_ADDRESS + MBED_CONF_STORAGE_TDB_INTERNAL_INTERNAL_SIZE)",
"update-client.storage-address" : "(MBED_ROM_START + (MBED_ROM_SIZE/2))",
Expand Down

0 comments on commit a8506d2

Please sign in to comment.