Hi guys, 

I am trying to put tf-m running in the PSoC64 board. However, I have a board that is slightly different from the one used by default in the tf-m. (I have  CYB06447BZI-D54 and the default tf-m is prepared to CYS0644xxZI-S2D44). For what I saw, the main difference among them is in memory,  CYB06447BZI-D54 has 1MB of flash and 256kB of RAM and  CYS0644xxZI-S2D44 has 2MB of Flash and 1MB of RAM.

So now I'm trying to make a small port from tf-m to CYB06447BZI-D54. 

I changed the flash size in the flash_layout.h file to meet the CYB06447BZI-D54 flash size, however, I am having some difficulties in changing the RAM size. I am trying to change the RAM partitions size in region_defs.h and the smpu definitions of that partitions in smpu_config.h, but without much success. 

My question are:
  • Is possible to do the porting? Or does CYB06447BZI-D54 not have enough memory to run tf-m?
  • If possible, what is I missing? Are more changes needed than I'm making?
Best regards,
Cristiano Rodrigues