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

Non-pico rp2040 based MCUs don't compile correctly #4996

Closed
Plastidip223 opened this issue Dec 6, 2021 · 2 comments
Closed

Non-pico rp2040 based MCUs don't compile correctly #4996

Plastidip223 opened this issue Dec 6, 2021 · 2 comments
Labels

Comments

@Plastidip223
Copy link

Compiling klipper.uf2 for the official rp2040 based "pico" seems to work great.

I've compiled and flashed my rp2040 based "QT PY" board a few times and I can't get it to boot.
The same flash boots on a pico.

The rp2040 code is based on the 1.2 SDK. The newer 1.3 SDK does a better job of defining various rp2040 based boards.

I'll keep digging around in the source to see how to change the hardware config.

I'd love to see the rp2040 code updated to the newer SDK and the board definitions similarly abstracted into headers and/or configurable in make menuconfig.

I have not attached my logs. The MCU is not seen as a USB device.

@github-actions
Copy link

Hello,

It looks like there hasn't been any recent updates on this
Klipper github issue. If you created this issue and no
longer consider it open, then please login to github and
close the issue. Otherwise, if there is no further activity
on this thread then it will be automatically closed in a few
days.

Best regards,

~ Your friendly GitIssueBot

PS: I'm just an automated script, not a human being.

@github-actions github-actions bot added the Stale label Jan 10, 2022
@KevinOConnor
Copy link
Collaborator

The rp2040 chip does not have its own builtin flash chips - instead it relies on external SPI based flash chips. When I ported Klipper to the rp2040, I only added support for the flash chips present on the pico board (though many other devices also use the same type of flash). The rp2040 SDK does have support for other flash chips, but they were not added to Klipper. I suspect the issue you are having is that your board has a different flash chip.

A developer would need to add support for other flash chips and to Kconfig (aka "make menuconfig"). It's the code in lib/rp2040/boot_stage2/.

-Kevin

@github-actions github-actions bot locked and limited conversation to collaborators Jul 17, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants