The RAM is shared by both code and buffer. So the amount of buffer that you can use depends on the firmware size and how you configure the buffer for the DMA channel.
Thank you for the response. Can you answer one more question then:
When you configure the buffer size, how does the 'buffer count' value passed into the DMA configuration struct map to actual memory? If I set dma_config.count = 2, and thus allocate 2 buffers to that DMA channel, how much memory is that?
Do you have any documentation on how setting the buffer count in the DMA configuration maps to memory?
I'm going to keep bumping this until I get a response from Cypress.
Okay, I figured it out.
Buffer sizes are configured by the 'size' parameter in DMA config, and then you tell each DMA config how many buffers they get.
Now, 'thread stack size' is still a total mystery.