Open asherevan opened 3 weeks ago
@asherevan
sudo apt-get update && sudo apt-get install -y gcc-arm-none-eabi libssl-dev python3 python3-pip python3-venv build-essential libffi-dev git pkg-config
git clone https://github.com/russhughes/st7789_mpy.git
git clone --recurse-submodules https://github.com/micropython/micropython.git
tft_config.py
and tft_buttons.py
and fonts:cd st7789_mpy
cp "examples/configs/t-picoc3/tft_config.py" $HOME/micropython/ports/rp2/modules/
cp "examples/configs/tdisplay_rp2040/tft_buttons.py" $HOME/micropython/ports/rp2/modules/
cp "examples/chango/*.py" $HOME/micropython/ports/rp2/modules/
cp "fonts/*.py" $HOME/micropython/ports/rp2/modules/
Build MicroPython+ST7789:
cd micropython
make -C mpy-cross
cd ports/rp2
make USER_C_MODULES=../../../st7789_mpy/st7789/micropython.cmake
make submodules
make
Note: If make user line fail, change ../../../
for the full path, example: /home/your_user/st7789_mpy/st7789/micropython.cmake
.
micropython/ports/rp2/build-RPI_PICO/firmare.uf2
Use the examples located in the examples folder.
And Finally Star this repo to thanks russhughes.
Could you update the firmwares please? (with latest micropython)
I am unable to compile them myself right now, so it would be great if you would!