acidportal

- 😈 Worlds smallest Evil Portal on a LilyGo T-QT
git clone git://git.acid.vegas/acidportal.git
Log | Files | Refs | Archive | README | LICENSE

Configuring options.txt (1364B)

      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
     14 ;   Upload options: custom upload port, speed and extra flags
     15 ;   Library options: dependencies, extra library storages
     16 ;   Advanced options: extra scripting
     17 ;
     18 ; Please visit documentation for the other options and examples
     19 ; https://docs.platformio.org/page/projectconf.html
     20 
     21 [env:esp32dev]
     22 platform = https://github.com/platformio/platform-espressif32.git#feature/arduino-upstream
     23 board = esp32dev
     24 framework = arduino
     25 lib_deps = bodmer/TFT_eSPI@^2.4.31
     26 
     27 build_flags =
     28   -Os
     29   -DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_DEBUG
     30   -DUSER_SETUP_LOADED=1
     31   
     32   ; Define the TFT driver, pins etc here:
     33   -DST7789_DRIVER=1
     34   -DTFT_WIDTH=128
     35   -DTFT_HEIGHT=160
     36   -DTFT_MISO=19
     37   -DTFT_MOSI=23
     38   -DTFT_SCLK=18
     39   -DTFT_CS=5
     40   -DTFT_DC=19
     41   -DTFT_RST=4
     42   ;-DTFT_BL=21
     43   ;-DTOUCH_CS=22
     44   -DLOAD_GLCD=1
     45   -DLOAD_FONT2=1
     46   -DLOAD_FONT4=1
     47   -DLOAD_FONT6=1
     48   -DLOAD_FONT7=1
     49   -DLOAD_FONT8=1
     50   -DLOAD_GFXFF=1
     51   -DSMOOTH_FONT=1
     52   -DSPI_FREQUENCY=27000000