This task adds support for the IAR Embedded Workbench for Arm toolchain for the twincpu feature branch on Cypress psoc6.
Specific issues addressed:
- Added type casts to (void *) and (char *) here and there
- Added "0" initializers in a few structs with empty "{}"
- Changed a few Image$$ references to make use of the REGION_DECLARE macro
- Added dummy elements to arrays to avoid zero length arrays.
- Added #pragma required to avoid link errors for IAR
- Added struct tfm_pool_chunk_s_t to avoid compilation errors for zero sized array
- Removed return with value from void function, the return value was not used anyway
- Added psa_call_dummy() for naked assembly function that would require stack
- Added rule to generate IAR secure link script
- Added cmake files for IAR
- Updated existing cmake files to allow IARARM
- Added startup and linker scripts
- Added cy_syslib_iar.c
- Added build instructions for IAR