Skip to content
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

Merged
merged 2 commits into from
Feb 3, 2021

Conversation

skieast
Copy link
Contributor

@skieast skieast commented Feb 3, 2021

Added support for the Lilygo TTGO T8 ESP32S2 ST7789 board.
I am using the PID assigned by Espressif for this use (tinyuf2)
IMG-4427

Copy link
Member

@hathach hathach left a 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,

Comment on lines 55 to 57
// #define DISPLAY_MADCTL (0x36) //Display Memory Access Control ST7789
// #define DISPLAY_MADCTL (TFT_MADCTL_MX) //Display Memory Access Control ST7789
#define DISPLAY_ROTATION 1
Copy link
Member

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.

Comment on lines 51 to 54
#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)
Copy link
Member

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"
Copy link
Member

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

Copy link
Member

@hathach hathach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

perfect now.

@hathach hathach merged commit c04b3a0 into adafruit:master Feb 3, 2021
@skieast skieast deleted the lilygo_ttgo_t8_s2_st7789-support branch February 4, 2021 23:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants