soc: arm: cortex_m: Improve error messages

Use a different message for flash and sram.

Signed-off-by: Armand Ciejak <armand@riedonetworks.com>
This commit is contained in:
Armand Ciejak 2020-05-26 11:52:07 +02:00 committed by Carles Cufí
commit 8781d612d0

View file

@ -32,7 +32,7 @@
#elif CONFIG_FLASH_SIZE <= 65536
#define REGION_FLASH_SIZE REGION_64M
#else
#error "Unsupported configuration"
#error "Unsupported flash size configuration"
#endif
/* SRAM Region Definitions */
@ -57,7 +57,7 @@
#elif CONFIG_SRAM_SIZE == 32768
#define REGION_SRAM_SIZE REGION_32M
#else
#error "Unsupported configuration"
#error "Unsupported sram size configuration"
#endif
#endif /* !ARMV8_M_BASELINE && !ARMV8_M_MAINLINE */