File tree Expand file tree Collapse file tree 2 files changed +33
-16
lines changed
variants/lilygo_twatch_ultra Expand file tree Collapse file tree 2 files changed +33
-16
lines changed Original file line number Diff line number Diff line change @@ -6235,6 +6235,8 @@ twatch_ultra.menu.Revision.Radio_SX1280=Radio-SX1280
6235
6235
twatch_ultra.menu.Revision.Radio_SX1280.build.board=LILYGO_LORA_SX1280
6236
6236
twatch_ultra.menu.Revision.Radio_SX1262=Radio-SX1262
6237
6237
twatch_ultra.menu.Revision.Radio_SX1262.build.board=LILYGO_LORA_SX1262
6238
+ twatch_ultra.menu.Revision.Radio_CC1101=Radio-CC1101
6239
+ twatch_ultra.menu.Revision.Radio_CC1101.build.board=LILYGO_LORA_CC1101
6238
6240
6239
6241
6240
6242
##############################################################
Original file line number Diff line number Diff line change 12
12
#define USB_MANUFACTURER "LILYGO"
13
13
#define USB_PRODUCT "T-Watch-Ultra"
14
14
15
- #define DISP_WIDTH (240)
16
- #define DISP_HEIGHT (296)
17
-
18
- #define DISP_D0 (39)
19
- #define DISP_D1 (40)
20
- #define DISP_D2 (45)
21
- #define DISP_D3 (42)
22
- #define DISP_SCK (41)
23
- #define DISP_RST (6)
24
- #define DISP_CS (38)
25
- #define DISP_TE (37)
26
-
27
- // touch screen
28
- #define TP_INT (12)
29
- #define TP_RST (46)
15
+ #define DISP_WIDTH 502
16
+ #define DISP_HEIGHT 410
17
+
18
+ // QSPI interface display
19
+ #define DISP_D0 (38)
20
+ #define DISP_D1 (39)
21
+ #define DISP_D2 (42)
22
+ #define DISP_D3 (45)
23
+ #define DISP_SCK (40)
24
+ #define DISP_CS (41)
25
+ #define DISP_TE (6)
26
+
30
27
// Interrupt IO port
28
+ #define TP_INT (12)
31
29
#define RTC_INT (1)
32
30
#define PMU_INT (7)
33
31
#define NFC_INT (5)
34
32
#define SENSOR_INT (8)
35
- #define NFC_RST (4)
33
+ #define NFC_CS (4)
36
34
37
35
// PDM microphone
38
36
#define MIC_SCK (17)
@@ -61,6 +59,7 @@ static const uint8_t SCK = 35;
61
59
62
60
#define GPS_TX (TX)
63
61
#define GPS_RX (RX)
62
+ #define GPS_PPS (13)
64
63
65
64
#define TP_SDA (SDA)
66
65
#define TP_SCL (SCL)
@@ -74,4 +73,20 @@ static const uint8_t SCK = 35;
74
73
#define LORA_BUSY (48)
75
74
#define LORA_IRQ (14)
76
75
76
+ // External expansion chip IO definition
77
+ #define EXPANDS_DRV_EN (6)
78
+ #define EXPANDS_DISP_EN (7)
79
+ #define EXPANDS_TOUCH_RST (10)
80
+ #define EXPANDS_DISP_RST (11)
81
+
82
+ // Peripheral definition exists
83
+ #define USING_XL9555_EXPANDS
84
+ #define USING_PCM_AMPLIFIER
85
+ #define USING_PDM_MICROPHONE
86
+ #define USING_PMU_MANAGE
87
+ #define USING_INPUT_DEV_TOUCHPAD
88
+ #define USING_ST25R3916
89
+ #define USING_BHI260_SENSOR
90
+ #define HAS_SD_CARD_SOCKET
91
+
77
92
#endif /* Pins_Arduino_h */
You can’t perform that action at this time.
0 commit comments