fix #error condition and message to include interrupts and flash config

pull/13832/head
Moshe Shahar 2020-10-29 16:12:58 +02:00
parent e70ee75a6e
commit 157788e6a0
4 changed files with 8 additions and 8 deletions

View File

@ -54,8 +54,8 @@
#if !defined(MBED_APP_START)
#define MBED_APP_START 0
#elif MBED_APP_START < 0x400
#error MBED_APP_START too small and will overwrite flash config
#elif MBED_APP_START > 0 && MBED_APP_START < 0x410
#error MBED_APP_START too small and will overwrite interrupts and flash config
#endif
#if !defined(MBED_APP_SIZE)

View File

@ -59,8 +59,8 @@ __stack_size__ = MBED_CONF_TARGET_BOOT_STACK_SIZE;
#if !defined(MBED_APP_START)
#define MBED_APP_START 0
#elif MBED_APP_START < 0x400
#error MBED_APP_START too small and will overwrite flash config
#elif MBED_APP_START > 0 && MBED_APP_START < 0x410
#error MBED_APP_START too small and will overwrite interrupts and flash config
#endif
#if !defined(MBED_APP_SIZE)

View File

@ -58,8 +58,8 @@
#if !defined(MBED_APP_START)
#define MBED_APP_START 0
#elif MBED_APP_START < 0x400
#error MBED_APP_START too small and will overwrite flash config
#elif MBED_APP_START > 0 && MBED_APP_START < 0x410
#error MBED_APP_START too small and will overwrite interrupts and flash config
#endif
#if !defined(MBED_APP_SIZE)

View File

@ -55,8 +55,8 @@ __ram_vector_table__ = 1;
#if !defined(MBED_APP_START)
#define MBED_APP_START 0
#elif MBED_APP_START < 0x400
#error MBED_APP_START too small and will overwrite flash config
#elif MBED_APP_START > 0 && MBED_APP_START < 0x410
#error MBED_APP_START too small and will overwrite interrupts and flash config
#endif
#if !defined(MBED_APP_SIZE)