I have a complex C++ Daisy patch that I’m trying to port to a Lich with OWL3, but I’m having troubles to make it fit.
Currently this is the memory usage as reported while compiling the Daisy patch:
FLASH: 122888 B 128 KB 93.76% DTCMRAM: 0 GB 128 KB 0.00% SRAM: 31220 B 512 KB 5.95% RAM_D2: 16704 B 288 KB 5.66% RAM_D3: 0 GB 64 KB 0.00% ITCMRAM: 0 GB 64 KB 0.00% SDRAM: 12317 KB 64 MB 18.79% QSPIFLASH: 0 GB 8 MB 0.00%
I think that the bit that is giving me trouble (memory overflow) is that SDRAM usage taken by various audio buffers. I’m not quite sure, but I think that that amount should fit in the OWL3’s SDRAM.
how much SDRAM has the OWL3 exactly?
should I define my variables in a specific way? This is the definition in the Daisy code:
float DSY_SDRAM_BSS buffer1L; float DSY_SDRAM_BSS buffer1R; float DSY_SDRAM_BSS buffer2L; float DSY_SDRAM_BSS buffer2R; float DSY_SDRAM_BSS buffer3; float DSY_SDRAM_BSS buffer4L; float DSY_SDRAM_BSS buffer4R;
are there any general gotchas or things to be aware of when doing a port from Daisy to OWL3?