Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
boochow opened this issue Apr 7, 2024 · 0 comments
Open

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

boochow opened this issue Apr 7, 2024 · 0 comments

Comments

@boochow
Copy link
Contributor

boochow commented Apr 7, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant