Skip to content

Commit

Permalink
updated platformio.ini with new target (pr3y#107)
Browse files Browse the repository at this point in the history
  • Loading branch information
eadmaster committed Aug 2, 2024
1 parent 89fafd9 commit f67897d
Showing 1 changed file with 52 additions and 0 deletions.
52 changes: 52 additions & 0 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ default_envs =
m5stack-cplus1_1
m5stack-cplus2
m5stack-cardputer
esp32-s3-devkitc-1

[common]
build_flags =
Expand Down Expand Up @@ -234,3 +235,54 @@ build_flags =
lib_deps =
${common.lib_deps}
xylopyrographer/LiteLED@^1.2.0

[env:esp32-s3-devkitc-1]
platform = espressif32
board = esp32-s3-devkitc-1
framework = arduino
board_build.partitions = custom_16Mb.csv
board_upload.flash_size = 16MB
build_flags =
${common.build_flags}
-DESP32S3DEVKITC1
; needed for serial
-DARDUINO_USB_CDC_ON_BOOT=1
; ir led pin
-DLED=44
-DLED_ON=HIGH
-DLED_OFF=LOW
; sd card pins
-DSDCARD_CS=-1
-DSDCARD_SCK=-1
-DSDCARD_MISO=-1
-DSDCARD_MOSI=-1
; grove pins
-DGROVE_SDA=-1
-DGROVE_SCL=-1
; tft vars
-DROTATION=1
-DBACKLIGHT=-1 ; tft backlight pin
-DWIDTH=240
-DHEIGHT=135
-DMINBRIGHT=160 ; unused?
-DMAX_MENU_SIZE=5
-DSMOOTH_FONT=1
;-DUSE_DUMB_DISPLAY
-DTFT_DISPON=0x29
-DTFT_DISPOFF=0x28
; text sizes
-DFP=1
-DFM=2
-DFG=3
; ui control buttons
-DSEL_BTN=1
-DUP_BTN=2 ; also work as ESC
-DDW_BTN=3 ; also work as NEXT
-DTOUCH_THRESHOLD=20
-DBTN_ALIAS='"M5"'
lib_deps =
${common.lib_deps}
;arpruss/VectorDisplay
;https://github.com/eadmaster/vectordisplayarduino
;https://github.com/trevorwslee/Arduino-DumbDisplay

0 comments on commit f67897d

Please sign in to comment.