Skip to content

Compile error with rp2 #313

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

Open
yeyf2023 opened this issue Mar 16, 2025 · 3 comments
Open

Compile error with rp2 #313

yeyf2023 opened this issue Mar 16, 2025 · 3 comments

Comments

@yeyf2023
Copy link

I used the following command to compile rp2 (rp2040), and I got an error.
Command:
python3 make.py rp2 BOARD=RPI_PICO DISPLAY=st7789
Error:
make[3]: *** [CMakeFiles/firmware.dir/build.make:3699: CMakeFiles/firmware.dir/machine_spi.c.obj] Error 1
make[2]: *** [CMakeFiles/Makefile2:1737: CMakeFiles/firmware.dir/all] Error 2
make[1]: *** [Makefile:91: all] Error 2
make: *** [Makefile:59: all] Error 1

@kdschlosser
Copy link
Collaborator

I need someone that is familiar with the RP2040 that is willing to help with wring proper drivers for that MCU. I have not had any luck locating anyone that is willing to lend a hand with it. I don't know the hardware or the SDK. I don't have time available to learn it at the moment. If you know someone that has the knowledge maybe if you ask them they might be willing to lend a hand with it. Or perhaps you have the knowledge to be able to help out.

Sorry for the bad news on that. In the coming weeks I will work on it to get the SPI driver working again but that is about all I am going to be able to do.

@yeyf2023
Copy link
Author

Thanks.

@hemonu
Copy link

hemonu commented Apr 12, 2025

I have a PICO_W board available and have a look into that. What has to be done is to write a machine_spi.c file for the rp2 in the micropy_updates/rp2 folder. It has to have the same interface and functionality as the files in the esp32 and stm32 subfolders. Is that correct?
I will spend some time on that, but no firm promise, that I will be able to make it ...

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

3 participants