logue-sdk icon indicating copy to clipboard operation
logue-sdk copied to clipboard

NTS-1 mkII: sdram memory allocation must be up to 16 blocks?

Open boochow opened this issue 10 months ago • 0 comments

I ran this code and found that after the 17th call, sdram_alloc() always fails.

    for(int i = 0; i < 32; i++) {
        if (bufs[i] = (float *)desc->hooks.sdram_alloc(1024)) {
            count++;
        }
    }

It makes sense that the number of memory blocks in an embedded system is limited. So, I don't want it fixed, but the document should clearly describe the limitation.

boochow avatar Apr 07 '24 06:04 boochow