The stack and initial code will also load to the RAM during the startup. You may refer to the following blog for the RAM memory map: BCM20732 Memory Map Architecture
It is for the BCM20732, CYW20719 shares the similar structure.
We don't have a specific value for the avaliable RAM size for the application. You can use the API UINT32 mpaf_cfa_mm_MemFreeBytes(void); to check the free bytes of the memory.
Re: CYW20719: Large build size said "Nearly 370k can be used for application code." Is this correct?
And “If in case your code size is more and you want to run the application code from flash, you can use XIP (Refer WICED-XIP-Application-Support-Guide.pdf from doc folder of WICED Studio )”.
Unfortunately, I didn't find this pdf. Would you please give me a link?
Furthermore, I didn't find "API UINT32 mpaf_cfa_mm_MemFreeBytes(void)" in "Cypress WICED Studio API Reference Guide v6.2.0.pdf".
Thank you so much for you patience!
"Execute-in-Place (XIP) Application Support Guide.pdf" says "By placing the application and the profile library code in flash, the application can save SRAM space."
"__attribute__((section(“.text”)))" can really place application code in flash.
And how to place the profile library code in flash?