acid-drop- Hacking the planet from a LilyGo T-Deck using custom firmware |
git clone git://git.acid.vegas/acid-drop.git |
Log | Files | Refs | Archive | README | LICENSE |
rp2040.txt (1488B)
1 ;PlatformIO User notes: 2 3 ;It is possible to load settings from the calling program rather than modifying 4 ;the library for each project by modifying the "platformio.ini" file. 5 6 ;The User_Setup_Select.h file will not load the user setting header files if 7 ;USER_SETUP_LOADED is defined. 8 9 ;Instead of using #define, use the -D prefix, for example: 10 11 ; PlatformIO Project Configuration File 12 ; 13 ; Build options: build flags, source filter, extra scripting 14 ; Upload options: custom port, speed and extra flags 15 ; Library options: dependencies, extra library storages 16 ; 17 ; Please visit documentation for the other options and examples 18 ; http://docs.platformio.org/page/projectconf.html 19 20 [env:pico] 21 platform = https://github.com/maxgerhardt/platform-raspberrypi.git 22 board = pico 23 framework = arduino 24 board_build.core = earlephilhower 25 board_build.filesystem_size = 0.5m 26 lib_deps = bodmer/TFT_eSPI@^2.5.21 27 ; change microcontroller 28 board_build.mcu = rp2040 29 30 ; change MCU frequency 31 board_build.f_cpu = 133000000L 32 33 build_flags = 34 -Os 35 -DUSER_SETUP_LOADED=1 36 ; Define the TFT driver, pins etc here: 37 -DTFT_PARALLEL_8_BIT=1 38 -DRM68120_DRIVER=1 39 -DRP2040_PIO_CLK_DIV=1 40 -DTFT_DC=28 41 -DTFT_WR=22 42 -DTFT_RST=2 43 44 -DTFT_D0=6 45 -DTFT_D1=7 46 -DTFT_D2=8 47 -DTFT_D3=9 48 -DTFT_D4=10 49 -DTFT_D5=11 50 -DTFT_D6=12 51 -DTFT_D7=13 52 53 -DTFT_BL=16 54 -DTFT_BACKLIGHT_ON=HIGH 55 56 -DLOAD_GLCD=1 57 -DLOAD_FONT2=1 58 -DLOAD_FONT4=1 59 -DLOAD_FONT6=1 60 -DLOAD_FONT7=1 61 -DLOAD_FONT8=1 62 -DLOAD_GFXFF=1 63 -DSMOOTH_FONT=1