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

Won't compile sample larger then 15 seconds at 11 mhz #8

Open
kateric opened this issue Jan 2, 2022 · 1 comment
Open

Won't compile sample larger then 15 seconds at 11 mhz #8

kateric opened this issue Jan 2, 2022 · 1 comment

Comments

@kateric
Copy link

kateric commented Jan 2, 2022

I'm trying to compile with a sample.h file that is larger then 15 seconds at 11 mhz.
I keep getting this message when trying to compile the file for my pi pico.
I don't know cmake, or make very well. I have compile c/c++ but it's been a long time.

I get a message stating that there is not enough space in RAM but don't know where I would go to increase the reserved ram so I can just get the program compiled. I tried to increase the RAM section in the pico-pwm-audio.map file but it doesn't seem to make a difference.

Maybe I need to run cmake again after I adjust the map file? I'm not sure and just home I can get more then 15 seconds of audio to play. If this is the max amount of time, that is all I need to know.

Let me know if you need more information regarding my issue.

Thank you in advance for any assistance.

@githule
Copy link

githule commented Sep 11, 2022

Hello @kateric ,
It's an old post but I am working on something like that for some piano with recorded samples, not successfully.
AFAIK I have to store data to flash because I havn't got enough RAM to store my samples.
I use an array buffer and timers on second core to update it at regular interval.
It's still crashing little bit but i think in a good way.

Please let me know if some of you have found a solution.

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

2 participants