mirror of https://github.com/ARMmbed/mbed-os.git
Update parition sizes in M2351 - based on #8607
RAM/ROM sizes in tools were updated to report entire device size, and in M2351 they were used earlier to report secure/non-secure partition size. M2351 files are updated to take full RAM/ROM device size and derive secure and non-secure partition size based on that.pull/8719/head
parent
60b5547b65
commit
1d8c00eccb
|
@ -10,40 +10,53 @@
|
|||
* Secure: 32KiB
|
||||
* Non-secure: 64KiB
|
||||
*/
|
||||
|
||||
#ifndef MBED_ROM_SIZE_S
|
||||
#define MBED_ROM_SIZE_S (0x40000)
|
||||
#endif
|
||||
|
||||
#ifndef MBED_RAM_SIZE_S
|
||||
#define MBED_RAM_SIZE_S (0x8000)
|
||||
#endif
|
||||
|
||||
#ifndef NU_TZ_NSC_SIZE
|
||||
#define NU_TZ_NSC_SIZE (0x1000)
|
||||
#endif
|
||||
|
||||
#if defined(DOMAIN_NS) && DOMAIN_NS
|
||||
|
||||
#ifndef MBED_APP_START
|
||||
#define MBED_APP_START 0x10040000
|
||||
#define MBED_APP_START (0x10000000 + MBED_ROM_START + MBED_ROM_SIZE_S)
|
||||
#endif
|
||||
|
||||
#ifndef MBED_APP_SIZE
|
||||
#define MBED_APP_SIZE 0x40000
|
||||
#define MBED_APP_SIZE (MBED_ROM_SIZE - MBED_ROM_SIZE_S)
|
||||
#endif
|
||||
|
||||
#ifndef MBED_RAM_START
|
||||
#define MBED_RAM_START 0x30008000
|
||||
#ifndef MBED_RAM_APP_START
|
||||
#define MBED_RAM_APP_START (0x10000000 + MBED_RAM_START + MBED_RAM_SIZE_S)
|
||||
#endif
|
||||
|
||||
#ifndef MBED_RAM_SIZE
|
||||
#define MBED_RAM_SIZE 0x10000
|
||||
#ifndef MBED_RAM_APP_SIZE
|
||||
#define MBED_RAM_APP_SIZE (MBED_RAM_SIZE - MBED_RAM_SIZE_S)
|
||||
#endif
|
||||
|
||||
#else
|
||||
|
||||
#ifndef MBED_APP_START
|
||||
#define MBED_APP_START 0x0
|
||||
#define MBED_APP_START MBED_ROM_START
|
||||
#endif
|
||||
|
||||
#ifndef MBED_APP_SIZE
|
||||
#define MBED_APP_SIZE 0x40000
|
||||
#define MBED_APP_SIZE MBED_ROM_SIZE_S
|
||||
#endif
|
||||
|
||||
#ifndef MBED_RAM_START
|
||||
#define MBED_RAM_START 0x20000000
|
||||
#ifndef MBED_RAM_APP_START
|
||||
#define MBED_RAM_APP_START MBED_RAM_START
|
||||
#endif
|
||||
|
||||
#ifndef MBED_RAM_SIZE
|
||||
#define MBED_RAM_SIZE 0x8000
|
||||
#ifndef MBED_RAM_APP_SIZE
|
||||
#define MBED_RAM_APP_SIZE MBED_RAM_SIZE_S
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
@ -55,12 +68,7 @@
|
|||
* 3. Greentea NVSTORE uses last 2 sectors or 4KiB x 2 for its test. Avoid this range.
|
||||
* 4. NSC region size defaults to 4KiB if not defined.
|
||||
*/
|
||||
#ifndef NU_TZ_NSC_START
|
||||
#define NU_TZ_NSC_START (MBED_APP_START + MBED_APP_SIZE - 0x2000 - NU_TZ_NSC_SIZE)
|
||||
#endif
|
||||
#ifndef NU_TZ_NSC_SIZE
|
||||
#define NU_TZ_NSC_SIZE 0x1000
|
||||
#endif
|
||||
#define NU_TZ_NSC_START (MBED_APP_START + MBED_APP_SIZE - 0x2000 - NU_TZ_NSC_SIZE)
|
||||
|
||||
/* Initial/ISR stack size */
|
||||
#if (! defined(NU_INITIAL_STACK_SIZE))
|
||||
|
@ -83,7 +91,7 @@ LR_IROM1 MBED_APP_START
|
|||
.ANY (+RO)
|
||||
}
|
||||
|
||||
ARM_LIB_STACK MBED_RAM_START EMPTY NU_INITIAL_STACK_SIZE
|
||||
ARM_LIB_STACK MBED_RAM_APP_START EMPTY NU_INITIAL_STACK_SIZE
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -101,13 +109,13 @@ LR_IROM1 MBED_APP_START
|
|||
.ANY (+RW +ZI)
|
||||
}
|
||||
|
||||
ARM_LIB_HEAP AlignExpr(+0, 16) EMPTY (MBED_RAM_START + MBED_RAM_SIZE - AlignExpr(ImageLimit(RW_IRAM1), 16))
|
||||
ARM_LIB_HEAP AlignExpr(+0, 16) EMPTY (MBED_RAM_APP_START + MBED_RAM_APP_SIZE - AlignExpr(ImageLimit(RW_IRAM1), 16))
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
ScatterAssert(LoadLimit(LR_IROM1) <= (MBED_APP_START + MBED_APP_SIZE))
|
||||
ScatterAssert(ImageLimit(ARM_LIB_HEAP) <= MBED_RAM_START + MBED_RAM_SIZE)
|
||||
ScatterAssert(ImageLimit(ARM_LIB_HEAP) <= MBED_RAM_APP_START + MBED_RAM_APP_SIZE)
|
||||
|
||||
#else
|
||||
|
||||
|
@ -139,7 +147,7 @@ LR_IROM1 MBED_APP_START
|
|||
.ANY (+RW +ZI)
|
||||
}
|
||||
|
||||
ARM_LIB_HEAP AlignExpr(+0, 16) EMPTY (MBED_RAM_START + MBED_RAM_SIZE - AlignExpr(ImageLimit(RW_IRAM1), 16))
|
||||
ARM_LIB_HEAP AlignExpr(+0, 16) EMPTY (MBED_RAM_APP_START + MBED_RAM_APP_SIZE - AlignExpr(ImageLimit(RW_IRAM1), 16))
|
||||
{
|
||||
}
|
||||
}
|
||||
|
@ -160,6 +168,6 @@ ScatterAssert(LoadLimit(LR_IROM1) <= NU_TZ_NSC_START)
|
|||
ScatterAssert(LoadLimit(LR_IROM_NSC) <= (NU_TZ_NSC_START + NU_TZ_NSC_SIZE))
|
||||
/* By IDAU, 0~0x4000 is secure. NSC can only locate in 0x4000~0x10000000 */
|
||||
ScatterAssert(LoadBase(LR_IROM_NSC) >= 0x4000)
|
||||
ScatterAssert(ImageLimit(ARM_LIB_HEAP) <= (MBED_RAM_START + MBED_RAM_SIZE))
|
||||
ScatterAssert(ImageLimit(ARM_LIB_HEAP) <= (MBED_RAM_APP_START + MBED_RAM_APP_SIZE))
|
||||
|
||||
#endif
|
||||
|
|
|
@ -10,40 +10,53 @@
|
|||
* Secure: 32KiB
|
||||
* Non-secure: 64KiB
|
||||
*/
|
||||
|
||||
#ifndef MBED_ROM_SIZE_S
|
||||
#define MBED_ROM_SIZE_S (0x40000)
|
||||
#endif
|
||||
|
||||
#ifndef MBED_RAM_SIZE_S
|
||||
#define MBED_RAM_SIZE_S (0x8000)
|
||||
#endif
|
||||
|
||||
#ifndef NU_TZ_NSC_SIZE
|
||||
#define NU_TZ_NSC_SIZE (0x1000)
|
||||
#endif
|
||||
|
||||
#if defined(DOMAIN_NS) && DOMAIN_NS
|
||||
|
||||
#ifndef MBED_APP_START
|
||||
#define MBED_APP_START 0x10040000
|
||||
#define MBED_APP_START (0x10000000 + MBED_ROM_START + MBED_ROM_SIZE_S)
|
||||
#endif
|
||||
|
||||
#ifndef MBED_APP_SIZE
|
||||
#define MBED_APP_SIZE 0x40000
|
||||
#define MBED_APP_SIZE (MBED_ROM_SIZE - MBED_ROM_SIZE_S)
|
||||
#endif
|
||||
|
||||
#ifndef MBED_RAM_START
|
||||
#define MBED_RAM_START 0x30008000
|
||||
#ifndef MBED_RAM_APP_START
|
||||
#define MBED_RAM_APP_START (0x10000000 + MBED_RAM_START + MBED_RAM_SIZE_S)
|
||||
#endif
|
||||
|
||||
#ifndef MBED_RAM_SIZE
|
||||
#define MBED_RAM_SIZE 0x10000
|
||||
#ifndef MBED_RAM_APP_SIZE
|
||||
#define MBED_RAM_APP_SIZE (MBED_RAM_SIZE - MBED_RAM_SIZE_S)
|
||||
#endif
|
||||
|
||||
#else
|
||||
|
||||
#ifndef MBED_APP_START
|
||||
#define MBED_APP_START 0x0
|
||||
#define MBED_APP_START MBED_ROM_START
|
||||
#endif
|
||||
|
||||
#ifndef MBED_APP_SIZE
|
||||
#define MBED_APP_SIZE 0x40000
|
||||
#define MBED_APP_SIZE MBED_ROM_SIZE_S
|
||||
#endif
|
||||
|
||||
#ifndef MBED_RAM_START
|
||||
#define MBED_RAM_START 0x20000000
|
||||
#ifndef MBED_RAM_APP_START
|
||||
#define MBED_RAM_APP_START MBED_RAM_START
|
||||
#endif
|
||||
|
||||
#ifndef MBED_RAM_SIZE
|
||||
#define MBED_RAM_SIZE 0x8000
|
||||
#ifndef MBED_RAM_APP_SIZE
|
||||
#define MBED_RAM_APP_SIZE MBED_RAM_SIZE_S
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
@ -55,12 +68,7 @@
|
|||
* 3. Greentea NVSTORE uses last 2 sectors or 4KiB x 2 for its test. Avoid this range.
|
||||
* 4. NSC region size defaults to 4KiB if not defined.
|
||||
*/
|
||||
#ifndef NU_TZ_NSC_START
|
||||
#define NU_TZ_NSC_START (MBED_APP_START + MBED_APP_SIZE - 0x2000 - NU_TZ_NSC_SIZE)
|
||||
#endif
|
||||
#ifndef NU_TZ_NSC_SIZE
|
||||
#define NU_TZ_NSC_SIZE 0x1000
|
||||
#endif
|
||||
#define NU_TZ_NSC_START (MBED_APP_START + MBED_APP_SIZE - 0x2000 - NU_TZ_NSC_SIZE)
|
||||
|
||||
/* Initial/ISR stack size */
|
||||
#if (! defined(NU_INITIAL_STACK_SIZE))
|
||||
|
@ -83,7 +91,7 @@ LR_IROM1 MBED_APP_START
|
|||
.ANY (+RO)
|
||||
}
|
||||
|
||||
ARM_LIB_STACK MBED_RAM_START EMPTY NU_INITIAL_STACK_SIZE
|
||||
ARM_LIB_STACK MBED_RAM_APP_START EMPTY NU_INITIAL_STACK_SIZE
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -101,13 +109,13 @@ LR_IROM1 MBED_APP_START
|
|||
.ANY (+RW +ZI)
|
||||
}
|
||||
|
||||
ARM_LIB_HEAP AlignExpr(+0, 16) EMPTY (MBED_RAM_START + MBED_RAM_SIZE - AlignExpr(ImageLimit(RW_IRAM1), 16))
|
||||
ARM_LIB_HEAP AlignExpr(+0, 16) EMPTY (MBED_RAM_APP_START + MBED_RAM_APP_SIZE - AlignExpr(ImageLimit(RW_IRAM1), 16))
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
ScatterAssert(LoadLimit(LR_IROM1) <= (MBED_APP_START + MBED_APP_SIZE))
|
||||
ScatterAssert(ImageLimit(ARM_LIB_HEAP) <= MBED_RAM_START + MBED_RAM_SIZE)
|
||||
ScatterAssert(ImageLimit(ARM_LIB_HEAP) <= MBED_RAM_APP_START + MBED_RAM_APP_SIZE)
|
||||
|
||||
#else
|
||||
|
||||
|
@ -139,7 +147,7 @@ LR_IROM1 MBED_APP_START
|
|||
.ANY (+RW +ZI)
|
||||
}
|
||||
|
||||
ARM_LIB_HEAP AlignExpr(+0, 16) EMPTY (MBED_RAM_START + MBED_RAM_SIZE - AlignExpr(ImageLimit(RW_IRAM1), 16))
|
||||
ARM_LIB_HEAP AlignExpr(+0, 16) EMPTY (MBED_RAM_APP_START + MBED_RAM_APP_SIZE - AlignExpr(ImageLimit(RW_IRAM1), 16))
|
||||
{
|
||||
}
|
||||
}
|
||||
|
@ -160,6 +168,6 @@ ScatterAssert(LoadLimit(LR_IROM1) <= NU_TZ_NSC_START)
|
|||
ScatterAssert(LoadLimit(LR_IROM_NSC) <= (NU_TZ_NSC_START + NU_TZ_NSC_SIZE))
|
||||
/* By IDAU, 0~0x4000 is secure. NSC can only locate in 0x4000~0x10000000 */
|
||||
ScatterAssert(LoadBase(LR_IROM_NSC) >= 0x4000)
|
||||
ScatterAssert(ImageLimit(ARM_LIB_HEAP) <= (MBED_RAM_START + MBED_RAM_SIZE))
|
||||
ScatterAssert(ImageLimit(ARM_LIB_HEAP) <= (MBED_RAM_APP_START + MBED_RAM_APP_SIZE))
|
||||
|
||||
#endif
|
||||
|
|
|
@ -12,40 +12,53 @@
|
|||
* Secure: 32KiB
|
||||
* Non-secure: 64KiB
|
||||
*/
|
||||
|
||||
#ifndef MBED_ROM_SIZE_S
|
||||
#define MBED_ROM_SIZE_S (0x40000)
|
||||
#endif
|
||||
|
||||
#ifndef MBED_RAM_SIZE_S
|
||||
#define MBED_RAM_SIZE_S (0x8000)
|
||||
#endif
|
||||
|
||||
#ifndef NU_TZ_NSC_SIZE
|
||||
#define NU_TZ_NSC_SIZE (0x1000)
|
||||
#endif
|
||||
|
||||
#if defined(DOMAIN_NS) && DOMAIN_NS
|
||||
|
||||
#ifndef MBED_APP_START
|
||||
#define MBED_APP_START 0x10040000
|
||||
#define MBED_APP_START (0x10000000 + MBED_ROM_START + MBED_ROM_SIZE_S)
|
||||
#endif
|
||||
|
||||
#ifndef MBED_APP_SIZE
|
||||
#define MBED_APP_SIZE 0x40000
|
||||
#define MBED_APP_SIZE (MBED_ROM_SIZE - MBED_ROM_SIZE_S)
|
||||
#endif
|
||||
|
||||
#ifndef MBED_RAM_START
|
||||
#define MBED_RAM_START 0x30008000
|
||||
#ifndef MBED_RAM_APP_START
|
||||
#define MBED_RAM_APP_START (0x10000000 + MBED_RAM_START + MBED_RAM_SIZE_S)
|
||||
#endif
|
||||
|
||||
#ifndef MBED_RAM_SIZE
|
||||
#define MBED_RAM_SIZE 0x10000
|
||||
#ifndef MBED_RAM_APP_SIZE
|
||||
#define MBED_RAM_APP_SIZE (MBED_RAM_SIZE - MBED_RAM_SIZE_S)
|
||||
#endif
|
||||
|
||||
#else
|
||||
|
||||
#ifndef MBED_APP_START
|
||||
#define MBED_APP_START 0x0
|
||||
#define MBED_APP_START MBED_ROM_START
|
||||
#endif
|
||||
|
||||
#ifndef MBED_APP_SIZE
|
||||
#define MBED_APP_SIZE 0x40000
|
||||
#define MBED_APP_SIZE MBED_ROM_SIZE_S
|
||||
#endif
|
||||
|
||||
#ifndef MBED_RAM_START
|
||||
#define MBED_RAM_START 0x20000000
|
||||
#ifndef MBED_RAM_APP_START
|
||||
#define MBED_RAM_APP_START MBED_RAM_START
|
||||
#endif
|
||||
|
||||
#ifndef MBED_RAM_SIZE
|
||||
#define MBED_RAM_SIZE 0x8000
|
||||
#ifndef MBED_RAM_APP_SIZE
|
||||
#define MBED_RAM_APP_SIZE MBED_RAM_SIZE_S
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
@ -77,7 +90,7 @@ MEMORY
|
|||
{
|
||||
VECTORS (rx) : ORIGIN = MBED_APP_START, LENGTH = 0x00000400
|
||||
FLASH (rx) : ORIGIN = MBED_APP_START + 0x400, LENGTH = MBED_APP_SIZE - 0x400
|
||||
RAM_INTERN (rwx) : ORIGIN = MBED_RAM_START, LENGTH = MBED_RAM_SIZE
|
||||
RAM_INTERN (rwx) : ORIGIN = MBED_RAM_APP_START, LENGTH = MBED_RAM_APP_SIZE
|
||||
}
|
||||
|
||||
#else
|
||||
|
@ -87,7 +100,7 @@ MEMORY
|
|||
VECTORS (rx) : ORIGIN = MBED_APP_START, LENGTH = 0x00000400
|
||||
FLASH (rx) : ORIGIN = MBED_APP_START + 0x400, LENGTH = NU_TZ_NSC_START - MBED_APP_START - 0x400
|
||||
NSC_FLASH (rx) : ORIGIN = NU_TZ_NSC_START, LENGTH = NU_TZ_NSC_SIZE
|
||||
RAM_INTERN (rwx) : ORIGIN = MBED_RAM_START, LENGTH = MBED_RAM_SIZE
|
||||
RAM_INTERN (rwx) : ORIGIN = MBED_RAM_APP_START, LENGTH = MBED_RAM_APP_SIZE
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -2,6 +2,19 @@
|
|||
/*-Editor annotation file-*/
|
||||
/* IcfEditorFile="$TOOLKIT_DIR$\config\ide\IcfEditor\cortex_v1_0.xml" */
|
||||
|
||||
|
||||
if (! isdefinedsymbol(MBED_RAM_SIZE_S)) {
|
||||
define symbol MBED_RAM_SIZE_S = 0x8000;
|
||||
}
|
||||
|
||||
if (! isdefinedsymbol(MBED_ROM_SIZE_S)) {
|
||||
define symbol MBED_ROM_SIZE_S = 0x40000;
|
||||
}
|
||||
|
||||
if (! isdefinedsymbol(NU_TZ_NSC_SIZE)) {
|
||||
define symbol NU_TZ_NSC_SIZE = 0x1000;
|
||||
}
|
||||
|
||||
if (isdefinedsymbol(DOMAIN_NS)) {
|
||||
|
||||
if (! isdefinedsymbol(MBED_APP_START)) {
|
||||
|
@ -18,7 +31,7 @@ if (isdefinedsymbol(DOMAIN_NS)) {
|
|||
/*-Memory Regions-*/
|
||||
define symbol __ICFEDIT_region_ROM_start__ = MBED_APP_START;
|
||||
define symbol __ICFEDIT_region_ROM_end__ = MBED_APP_START + MBED_APP_SIZE - 1;
|
||||
define symbol __ICFEDIT_region_IRAM_start__ = MBED_RAM_START;
|
||||
define symbol __ICFEDIT_region_IRAM_start__ = MBED_RAM_START + MBED_RAM_SIZE_S;
|
||||
define symbol __ICFEDIT_region_IRAM_end__ = MBED_RAM_START + MBED_RAM_SIZE - 1;
|
||||
|
||||
/*-Sizes-*/
|
||||
|
@ -46,9 +59,6 @@ if (isdefinedsymbol(DOMAIN_NS)) {
|
|||
define symbol NU_TZ_NSC_START = MBED_APP_START + MBED_APP_SIZE - 0x2000 - NU_TZ_NSC_SIZE;
|
||||
}
|
||||
define exported symbol __NU_TZ_NSC_start__ = NU_TZ_NSC_START;
|
||||
if (! isdefinedsymbol(NU_TZ_NSC_SIZE)) {
|
||||
define symbol NU_TZ_NSC_SIZE = 0x1000;
|
||||
}
|
||||
define exported symbol __NU_TZ_NSC_size__ = NU_TZ_NSC_SIZE;
|
||||
|
||||
/*-Specials-*/
|
||||
|
@ -59,7 +69,7 @@ if (isdefinedsymbol(DOMAIN_NS)) {
|
|||
define symbol __ICFEDIT_region_NSCROM_start__ = NU_TZ_NSC_START;
|
||||
define symbol __ICFEDIT_region_NSCROM_end__ = NU_TZ_NSC_START + NU_TZ_NSC_SIZE - 1;
|
||||
define symbol __ICFEDIT_region_IRAM_start__ = MBED_RAM_START;
|
||||
define symbol __ICFEDIT_region_IRAM_end__ = MBED_RAM_START + MBED_RAM_SIZE - 1;
|
||||
define symbol __ICFEDIT_region_IRAM_end__ = MBED_RAM_START + MBED_RAM_SIZE_S - 1;
|
||||
|
||||
/*-Sizes-*/
|
||||
define symbol __ICFEDIT_size_cstack__ = 0x800;
|
||||
|
|
|
@ -11,18 +11,17 @@
|
|||
#ifndef PARTITION_M2351
|
||||
#define PARTITION_M2351
|
||||
|
||||
#ifndef MBED_ROM_SIZE
|
||||
#define NU_TZ_SECURE_FLASH_SIZE 0x40000
|
||||
#else
|
||||
#define NU_TZ_SECURE_FLASH_SIZE MBED_ROM_SIZE
|
||||
#ifndef MBED_ROM_SIZE_S
|
||||
#define MBED_ROM_SIZE_S (0x40000)
|
||||
#endif
|
||||
|
||||
#ifndef APPLICATION_RAM_SIZE
|
||||
#define NU_TZ_SECURE_SRAM_SIZE 0x8000
|
||||
#else
|
||||
#define NU_TZ_SECURE_SRAM_SIZE APPLICATION_RAM_SIZE
|
||||
#ifndef MBED_RAM_SIZE_S
|
||||
#define MBED_RAM_SIZE_S (0x8000)
|
||||
#endif
|
||||
|
||||
#define NU_TZ_SECURE_FLASH_SIZE MBED_ROM_SIZE_S
|
||||
#define NU_TZ_SECURE_SRAM_SIZE MBED_RAM_SIZE_S
|
||||
|
||||
#if defined(__CC_ARM) || (defined(__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050))
|
||||
|
||||
extern int Load$$LR$$LR_IROM_NSC$$Base;
|
||||
|
|
|
@ -25,16 +25,8 @@
|
|||
|
||||
#if defined (__ARM_FEATURE_CMSE) && (__ARM_FEATURE_CMSE == 3U)
|
||||
|
||||
#ifndef MBED_ROM_START
|
||||
#define MBED_ROM_START 0x0
|
||||
#endif
|
||||
|
||||
#ifndef MBED_ROM_SIZE
|
||||
#define MBED_ROM_SIZE 0x40000
|
||||
#endif
|
||||
|
||||
#define NU_SECURE_FLASH_START MBED_ROM_START
|
||||
#define NU_SECURE_FLASH_SIZE MBED_ROM_SIZE
|
||||
#define NU_SECURE_FLASH_START (MBED_ROM_START)
|
||||
#define NU_SECURE_FLASH_SIZE (MBED_ROM_SIZE / 2)
|
||||
|
||||
// This is a flash algo binary blob. It is PIC (position independent code) that should be stored in RAM
|
||||
// NOTE: On ARMv7-M/ARMv8-M, instruction fetches are always little-endian.
|
||||
|
@ -121,7 +113,7 @@ static const flash_target_config_t flash_target_config_ns = {
|
|||
// Here page_size is program unit, which is different
|
||||
// than FMC definition.
|
||||
.flash_start = NS_OFFSET + NU_SECURE_FLASH_SIZE,
|
||||
.flash_size = 0x80000 - NU_SECURE_FLASH_SIZE,
|
||||
.flash_size = MBED_ROM_SIZE - NU_SECURE_FLASH_SIZE,
|
||||
.sectors = sectors_info_ns,
|
||||
.sector_info_count = sizeof(sectors_info_ns) / sizeof(sector_info_t)
|
||||
};
|
||||
|
|
|
@ -7205,10 +7205,6 @@
|
|||
"value": "GPIO_DBCTL_DBCLKSEL_16"
|
||||
}
|
||||
},
|
||||
"mbed_rom_start": "0x10040000",
|
||||
"mbed_rom_size": "0x40000",
|
||||
"mbed_ram_start": "0x30008000",
|
||||
"mbed_ram_size": "0x10000",
|
||||
"inherits": ["Target"],
|
||||
"device_has": [
|
||||
"USTICKER",
|
||||
|
|
Loading…
Reference in New Issue