Initial support for IAR Embedded Workbench for Arm toolchain for twincpu feature branch
Open, Needs TriagePublic

Description

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
TTornblom added a project: Restricted Project.Wed, Sep 18, 7:51 AM
davidhuziji edited projects, added Trusted Firmware M; removed Restricted Project.Thu, Sep 19, 9:11 AM

Hi Thomas, tfm-twin-cpu is a dedicated project tag for multi-core feature development with special schedule, task plan and target, which have been determined.
Please select other tags. Sorry for any inconvenience.

Yes, I just noticed.

I had planned to integrate my working psoc6 changes yesterday, but I was two commits behind and when I updated to the latest , it would no longer run due to linkage changes.

Trying to keep up with this is like herding cats ;) You are always behind :)

Yeah, we have been such a quick pace for a while. There are still some major PSoC 6 feature coming in next 2 weeks. So I guess there will be a more stable code base in mid-OCt.