-
Notifications
You must be signed in to change notification settings - Fork 280
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
when compiling platform rpipico, pico is not the default... #1032
Comments
Humm this does look backwards unless I am missing something @davidgiven ? (it's not a platform I know well - its about 30 years too modern) |
It's late, but it looks like without CONFIG_RC2040 it uses that standard rpi pins --- 2, 3, 4, 5. See https://github.com/EtchedPixels/FUZIX/blob/v0.4/Kernel/platform-rpipico/devsdspi.c#L14. So I'm not sure what you're seeing. You might want to try putting a |
That is correct. Without adding "CONFIG_RC2040" in config,h it uses the standard rpi pins --- 2, 3, 4, 5. This is the default due to config.h containing "#undef CONFIG_RC2040". This does not match the wiring diagram of wiring.jpg in the doc directory of the platform which shows 12,13,14,15. 12,13,14,15 is used in the Raspberry Pi website instructions for running fuzix on Pi Pico. In "devsdspi.c" line 28 shows a comment "David Given's Arrangement", but if the raspberry pi website arrangement and the wiringpi.jpg image both reference "Pico SPI GPIO connected to SD SPI1" which seems to be the real "David Given's Arrangement". I think that is where the confusion is. With current config.h SD SPI0 pins 2345 are used. If I wire per wiring.jpg I get "no card found". If I wire per 2345 I get a hang. So I'm stuck here now. This is the hang (using EtchedPixels repository).
Is Fuzix 0.5 working with rpipico and the latest Pico SDK? I did try to build with David Givens repository following the Raspberry Pi website instructions but had the same result. I burned the card image onto sda2 following the instructions on the Raspberry Pi website. Could the new issue of non booting SD card be due to the error I get when running "./update-flash.sh"
|
The mismatch between configuration and wiring.jpg has been fixed in #1074
@dennowiggle |
When compiling tag 0.4 platform rpipico it is not the default.
When i define CONFIG_RC2040 in config.h it becomes the default and i can use the sdcard pins from rpi pico board again according to wiring.jpg in doc directory of the platform.
The text was updated successfully, but these errors were encountered: