Skip to content

Commit b75129d

Browse files
authored
Add ESP32 boards: LILYGO T-Display and LILYGO T-Watch 2020 V1/V2/V3 (lvgl#93)
1 parent 97a35a1 commit b75129d

15 files changed

+106
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"deploy": [
3+
"../deploy.md"
4+
],
5+
"docs": "https://lilygo.cc/products/lilygo%C2%AE-ttgo-t-display-1-14-inch-lcd-esp32-control-board",
6+
"features": [
7+
"BLE",
8+
"WiFi",
9+
"Dual-core",
10+
"External Flash",
11+
"Display",
12+
"USB-C"
13+
],
14+
"images": [
15+
"lilygo-tdisplay.webp"
16+
],
17+
"mcu": "esp32",
18+
"product": "LilyGO T-Display",
19+
"thumbnail": "",
20+
"url": "https://lilygo.cc",
21+
"vendor": "LilyGO"
22+
}
Binary file not shown.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
set(SDKCONFIG_DEFAULTS
2+
boards/sdkconfig.base
3+
${SDKCONFIG_IDF_VERSION_SPECIFIC}
4+
boards/sdkconfig.ble
5+
)
6+
7+
set(LV_CFLAGS -DLV_COLOR_DEPTH=16 -DLV_COLOR_16_SWAP=1)
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#define MICROPY_HW_BOARD_NAME "LilyGo T-Display"
2+
#define MICROPY_HW_MCU_NAME "ESP32"
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"deploy": [
3+
"../deploy.md"
4+
],
5+
"docs": "https://www.lilygo.cc/products/t-watch-2020-v3",
6+
"features": [
7+
"BLE",
8+
"WiFi",
9+
"Dual-core",
10+
"External Flash",
11+
"External RAM",
12+
"SDCard",
13+
"IMU",
14+
"Battery Charging",
15+
"Display",
16+
"Microphone",
17+
"USB"
18+
],
19+
"images": [
20+
"lilygo-twatch2020-v3.webp"
21+
],
22+
"mcu": "esp32",
23+
"product": "LilyGO T-Watch 2020 V3",
24+
"thumbnail": "",
25+
"url": "https://lilygo.cc",
26+
"vendor": "LilyGO"
27+
}
Binary file not shown.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
include("$(PORT_DIR)/boards/manifest.py")
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
set(SDKCONFIG_DEFAULTS
2+
boards/sdkconfig.base
3+
${SDKCONFIG_IDF_VERSION_SPECIFIC}
4+
boards/sdkconfig.ble
5+
boards/sdkconfig.240mhz
6+
boards/sdkconfig.spiram
7+
boards/LILYGO_TWATCH_2020/sdkconfig.board
8+
)
9+
10+
set(LV_CFLAGS -DLV_COLOR_DEPTH=16 -DLV_COLOR_16_SWAP=1)
11+
12+
set(MICROPY_FROZEN_MANIFEST ${MICROPY_BOARD_DIR}/manifest.py)
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#ifndef MICROPY_HW_BOARD_NAME
2+
#define MICROPY_HW_BOARD_NAME "LILYGO T-Watch 2020"
3+
#endif
4+
5+
#ifndef MICROPY_HW_MCU_NAME
6+
#define MICROPY_HW_MCU_NAME "ESP32"
7+
#endif
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
list(APPEND MICROPY_DEF_BOARD
2+
MICROPY_HW_BOARD_NAME="LILYGO T-Watch 2020 V1"
3+
)

0 commit comments

Comments
 (0)