* preliminary io pin definitions * Update product link * Move to new variant structure and refactor inkHUD - Display does not work and SX1262 init fails on HT752-02 * update variant definitions * add EPD driver * fix lora, add v1/v2 variant targets * adapt pins for v1/v2 * alt button * add compile guards * use lilygo epd47 lib * workaround for INT ERR_NOT_FOUND * USE_EPD (e-ink parallel display) * use FastEPD driver * create screen * EInkParallelDisplay definition * setup screen * dispaly() implementation * enable touchscreen * rotate touch screen * refactor display buffer processing * provide local copy of TwoWire instance as the touch driver calls end() * use larger fonts * replace touch driver; enable debugging * replace touch driver; enable debugging * consider bitsremain == 0 * tryfix crash * fix button * update touch driver * set lora_cs pin * update touch driver and lib reference * add locks * limit Ghosting similar to EInkDynamicDisplay * workaround for FastEPD partial update bug (artifacts) * display() code cleanup * fix a few platformio definitions * more EPD display cleanup * set rotation * use FastEPD arduino I2C by default * touch rotation * update screen for EPD * increase swipe distance for larger screen * EPD UIRenderer * trunk fmt * further #ifdef USE_EPD * disable rotation which messes up w/h; more cleanup * switch off ghosting algo * releease build; V1 buttons * swap V1 buttons * rearrange USE_EINK/EPD macros, use large font * cleanup (revert modified files) * more cleanup * revert * revert file * revert file Removed redundant line continuation in preprocessor directives. * Temporary gate off PSRam calculations until we can fix them * move variant.cpp and update commit references * revert wrong merge * add earlyInitVariant() * initialize all port 0 pins (0-7) as outputs / HIGH --------- Co-authored-by: Thomas Göttgens <tgoettgens@gmail.com> Co-authored-by: Jason P <applewiz@mac.com> Co-authored-by: Jonathan Bennett <jbennett@incomsystems.biz> Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
62 lines
1.9 KiB
INI
62 lines
1.9 KiB
INI
[t5s3_epaper_base]
|
|
extends = esp32s3_base
|
|
board = t5-epaper-s3
|
|
board_build.partition = default_16MB.csv
|
|
board_check = true
|
|
upload_protocol = esptool
|
|
build_flags = -fno-strict-aliasing
|
|
${esp32_base.build_flags}
|
|
-I variants/esp32s3/t5s3_epaper
|
|
-D T5_S3_EPAPER_PRO
|
|
-D USE_EINK
|
|
-D USE_EINK_PARALLELDISPLAY
|
|
-D PRIVATE_HW
|
|
-D TOUCH_THRESHOLD_X=60
|
|
-D TOUCH_THRESHOLD_Y=40
|
|
-D TIME_LONG_PRESS=500
|
|
; -D EINK_LIMIT_GHOSTING_PX=5000
|
|
-D EPD_FULLSLOW_PERIOD=100
|
|
-D FAST_EPD_PARTIAL_UPDATE_BUG ; use rect area update instead of partial
|
|
|
|
build_src_filter =
|
|
${esp32s3_base.build_src_filter}
|
|
+<../variants/esp32s3/t5s3_epaper>
|
|
lib_deps =
|
|
${esp32s3_base.lib_deps}
|
|
# renovate: datasource=github-tags depName=XPowersLib packageName=lewisxhe/XPowersLib
|
|
https://github.com/lewisxhe/XPowersLib/archive/refs/tags/v0.3.3.zip
|
|
# renovate: datasource=github-tags depName=SensorLib packageName=lewisxhe/SensorLib
|
|
https://github.com/lewisxhe/SensorLib/archive/refs/tags/v0.3.4.zip
|
|
https://github.com/mverch67/BQ27220/archive/07d92be846abd8a0258a50c23198dac0858b22ed.zip
|
|
https://github.com/mverch67/FastEPD/archive/0df1bff329b6fc782e062f611758880762340647.zip
|
|
|
|
[env:t5s3_epaper_inkhud]
|
|
extends = t5s3_epaper_base, inkhud
|
|
build_flags =
|
|
${t5s3_epaper_base.build_flags}
|
|
${inkhud.build_flags}
|
|
-D SDCARD_USE_SPI1
|
|
-D T5_S3_EPAPER_PRO_V2
|
|
build_src_filter =
|
|
${t5s3_epaper_base.build_src_filter}
|
|
${inkhud.build_src_filter}
|
|
lib_deps =
|
|
${inkhud.lib_deps} ; InkHUD libs first, so we get GFXRoot instead of AdafruitGFX
|
|
${t5s3_epaper_base.lib_deps}
|
|
|
|
|
|
[env:t5s3-epaper-v1] ; H752
|
|
extends = t5s3_epaper_base
|
|
build_flags =
|
|
${t5s3_epaper_base.build_flags}
|
|
-D T5_S3_EPAPER_PRO_V1
|
|
-D GPS_DEFAULT_NOT_PRESENT=1
|
|
|
|
[env:t5s3-epaper-v2] ; H752-01
|
|
extends = t5s3_epaper_base
|
|
build_flags =
|
|
${t5s3_epaper_base.build_flags}
|
|
-D T5_S3_EPAPER_PRO_V2
|
|
-D SDCARD_USE_SPI1
|
|
-D GPS_POWER_TOGGLE
|