[env:t-deck-pro]
extends = esp32s3_base
board = t-deck-pro
board_check = true
upload_protocol = esptool

build_flags = 
  ${esp32_base.build_flags} -I variants/esp32s3/t-deck-pro
  -D T_DECK_PRO
  -D USE_EINK
  -D EINK_DISPLAY_MODEL=GxEPD2_310_GDEQ031T10
  -D EINK_WIDTH=240
  -D EINK_HEIGHT=320
  ;-D USE_EINK_DYNAMICDISPLAY            ; Enable Dynamic EInk
  -D EINK_LIMIT_FASTREFRESH=10           ; How many consecutive fast-refreshes are permitted
  -D EINK_LIMIT_GHOSTING_PX=2000        ; (Optional) How much image ghosting is tolerated

lib_deps =
  ${esp32s3_base.lib_deps}
  https://github.com/ZinggJM/GxEPD2/archive/refs/tags/1.6.4.zip
  https://github.com/CIRCUITSTATE/CSE_Touch/archive/b44f23b6f870b848f1fbe453c190879bc6cfaafa.zip
  https://github.com/CIRCUITSTATE/CSE_CST328/archive/refs/tags/v0.0.4.zip
  https://github.com/mverch67/BQ27220/archive/07d92be846abd8a0258a50c23198dac0858b22ed.zip
