mirror of https://github.com/ARMmbed/mbed-os.git
fix #error condition and message to include interrupts and flash config
parent
e70ee75a6e
commit
157788e6a0
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue