Reference: https://wiki.luckfox.com/zh/Luckfox-Pico/Luckfox-Pico-GPIO My USB to UART Cabe Serial Debugging USB ADB Debugging adb devices adb -s ${id} shell
SPI LCD DemoReference:https://wiki.luckfox.com/zh/Luckfox-Pico/Luckfox-Pico-LCD
Compare Pico LCD 2's GPIO Layout & LuckFox Pico's,The GPIOs used are:
Modify devicetree
Recompile
Burn the system via
SocToolKitCompile Pico LCD Code
Modify
Makefile,gcc path:
<SDK directory\>/tools/linux/toolchain/arm-rockchip830-linux-uclibcgnueabihf/bin/arm-rockchip830-linux-uclibcgnueabihf-gccDEV_Conig.hinc/lib/Configfor Pico LCD 2inch
Compile the code:
Copy
mainfile to LuckFox Pico Max