Skip to content

Commit c382554

Browse files
authored
Merge pull request #10 from mcuw/8-board-lilygo-t-deck
#8 add LilyGo T-Deck board
2 parents 993f184 + 1a73c15 commit c382554

File tree

3 files changed

+55
-0
lines changed

3 files changed

+55
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,8 @@ Buy on AliExpress (affiliate links) ...
9494
- [LilyGo T-Watch S3](https://s.click.aliexpress.com/e/_DEZVvH1)
9595
- [LilyGo T-CameraPlus ESP32-S3](https://s.click.aliexpress.com/e/_DkytBeT)
9696
- [LilyGo T-RGB](https://s.click.aliexpress.com/e/_Dem6i0b)
97+
- [LilyGo T-Deck](https://s.click.aliexpress.com/e/_DBPnZmL)
98+
- [LilyGo T-Deck Plus](https://s.click.aliexpress.com/e/_DDeskaP)
9799

98100
- ESP32 C6 with WiFi 6 and BT-5 LE
99101
- [UICPAL nanoESP32-C6](https://s.click.aliexpress.com/e/_DdZ83IB) with up to 16MB flash

boards/LilyGo-T-Deck.json

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
{
2+
"build": {
3+
"arduino": {
4+
"ldscript": "esp32s3_out.ld",
5+
"memory_type": "qio_opi",
6+
"partitions": "default_16MB.csv"
7+
},
8+
"core": "esp32",
9+
"extra_flags": [
10+
"-D ARDUINO_USB_MODE=1",
11+
"-D ARDUINO_RUNNING_CORE=1",
12+
"-D BOARD_HAS_PSRAM=1",
13+
"-D ARDUINO_RUNNING_CORE=1",
14+
"-D ARDUINO_EVENT_RUNNING_CORE=1"
15+
],
16+
"f_cpu": "240000000L",
17+
"f_flash": "80000000L",
18+
"flash_mode": "qio",
19+
"hwids": [["0x303A", "0x1001"]],
20+
"mcu": "esp32s3",
21+
"variant": "esp32s3"
22+
},
23+
"connectivity": ["wifi", "bluetooth"],
24+
"debug": {
25+
"default_tool": "esp-builtin",
26+
"onboard_tools": ["esp-builtin"],
27+
"openocd_target": "esp32s3.cfg"
28+
},
29+
"frameworks": ["arduino", "espidf"],
30+
"name": "LilyGo T-Deck (16M Flash 8M PSRAM )",
31+
"upload": {
32+
"flash_size": "16MB",
33+
"maximum_ram_size": 327680,
34+
"maximum_size": 16777216,
35+
"require_upload_port": true,
36+
"speed": 921600
37+
},
38+
"url": "https://www.lilygo.cc/products/t-deck",
39+
"vendor": "LilyGo"
40+
}

platformio.ini

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,19 @@ lib_deps =
236236
[env:lilygo-t-rgb]
237237
board = LilyGo-T-RGB
238238
board_build.partitions = huge_app.csv
239+
build_flags =
240+
${esp32s3.build_flags}
241+
lib_deps =
242+
${esp32s3.lib_deps}
243+
244+
; LILYGO: https://www.lilygo.cc/products/t-deck
245+
; repository: https://github.com/Xinyuan-LilyGO/T-Deck
246+
; Buy and support mcuw on aliexpress (affiliate link):
247+
; - LilyGo T-Deck: https://s.click.aliexpress.com/e/_Dem6i0b
248+
; - LilyGo T-Deck Plus: https://s.click.aliexpress.com/e/_DDeskaP
249+
[env:lilygo-t-deck]
250+
board = LilyGo-T-Deck
251+
board_build.partitions = huge_app.csv
239252
build_flags =
240253
${esp32s3.build_flags}
241254
lib_deps =

0 commit comments

Comments
 (0)