-
-
Notifications
You must be signed in to change notification settings - Fork 409
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/support and hint for ttgo v2 board #944
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
; ---> SELECT ONE TARGET BOARD FROM FOLLOWING ROWS <--- | ||
; | ||
; Note: For "LILYGO TTGO ESP32-Paxcounter LoRa32 V2.1 1.6.1" select board ttgov21new.h | ||
; Note: For "LILYGO TTGO ESP32-Paxcounter LoRa32 V2.0 1.6.0" select board ttgov2.h and add bodge wire from LORA_IO1 to GPIO33 | ||
; | ||
; | ||
[board] | ||
|
@@ -126,6 +127,11 @@ upload_protocol = custom | |
|
||
[env:usb] | ||
upload_protocol = esptool | ||
upload_speed = 921600 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This setting is global, for all type boards. Thus, we can't have this here, because some older boards do not support high upload speed. Please remove. |
||
monitor_speed = 115200 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. why did you move this from section common to here? |
||
; necessary for macos - adjust devicename accordingly | ||
;upload_port = /dev/tty.usbserial-xxxxxxx | ||
;monitor_port = /dev/tty.usbserial-xxxxxxx | ||
|
||
[env:dev] | ||
upload_protocol = esptool | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -375,7 +375,7 @@ void dp_refresh(bool nextPage) { | |
dp_clear(); | ||
break; | ||
#else // skip this page | ||
DisplayPage++; | ||
DisplayPage = 0; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This seems like a hack aorund a bug to me. I think the bug is in display.h: |
||
break; | ||
#endif | ||
} // switch (page) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please move this hint to ttgov2.h, since it's board specific.