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

Fail to build with Pico SDK 1.5.0 #1031

Closed
stc1988 opened this issue Feb 11, 2023 · 4 comments
Closed

Fail to build with Pico SDK 1.5.0 #1031

stc1988 opened this issue Feb 11, 2023 · 4 comments

Comments

@stc1988
Copy link
Contributor

stc1988 commented Feb 11, 2023

Moddable version: 3.7.0
Build environment: macOS
Target device: pico

Steps to Reproduce

  1. Setup pico environment.
  2. cd cd $MODDABLE/examples/helloworl
  3. mcconfig -d -m -p pico
make: *** No rule to make target `/Users/satoshi/.local/share/pico/pico-sdk/src/rp2_common/cyw43_driver/cyw43_bus_pio_spi.pio', needed by `/Users/Satoshi/Projects/moddable/build/tmp/pico/debug/helloworld/cyw43_bus_pio_spi.pio.h'.  Stop.

Other information
In current master branch(1.5.0), src/rp2_common/cyw43_driver is not exists.

@phoddie
Copy link
Collaborator

phoddie commented Feb 11, 2023

Thank you for the report. We'll take a look.

@stc1988
Copy link
Contributor Author

stc1988 commented Mar 28, 2023

Would it be better to fix below setup instructions on documentation ?

from

git clone -b master https://github.com/raspberrypi/pico-sdk
git clone -b master https://github.com/raspberrypi/pico-examples

to

git clone -b 1.4.0 https://github.com/raspberrypi/pico-sdk
git clone -b sdk-1.4.0 https://github.com/raspberrypi/pico-examples

@phoddie
Copy link
Collaborator

phoddie commented Mar 28, 2023

We would prefer to use the latest SDK. We have been working on support for that it is getting close.

Thank you for posting the temporary instructions here for developers who are blocked during this transition.

@phoddie
Copy link
Collaborator

phoddie commented Mar 29, 2023

I should have been a little more precise above. It is a good idea to pin to a release of the Pico SDK & tools. That will avoid future problems. I just didn't want to pin to 1.4 with our update to 1.5 pending. The Pico set-up instructions now pin to 1.5.0 .

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