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

Add support for Pico 2 (RP2350) #30

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

philipstarkey
Copy link
Member

@philipstarkey philipstarkey commented Aug 10, 2024

Warning

This has not been tested. It needs to be tested on both a RP2040 board (to verify the SDK upgrade has not broken anything) and a RP2350 board (to verify that the increased RAM is available and functioning)

When built for the Pico 2, we now support:

  • 60,000 instructions
  • Clock speeds up to 150 MHz
  • Running on PIO2

We've also:

  • Added new board command that returns the board version (either pico1 or pico2)
  • Dynamically computed array sizes
  • bumped the version to v1.2.0
  • Refactored the cmake file to be a lot cleaner and support building for more than one board. The maximum number of instructions is now defined here
  • Bumped the pico SDK version to v2.0.0
  • Fixed a bug with Ubuntu 24.04 that broke the apt-mirror override in the docker container
  • Updated the docker compose container for simultaneous build of firmware for multiple boards (in a way that doesn't cause long docker build times). This is also following the best practices outlined by the pico-sdk that encourages you to separate build dirs for different boards to avoid conflicts with cached cmake configuration.
  • Removed the pico_sdk_import.cmake from the repo so it can be kept up-to-date with the version in the pico-sdk.

Firmware for testing should be located in the build artefact: https://github.com/labscript-suite/PrawnBlaster/actions/runs/10338108870/artifacts/1798890852

… time from the SDK so it is kept up to date
When built for the Pico 2, we now support:
- 60,000 instructions
- Clock speeds up to 150 MHz
- Running on PIO2

We've also:
- Added new `board` command that returns the board version (either `pico1` or `pico2`)
- Dynamically computed array sizes
- bumped the version to v1.2.0
- Refactored the cmake file to be a lot cleaner and support building for more than one board. The maximum number of instructions is now defined here
- Bumped the pico SDK version to v2.0.0
- Fixed a bug with Ubuntu 24.04 that broke the apt-mirror override in the docker container
- Updated the docker compose container for simultaneous build of firmware for multiple boards (in a way that doesn't cause long docker build times). This is also following the best practices outlined by the pico-sdk that encourages you to separate build dirs for different boards to avoid conflicts with cached cmake configuration.
@philipstarkey philipstarkey requested a review from dihm August 10, 2024 15:45
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.

1 participant