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

Project generator uses wrong examples version #97

Closed
therman89 opened this issue Oct 3, 2024 · 1 comment
Closed

Project generator uses wrong examples version #97

therman89 opened this issue Oct 3, 2024 · 1 comment

Comments

@therman89
Copy link

therman89 commented Oct 3, 2024

Hello,
I found a bug, where the "New Project From Example" function pulls examples from the wrong version of the SDK, and instead uses the latest (2.0.0) version.

Steps to reproduce:

  1. Click "New Project From Example"
  2. Select the example (hello_uart)
  3. Select Pico SDK version: 1.5.1
  4. Generate project
  5. Run git log in ~/.pico-sdk/examples/.git

Result:
commit 7fe60d6b4027771e45d97f207532c41b1d8c5418 (HEAD, tag: sdk-2.0.0)
Author: graham sanderson
Date: Thu Aug 8 06:20:00 2024 -0500

RP2350 and SDK 2.0.0 changes

Due to this bug, the example does not compile, because it uses code from the newest version of the SDK.

@will-v-pi
Copy link
Collaborator

Yes, the "New Project From Example" only supports the latest SDK version - @paulober could we update the webview to grey out other versions in the "Select Pico SDK version" dropdown unless you click on "Show Advanced Options" when creating a new project from examples?

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