Skip to content

Commit 5cfac57

Browse files
committed
Added LilyGo T3S3 variants
1 parent 337058a commit 5cfac57

File tree

6 files changed

+536
-0
lines changed

6 files changed

+536
-0
lines changed

Diff for: boards.txt

+184
Original file line numberDiff line numberDiff line change
@@ -4811,6 +4811,190 @@ lilygo_t_eth_lite.menu.EraseFlash.none.upload.erase_cmd=
48114811
lilygo_t_eth_lite.menu.EraseFlash.all=Enabled
48124812
lilygo_t_eth_lite.menu.EraseFlash.all.upload.erase_cmd=-e
48134813

4814+
4815+
##############################################################
4816+
4817+
lilygo_t3s3.name=LilyGo T3-S3
4818+
4819+
lilygo_t3s3.upload.tool=esptool_py
4820+
lilygo_t3s3.upload.tool.default=esptool_py
4821+
lilygo_t3s3.upload.tool.network=esp_ota
4822+
lilygo_t3s3.upload.maximum_size=1310720
4823+
lilygo_t3s3.upload.maximum_data_size=327680
4824+
lilygo_t3s3.upload.wait_for_upload_port=false
4825+
lilygo_t3s3.upload.speed=460800
4826+
lilygo_t3s3.upload.flags=
4827+
lilygo_t3s3.upload.extra_flags=
4828+
4829+
lilygo_t3s3.bootloader.tool=esptool_py
4830+
lilygo_t3s3.bootloader.tool.default=esptool_py
4831+
4832+
lilygo_t3s3.serial.disableDTR=true
4833+
lilygo_t3s3.serial.disableRTS=true
4834+
4835+
lilygo_t3s3.build.tarch=xtensa
4836+
lilygo_t3s3.build.bootloader_addr=0x0
4837+
lilygo_t3s3.build.mcu=esp32s3
4838+
lilygo_t3s3.build.core=esp32
4839+
lilygo_t3s3.build.target=esp32s3
4840+
lilygo_t3s3.build.board=LILYGO_T3_S3
4841+
4842+
lilygo_t3s3.build.usb_mode=1
4843+
lilygo_t3s3.build.cdc_on_boot=1
4844+
lilygo_t3s3.build.msc_on_boot=0
4845+
lilygo_t3s3.build.dfu_on_boot=0
4846+
4847+
lilygo_t3s3.build.f_cpu=240000000L
4848+
lilygo_t3s3.build.flash_size=4MB
4849+
lilygo_t3s3.build.flash_freq=80m
4850+
lilygo_t3s3.build.flash_mode=dio
4851+
lilygo_t3s3.build.boot=dio
4852+
lilygo_t3s3.build.partitions=default
4853+
lilygo_t3s3.build.defines=
4854+
4855+
lilygo_t3s3.menu.PSRAM.disabled=Disabled
4856+
lilygo_t3s3.menu.PSRAM.disabled.build.defines=
4857+
lilygo_t3s3.menu.PSRAM.enabled=Enabled
4858+
lilygo_t3s3.menu.PSRAM.enabled.build.defines=-DBOARD_HAS_PSRAM
4859+
lilygo_t3s3.menu.PSRAM.enabled.build.psram_type=qspi
4860+
4861+
lilygo_t3s3.menu.LoopCore.1=Core 1
4862+
lilygo_t3s3.menu.LoopCore.1.build.loop_core=-DARDUINO_RUNNING_CORE=1
4863+
lilygo_t3s3.menu.LoopCore.0=Core 0
4864+
lilygo_t3s3.menu.LoopCore.0.build.loop_core=-DARDUINO_RUNNING_CORE=0
4865+
4866+
lilygo_t3s3.menu.EventsCore.1=Core 1
4867+
lilygo_t3s3.menu.EventsCore.1.build.event_core=-DARDUINO_EVENT_RUNNING_CORE=1
4868+
lilygo_t3s3.menu.EventsCore.0=Core 0
4869+
lilygo_t3s3.menu.EventsCore.0.build.event_core=-DARDUINO_EVENT_RUNNING_CORE=0
4870+
4871+
lilygo_t3s3.menu.USBMode.hwcdc=Hardware CDC and JTAG
4872+
lilygo_t3s3.menu.USBMode.hwcdc.build.usb_mode=1
4873+
lilygo_t3s3.menu.USBMode.default=USB-OTG (TinyUSB)
4874+
lilygo_t3s3.menu.USBMode.default.build.usb_mode=0
4875+
4876+
lilygo_t3s3.menu.CDCOnBoot.default=Disabled
4877+
lilygo_t3s3.menu.CDCOnBoot.default.build.cdc_on_boot=0
4878+
lilygo_t3s3.menu.CDCOnBoot.cdc=Enabled
4879+
lilygo_t3s3.menu.CDCOnBoot.cdc.build.cdc_on_boot=1
4880+
4881+
lilygo_t3s3.menu.MSCOnBoot.default=Disabled
4882+
lilygo_t3s3.menu.MSCOnBoot.default.build.msc_on_boot=0
4883+
lilygo_t3s3.menu.MSCOnBoot.msc=Enabled (Requires USB-OTG Mode)
4884+
lilygo_t3s3.menu.MSCOnBoot.msc.build.msc_on_boot=1
4885+
4886+
lilygo_t3s3.menu.DFUOnBoot.default=Disabled
4887+
lilygo_t3s3.menu.DFUOnBoot.default.build.dfu_on_boot=0
4888+
lilygo_t3s3.menu.DFUOnBoot.dfu=Enabled (Requires USB-OTG Mode)
4889+
lilygo_t3s3.menu.DFUOnBoot.dfu.build.dfu_on_boot=1
4890+
4891+
lilygo_t3s3.menu.UploadMode.default=UART0 / Hardware CDC
4892+
lilygo_t3s3.menu.UploadMode.default.upload.use_1200bps_touch=false
4893+
lilygo_t3s3.menu.UploadMode.default.upload.wait_for_upload_port=false
4894+
lilygo_t3s3.menu.UploadMode.cdc=USB-OTG CDC (TinyUSB)
4895+
lilygo_t3s3.menu.UploadMode.cdc.upload.use_1200bps_touch=true
4896+
lilygo_t3s3.menu.UploadMode.cdc.upload.wait_for_upload_port=true
4897+
4898+
lilygo_t3s3.menu.PartitionScheme.default=Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS)
4899+
lilygo_t3s3.menu.PartitionScheme.default.build.partitions=default
4900+
lilygo_t3s3.menu.PartitionScheme.defaultffat=Default 4MB with ffat (1.2MB APP/1.5MB FATFS)
4901+
lilygo_t3s3.menu.PartitionScheme.defaultffat.build.partitions=default_ffat
4902+
lilygo_t3s3.menu.PartitionScheme.minimal=Minimal (1.3MB APP/700KB SPIFFS)
4903+
lilygo_t3s3.menu.PartitionScheme.minimal.build.partitions=minimal
4904+
lilygo_t3s3.menu.PartitionScheme.no_ota=No OTA (2MB APP/2MB SPIFFS)
4905+
lilygo_t3s3.menu.PartitionScheme.no_ota.build.partitions=no_ota
4906+
lilygo_t3s3.menu.PartitionScheme.no_ota.upload.maximum_size=2097152
4907+
lilygo_t3s3.menu.PartitionScheme.noota_3g=No OTA (1MB APP/3MB SPIFFS)
4908+
lilygo_t3s3.menu.PartitionScheme.noota_3g.build.partitions=noota_3g
4909+
lilygo_t3s3.menu.PartitionScheme.noota_3g.upload.maximum_size=1048576
4910+
lilygo_t3s3.menu.PartitionScheme.noota_ffat=No OTA (2MB APP/2MB FATFS)
4911+
lilygo_t3s3.menu.PartitionScheme.noota_ffat.build.partitions=noota_ffat
4912+
lilygo_t3s3.menu.PartitionScheme.noota_ffat.upload.maximum_size=2097152
4913+
lilygo_t3s3.menu.PartitionScheme.noota_3gffat=No OTA (1MB APP/3MB FATFS)
4914+
lilygo_t3s3.menu.PartitionScheme.noota_3gffat.build.partitions=noota_3gffat
4915+
lilygo_t3s3.menu.PartitionScheme.noota_3gffat.upload.maximum_size=1048576
4916+
lilygo_t3s3.menu.PartitionScheme.huge_app=Huge APP (3MB No OTA/1MB SPIFFS)
4917+
lilygo_t3s3.menu.PartitionScheme.huge_app.build.partitions=huge_app
4918+
lilygo_t3s3.menu.PartitionScheme.huge_app.upload.maximum_size=3145728
4919+
lilygo_t3s3.menu.PartitionScheme.min_spiffs=Minimal SPIFFS (1.9MB APP with OTA/190KB SPIFFS)
4920+
lilygo_t3s3.menu.PartitionScheme.min_spiffs.build.partitions=min_spiffs
4921+
lilygo_t3s3.menu.PartitionScheme.min_spiffs.upload.maximum_size=1966080
4922+
4923+
lilygo_t3s3.menu.CPUFreq.240=240MHz (WiFi/BT)
4924+
lilygo_t3s3.menu.CPUFreq.240.build.f_cpu=240000000L
4925+
lilygo_t3s3.menu.CPUFreq.160=160MHz (WiFi/BT)
4926+
lilygo_t3s3.menu.CPUFreq.160.build.f_cpu=160000000L
4927+
lilygo_t3s3.menu.CPUFreq.80=80MHz (WiFi/BT)
4928+
lilygo_t3s3.menu.CPUFreq.80.build.f_cpu=80000000L
4929+
4930+
lilygo_t3s3.menu.FlashMode.qio=QIO
4931+
lilygo_t3s3.menu.FlashMode.qio.build.flash_mode=dio
4932+
lilygo_t3s3.menu.FlashMode.qio.build.boot=qio
4933+
lilygo_t3s3.menu.FlashMode.dio=DIO
4934+
lilygo_t3s3.menu.FlashMode.dio.build.flash_mode=dio
4935+
lilygo_t3s3.menu.FlashMode.dio.build.boot=dio
4936+
4937+
lilygo_t3s3.menu.FlashFreq.80=80MHz
4938+
lilygo_t3s3.menu.FlashFreq.80.build.flash_freq=80m
4939+
lilygo_t3s3.menu.FlashFreq.40=40MHz
4940+
lilygo_t3s3.menu.FlashFreq.40.build.flash_freq=40m
4941+
4942+
lilygo_t3s3.menu.UploadSpeed.921600=921600
4943+
lilygo_t3s3.menu.UploadSpeed.921600.upload.speed=921600
4944+
lilygo_t3s3.menu.UploadSpeed.115200=115200
4945+
lilygo_t3s3.menu.UploadSpeed.115200.upload.speed=115200
4946+
lilygo_t3s3.menu.UploadSpeed.256000.windows=256000
4947+
lilygo_t3s3.menu.UploadSpeed.256000.upload.speed=256000
4948+
lilygo_t3s3.menu.UploadSpeed.230400.windows.upload.speed=256000
4949+
lilygo_t3s3.menu.UploadSpeed.230400=230400
4950+
lilygo_t3s3.menu.UploadSpeed.230400.upload.speed=230400
4951+
lilygo_t3s3.menu.UploadSpeed.460800.linux=460800
4952+
lilygo_t3s3.menu.UploadSpeed.460800.macosx=460800
4953+
lilygo_t3s3.menu.UploadSpeed.460800.upload.speed=460800
4954+
lilygo_t3s3.menu.UploadSpeed.512000.windows=512000
4955+
lilygo_t3s3.menu.UploadSpeed.512000.upload.speed=512000
4956+
4957+
lilygo_t3s3.menu.DebugLevel.none=None
4958+
lilygo_t3s3.menu.DebugLevel.none.build.code_debug=0
4959+
lilygo_t3s3.menu.DebugLevel.error=Error
4960+
lilygo_t3s3.menu.DebugLevel.error.build.code_debug=1
4961+
lilygo_t3s3.menu.DebugLevel.warn=Warn
4962+
lilygo_t3s3.menu.DebugLevel.warn.build.code_debug=2
4963+
lilygo_t3s3.menu.DebugLevel.info=Info
4964+
lilygo_t3s3.menu.DebugLevel.info.build.code_debug=3
4965+
lilygo_t3s3.menu.DebugLevel.debug=Debug
4966+
lilygo_t3s3.menu.DebugLevel.debug.build.code_debug=4
4967+
lilygo_t3s3.menu.DebugLevel.verbose=Verbose
4968+
lilygo_t3s3.menu.DebugLevel.verbose.build.code_debug=5
4969+
4970+
lilygo_t3s3.menu.EraseFlash.none=Disabled
4971+
lilygo_t3s3.menu.EraseFlash.none.upload.erase_cmd=
4972+
lilygo_t3s3.menu.EraseFlash.all=Enabled
4973+
lilygo_t3s3.menu.EraseFlash.all.upload.erase_cmd=-e
4974+
4975+
lilygo_t3s3.menu.Revision.Radio_SX1262=Radio-SX1262
4976+
lilygo_t3s3.menu.Revision.Radio_SX1262.build.board=LILYGO_T3S3_SX1262
4977+
lilygo_t3s3.menu.Revision.Radio_SX1262.build.variant=lilygo_t3_s3_sx1262
4978+
4979+
lilygo_t3s3.menu.Revision.Radio_SX1276=Radio-SX1276
4980+
lilygo_t3s3.menu.Revision.Radio_SX1276.build.board=LILYGO_T3S3_SX1276
4981+
lilygo_t3s3.menu.Revision.Radio_SX1276.build.variant=lilygo_t3_s3_sx127x
4982+
4983+
lilygo_t3s3.menu.Revision.Radio_SX1278=Radio-SX1278
4984+
lilygo_t3s3.menu.Revision.Radio_SX1278.build.board=LILYGO_T3S3_SX1278
4985+
lilygo_t3s3.menu.Revision.Radio_SX1278.build.variant=lilygo_t3_s3_sx127x
4986+
4987+
lilygo_t3s3.menu.Revision.Radio_SX1280=Radio-SX1280
4988+
lilygo_t3s3.menu.Revision.Radio_SX1280.build.board=LILYGO_T3S3_SX1280
4989+
lilygo_t3s3.menu.Revision.Radio_SX1280.build.variant=lilygo_t3_s3_sx1280
4990+
4991+
lilygo_t3s3.menu.Revision.Radio_SX1280PA=Radio-SX1280PA
4992+
lilygo_t3s3.menu.Revision.Radio_SX1280PA.build.board=LILYGO_T3S3_SX1280PA
4993+
lilygo_t3s3.menu.Revision.Radio_SX1280PA.build.variant=lilygo_t3_s3_sx1280pa
4994+
4995+
lilygo_t3s3.menu.Revision.Radio_LR1121=Radio-LR1121
4996+
lilygo_t3s3.menu.Revision.Radio_LR1121.build.board=LILYGO_T3S3_LR1121
4997+
lilygo_t3s3.menu.Revision.Radio_LR1121.build.variant=lilygo_t3_s3_lr1121
48144998
##############################################################
48154999

48165000
micros2.name=microS2

Diff for: variants/lilygo_t3_s3_lr1121/pins_arduino.h

+69
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
#ifndef Pins_Arduino_h
2+
#define Pins_Arduino_h
3+
4+
#include <stdint.h>
5+
6+
#define USB_VID 0x303a
7+
#define USB_PID 0x820A
8+
9+
static const uint8_t LED_BUILTIN = 37;
10+
#define BUILTIN_LED LED_BUILTIN // backward compatibility
11+
#define LED_BUILTIN LED_BUILTIN // allow testing #ifdef LED_BUILTIN
12+
13+
14+
static const uint8_t BUTTON_1 = 0;
15+
static const uint8_t BAT_VOLT = 1;
16+
17+
static const uint8_t TX = 43;
18+
static const uint8_t RX = 44;
19+
20+
static const uint8_t SDA = 18;
21+
static const uint8_t SCL = 17;
22+
23+
#define WIRE1_PIN_DEFINED //QWIIC
24+
static const uint8_t SDA1 = 10;
25+
static const uint8_t SCL1 = 21;
26+
27+
// SD Card SPI
28+
static const uint8_t SS = 13;
29+
static const uint8_t MOSI = 11;
30+
static const uint8_t MISO = 2;
31+
static const uint8_t SCK = 14;
32+
33+
#define LORA_SCK 5 // LR1121 SCK
34+
#define LORA_MISO 3 // LR1121 MISO
35+
#define LORA_MOSI 6 // LR1121 MOSI
36+
#define LORA_CS 7 // LR1121 CS
37+
#define LORA_RST 8 // LR1121 RST
38+
39+
#define LORA_DIO9 36 // LR1121 DIO9
40+
#define LORA_BUSY 34 // LR1121 BUSY
41+
#define LORA_IRQ LORA_DIO9
42+
43+
// P1
44+
static const uint8_t PIN_42 = 45;
45+
static const uint8_t PIN_46 = 46;
46+
static const uint8_t PIN_45 = 45;
47+
static const uint8_t PIN_41 = 41;
48+
static const uint8_t PIN_40 = 40;
49+
static const uint8_t PIN_39 = 39;
50+
static const uint8_t PIN_43 = 43;
51+
static const uint8_t PIN_44 = 44;
52+
static const uint8_t PIN_38 = 38;
53+
54+
// P2
55+
static const uint8_t PIN_37 = 37;
56+
static const uint8_t PIN_36 = 36;
57+
static const uint8_t PIN_0 = 0;
58+
static const uint8_t PIN_35 = 35;
59+
static const uint8_t PIN_34 = 34;
60+
static const uint8_t PIN_33 = 33;
61+
static const uint8_t PIN_47 = 47;
62+
static const uint8_t PIN_48 = 48;
63+
static const uint8_t PIN_12 = 12;
64+
static const uint8_t PIN_8 = 8;
65+
static const uint8_t PIN_15 = 15;
66+
static const uint8_t PIN_16 = 16;
67+
68+
69+
#endif /* Pins_Arduino_h */

Diff for: variants/lilygo_t3_s3_sx1262/pins_arduino.h

+69
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
#ifndef Pins_Arduino_h
2+
#define Pins_Arduino_h
3+
4+
#include <stdint.h>
5+
6+
#define USB_VID 0x303a
7+
#define USB_PID 0x820A
8+
9+
static const uint8_t LED_BUILTIN = 37;
10+
#define BUILTIN_LED LED_BUILTIN // backward compatibility
11+
#define LED_BUILTIN LED_BUILTIN // allow testing #ifdef LED_BUILTIN
12+
13+
14+
static const uint8_t BUTTON_1 = 0;
15+
static const uint8_t BAT_VOLT = 1;
16+
17+
static const uint8_t TX = 43;
18+
static const uint8_t RX = 44;
19+
20+
static const uint8_t SDA = 18;
21+
static const uint8_t SCL = 17;
22+
23+
#define WIRE1_PIN_DEFINED //QWIIC
24+
static const uint8_t SDA1 = 10;
25+
static const uint8_t SCL1 = 21;
26+
27+
// SD Card SPI
28+
static const uint8_t SS = 13;
29+
static const uint8_t MOSI = 11;
30+
static const uint8_t MISO = 2;
31+
static const uint8_t SCK = 14;
32+
33+
#define LORA_SCK 5 // SX1262 SCK
34+
#define LORA_MISO 3 // SX1262 MISO
35+
#define LORA_MOSI 6 // SX1262 MOSI
36+
#define LORA_CS 7 // SX1262 CS
37+
#define LORA_RST 8 // SX1262 RST
38+
39+
#define LORA_DIO1 33 //SX1262 DIO1
40+
#define LORA_BUSY 34
41+
#define LORA_IRQ LORA_DIO1
42+
43+
// P1
44+
static const uint8_t PIN_42 = 45;
45+
static const uint8_t PIN_46 = 46;
46+
static const uint8_t PIN_45 = 45;
47+
static const uint8_t PIN_41 = 41;
48+
static const uint8_t PIN_40 = 40;
49+
static const uint8_t PIN_39 = 39;
50+
static const uint8_t PIN_43 = 43;
51+
static const uint8_t PIN_44 = 44;
52+
static const uint8_t PIN_38 = 38;
53+
54+
// P2
55+
static const uint8_t PIN_37 = 37;
56+
static const uint8_t PIN_36 = 36;
57+
static const uint8_t PIN_0 = 0;
58+
static const uint8_t PIN_35 = 35;
59+
static const uint8_t PIN_34 = 34;
60+
static const uint8_t PIN_33 = 33;
61+
static const uint8_t PIN_47 = 47;
62+
static const uint8_t PIN_48 = 48;
63+
static const uint8_t PIN_12 = 12;
64+
static const uint8_t PIN_8 = 8;
65+
static const uint8_t PIN_15 = 15;
66+
static const uint8_t PIN_16 = 16;
67+
68+
69+
#endif /* Pins_Arduino_h */

0 commit comments

Comments
 (0)