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

Update documentation to detail how to build this for rp2 #150

Open
ril3y opened this issue Dec 12, 2023 · 1 comment
Open

Update documentation to detail how to build this for rp2 #150

ril3y opened this issue Dec 12, 2023 · 1 comment

Comments

@ril3y
Copy link

ril3y commented Dec 12, 2023

The esp32 documentation is the only one available on how to build the driver and micropython. Can you provide some instructions on building for rpi pico?

@flashypepo
Copy link

@ril3y: maybe next could help, if not already solved by you:

Issue following Terminal make command in folder micropython/ports/rp2:

$make -j LTO=1 BOARD=RPI_PICO USER_C_MODULES=../../../micropython_user_modules/st7789_mpy-master/st7789/micropython.cmake

By trial-and-error I discovered that the cmake file itself needs to be mentioned in the make command line not only the folder in which a cmake-file is placed.

PS.The folder micropython_user_modules is my custom folder where I place the user C modules.

In the Build-RPI_PICO folder look in the folder CMakeFiles where you can find deep in the folder firmware.dir the compiled st7789_mpy files.

Hope this is detailed enough. You can extract other command lines from the esp32 description.

Kind regards, Peter

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