-
Notifications
You must be signed in to change notification settings - Fork 183
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
Lilygo TTGo T8 S2 St7789 board #67
Lilygo TTGo T8 S2 St7789 board #67
Conversation
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.
looks good, there are only a few minor changes request per review. Also please update the readme to add your board to the doc as well https://github.com/adafruit/tinyuf2/blob/master/ports/esp32s2/README.md
Don't worry about the CI build failed, it seems to be caused by another issue,
// #define DISPLAY_MADCTL (0x36) //Display Memory Access Control ST7789 | ||
// #define DISPLAY_MADCTL (TFT_MADCTL_MX) //Display Memory Access Control ST7789 | ||
#define DISPLAY_ROTATION 1 |
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 remove these comment lines and the rotation as well since it is not used by the code. DISPLAY_MADCTL should be configured appropriately for rotation.
#define DISPLAY_BL_STATE 1 // GPIO state to enable back light | ||
#define DISPLAY_WIDTH 240 | ||
#define DISPLAY_HEIGHT 135 | ||
#define DISPLAY_MADCTL (TFT_MADCTL_MX | TFT_MADCTL_RGB) |
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 get these aligned.
#define USB_PRODUCT "TTGO_T8_S2_Display" | ||
|
||
#define UF2_PRODUCT_NAME USB_MANUFACTURER " " USB_PRODUCT | ||
#define UF2_BOARD_ID "LilyGO-TTGO-T8-S2-DISPLAY" |
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.
board id must follow uf2 format https://github.com/microsoft/uf2
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.
perfect now.
Added support for the Lilygo TTGO T8 ESP32S2 ST7789 board.
I am using the PID assigned by Espressif for this use (tinyuf2)