Merge pull request #10334 from NXPmicro/MXRT1050_FixTestFailure

MXRT1050_EVK: Fixes test failure seen with ARM & IAR toolchain
pull/10416/head
Martin Kojtal 2019-04-16 08:45:46 +01:00 committed by GitHub
commit 93dc5514f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 10 deletions

View File

@ -56,9 +56,6 @@
#define __ram_vector_table__ 1
#define __stack_size__ 0x8000
#define __heap_size__ 0x10000
#if (defined(__ram_vector_table__))
#define __ram_vector_table_size__ 0x00000400
#else

View File

@ -55,7 +55,12 @@
define symbol __ram_vector_table__ = 1;
define symbol __stack_size__=0x8000;
/* Sizes */
if (!isdefinedsymbol(MBED_BOOT_STACK_SIZE)) {
define symbol MBED_BOOT_STACK_SIZE = 0x400;
}
define symbol __stack_size__=MBED_BOOT_STACK_SIZE;
define symbol __heap_size__=0x10000;
define symbol __ram_vector_table_size__ = isdefinedsymbol(__ram_vector_table__) ? 0x00000400 : 0;
@ -90,15 +95,10 @@ define symbol m_boot_hdr_ivt_start = 0x60001000;
define symbol m_boot_hdr_boot_data_start = 0x60001020;
define symbol m_boot_hdr_dcd_data_start = 0x60001030;
/* Sizes */
if (!isdefinedsymbol(MBED_BOOT_STACK_SIZE)) {
define symbol MBED_BOOT_STACK_SIZE = 0x400;
}
if (isdefinedsymbol(__stack_size__)) {
define symbol __size_cstack__ = __stack_size__;
} else {
define symbol __size_cstack__ = MBED_BOOT_STACK_SIZE;
define symbol __size_cstack__ = 0x0400;
}
if (isdefinedsymbol(__heap_size__)) {