Platform: Add gcc support
The current limitations are:
- Only level TFM_LVL == 1 is supported (tested with regression test)
- Only AN521 is supported
- mbedcrypto.a is linked directly, not as part of secure_storage.a
- wchar-size-warning is suppressed
Detailed changes are:
- Work around false error on __attribute_((noreturn))
- Add cmsis_gcc.h
- Add linker scripts and startup assembly files for AN521
- Format region_defs.h so that the expressions are understood by ld
- Work around missing cmse_nsfptr_create
- Use cmsis function instead of __arm_rsr
Change-Id: I2e2418023dc873f85dbfe0c6b825d23b018e3fcb
Signed-off-by: Mate Toth-Pal <mate.toth-pal@arm.com>
12 files changed