mirror of
https://github.com/meshtastic/firmware.git
synced 2025-02-01 18:29:56 +00:00
3fa8b357e5
* Fix for serial monitoring and I2C for Vision Master e213 (#4280) * Fix for serial monitoring and I2C The board did not allow serial monitoring while on boot mode, i was able to fix this by adding a board variant. I also corrected the i2c pins. I was able to test it with a cardkb * oops I delete some code by mistake, all back now * Made some adjustments * Minimize the diff --------- Co-authored-by: Todd Herbert <herbert.todd@gmail.com> * Don't redefine board identifier Suppresses compiler warnings * Detect Vision Master 213 with PIO serial monitor * Use outermost button as user-button Less chance of accidentally hitting reset * Use 1200bps touch (213) Allows upload without manually entering bootloader --------- Co-authored-by: HarukiToreda <116696711+HarukiToreda@users.noreply.github.com>
23 lines
1.2 KiB
INI
23 lines
1.2 KiB
INI
[env:heltec-vision-master-e213]
|
|
extends = esp32s3_base
|
|
board = heltec_vision_master_e213
|
|
build_flags =
|
|
${esp32s3_base.build_flags}
|
|
-Ivariants/heltec_vision_master_e213
|
|
-DHELTEC_VISION_MASTER_E213
|
|
-DEINK_DISPLAY_MODEL=GxEPD2_213_FC1
|
|
-DEINK_WIDTH=250
|
|
-DEINK_HEIGHT=122
|
|
-DUSE_EINK_DYNAMICDISPLAY ; Enable Dynamic EInk
|
|
-DEINK_LIMIT_FASTREFRESH=10 ; How many consecutive fast-refreshes are permitted
|
|
-DEINK_LIMIT_RATE_BACKGROUND_SEC=30 ; Minimum interval between BACKGROUND updates
|
|
-DEINK_LIMIT_RATE_RESPONSIVE_SEC=1 ; Minimum interval between RESPONSIVE updates
|
|
; -D EINK_LIMIT_GHOSTING_PX=2000 ; (Optional) How much image ghosting is tolerated
|
|
-DEINK_BACKGROUND_USES_FAST ; (Optional) Use FAST refresh for both BACKGROUND and RESPONSIVE, until a limit is reached.
|
|
-DEINK_HASQUIRK_GHOSTING ; Display model is identified as "prone to ghosting"
|
|
-DEINK_HASQUIRK_WEAKFASTREFRESH ; Pixels set with fast-refresh are easy to clear, disrupted by sunlight
|
|
lib_deps =
|
|
${esp32s3_base.lib_deps}
|
|
https://github.com/meshtastic/GxEPD2#b202ebfec6a4821e098cf7a625ba0f6f2400292d
|
|
lewisxhe/PCF8563_Library@^1.0.1
|
|
upload_speed = 115200 |