-
Notifications
You must be signed in to change notification settings - Fork 7.4k
hello_world fails to build for rpi_pico2 #85217
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
Comments
I'm not an expert on tracking down this type of error, so I may be off the mark here. But, from what I can tell, the first error,
is probably happening as a result of trying to link these two files:
I say that because, if I use grep to look for
When I use
When I look at
|
If I build for Pi Pico, which links successfully, the architecture in
|
Maybe the problem is that |
If I turn on
|
Did you upgrade your Zephyr SDK recently? The error message seems quite similar to zephyrproject-rtos/sdk-ng#854, which was resolved with |
No. For the development machine I've been using, 0.17.0 was the first and only Zephyr SDK version that I've installed. But, I did initially install the full SDK with all toolchains, delete that, and then switch to the minimal SDK with only the specific toolchains that I needed.
Hmm... deleting the cache helps. When I tried this, the build worked:
This time, when I grep the map file for strcmp, it's looking in
|
Hello_world is not compiling for the RPi_Pico/rp2040/w...failure in 'sys_rand_get' |
I've checked, and there are no issues. |
This issue has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this issue will automatically be closed in 14 days. Note, that you can always re-open a closed issue at any time. |
Uh oh!
There was an error while loading. Please reload this page.
Describe the bug
west build -p always -b rpi_pico2/rp2350a/m33 samples/hello_world
fails during linking.Error messages include:
(see console log section below for additional details)
I get similar errors if I attempt to build other samples including
samples/basic/blinky
andsamples/basic/minimal
.Target platform: Raspberry Pi Pico 2
Diagnosis: Searching for similar error messages comes up with discussions of an ABI mismatch between code compiled with ARM soft floating point and hard floating point.
I do not know if this is a regression or not.
To Reproduce
cd zephyr
west build -p always -b rpi_pico2/rp2350a/m33 samples/hello_world
Expected behavior
The
west build ...
command should finish without errors.Impact
It may be the case that building anything for rpi_pico2 is currently broken?
Logs and console output
Environment (please complete the following information):
Additional context
For comparison, when I build for the Pi Pico with
west build -p always -b rpi_pico samples/hello_world
, it works fine.The text was updated successfully, but these errors were encountered: