Question: PSRAM, is there a way of setting this up as a separate heap? #1815

Open
opened 2024-08-13 11:04:44 -05:00 by AndrewCapon · 4 comments
AndrewCapon commented 2024-08-13 11:04:44 -05:00 (Migrated from github.com)

Hi Guys,

I have a Pimoroni Pico Plus 2 here, and I have the PSRAM mapped and working

I have had a look through the sdk docs and I am not sure how to set this memory up as some form of secondary heap, is there anything built into the sdk for doing this?

Many thanks

Andy

Hi Guys, I have a Pimoroni Pico Plus 2 here, and I have the PSRAM mapped and working I have had a look through the sdk docs and I am not sure how to set this memory up as some form of secondary heap, is there anything built into the sdk for doing this? Many thanks Andy
kilograham commented 2024-08-14 14:58:20 -05:00 (Migrated from github.com)

not currently

not currently
AndrewCapon commented 2024-08-14 16:06:21 -05:00 (Migrated from github.com)

Thanks for the info.

Thanks for the info.
sfe-SparkFro commented 2024-08-19 11:50:09 -05:00 (Migrated from github.com)
We at SparkFun have a working solution here, in case that helps: https://github.com/sparkfun/sparkfun-pico?tab=readme-ov-file#replacing-the-integrated-memory-allocator-routines
AndrewCapon commented 2024-08-19 13:11:57 -05:00 (Migrated from github.com)

Thanks for the info.

I ended up knocking a c++ wrapper up: https://github.com/AndrewCapon/PicoPlusPsram

Thanks for the info. I ended up knocking a c++ wrapper up: https://github.com/AndrewCapon/PicoPlusPsram
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
gh-raspberrypi/pico-sdk#1815
No description provided.