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

Free up some RAM, and go faster #12

Merged
merged 2 commits into from
Nov 29, 2024

Conversation

MichaelBell
Copy link
Collaborator

Two unrelated configuration tweaks:

  • Move the LWIP buffers to PSRAM. This seems to be working reliably for me, but definitely warrants some more testing. Providing it's stable, it gets us back to a sane amount of available internal RAM, so we shouldn't keep hitting the limit.
  • Increase the default clock rate to 200MHz, which will give >60Hz refresh in both full and half res modes while not being too far above spec.

@MichaelBell
Copy link
Collaborator Author

As noted elsewhere, it's possible the 200MHz default clock change caused me some problems flashing, but now it seems to be working again so I'm not sure what the cause was.

@Gadgetoid Gadgetoid merged commit e3322b7 into pimoroni:feature/full-resolution Nov 29, 2024
1 check passed
@Gadgetoid
Copy link
Member

Going to YOLO this one.

I still don't know how likely our PSRAM hacks are to get merged upstream but it wouldn't be the first time I've tended to a downstream hack to keep our boards going.

Maybe this is another opportunity to pitch for optional board-specific linker scripts.

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

Successfully merging this pull request may close these issues.

2 participants