Skip to content

Commit

Permalink
Merge pull request #10 from mcuw/8-board-lilygo-t-deck
Browse files Browse the repository at this point in the history
#8 add LilyGo T-Deck board
  • Loading branch information
mcuw authored Sep 13, 2024
2 parents 993f184 + 1a73c15 commit c382554
Show file tree
Hide file tree
Showing 3 changed files with 55 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ Buy on AliExpress (affiliate links) ...
- [LilyGo T-Watch S3](https://s.click.aliexpress.com/e/_DEZVvH1)
- [LilyGo T-CameraPlus ESP32-S3](https://s.click.aliexpress.com/e/_DkytBeT)
- [LilyGo T-RGB](https://s.click.aliexpress.com/e/_Dem6i0b)
- [LilyGo T-Deck](https://s.click.aliexpress.com/e/_DBPnZmL)
- [LilyGo T-Deck Plus](https://s.click.aliexpress.com/e/_DDeskaP)

- ESP32 C6 with WiFi 6 and BT-5 LE
- [UICPAL nanoESP32-C6](https://s.click.aliexpress.com/e/_DdZ83IB) with up to 16MB flash
Expand Down
40 changes: 40 additions & 0 deletions boards/LilyGo-T-Deck.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"build": {
"arduino": {
"ldscript": "esp32s3_out.ld",
"memory_type": "qio_opi",
"partitions": "default_16MB.csv"
},
"core": "esp32",
"extra_flags": [
"-D ARDUINO_USB_MODE=1",
"-D ARDUINO_RUNNING_CORE=1",
"-D BOARD_HAS_PSRAM=1",
"-D ARDUINO_RUNNING_CORE=1",
"-D ARDUINO_EVENT_RUNNING_CORE=1"
],
"f_cpu": "240000000L",
"f_flash": "80000000L",
"flash_mode": "qio",
"hwids": [["0x303A", "0x1001"]],
"mcu": "esp32s3",
"variant": "esp32s3"
},
"connectivity": ["wifi", "bluetooth"],
"debug": {
"default_tool": "esp-builtin",
"onboard_tools": ["esp-builtin"],
"openocd_target": "esp32s3.cfg"
},
"frameworks": ["arduino", "espidf"],
"name": "LilyGo T-Deck (16M Flash 8M PSRAM )",
"upload": {
"flash_size": "16MB",
"maximum_ram_size": 327680,
"maximum_size": 16777216,
"require_upload_port": true,
"speed": 921600
},
"url": "https://www.lilygo.cc/products/t-deck",
"vendor": "LilyGo"
}
13 changes: 13 additions & 0 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,19 @@ lib_deps =
[env:lilygo-t-rgb]
board = LilyGo-T-RGB
board_build.partitions = huge_app.csv
build_flags =
${esp32s3.build_flags}
lib_deps =
${esp32s3.lib_deps}

; LILYGO: https://www.lilygo.cc/products/t-deck
; repository: https://github.com/Xinyuan-LilyGO/T-Deck
; Buy and support mcuw on aliexpress (affiliate link):
; - LilyGo T-Deck: https://s.click.aliexpress.com/e/_Dem6i0b
; - LilyGo T-Deck Plus: https://s.click.aliexpress.com/e/_DDeskaP
[env:lilygo-t-deck]
board = LilyGo-T-Deck
board_build.partitions = huge_app.csv
build_flags =
${esp32s3.build_flags}
lib_deps =
Expand Down

0 comments on commit c382554

Please sign in to comment.