Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 57d0dee

Browse files
wurongminpre-commit-ci-lite[bot]
andauthoredNov 4, 2024··
feat(boards): add Waveshare ESP32-S3-Touch-AMOLED boards (#10549)
* Add files via upload * Add files via upload * feat(boards): add Waveshare ESP32-S3-Touch-AMOLED boards Added three micro snow development boards to boards * feat(boards): add Waveshare ESP32-S3-Touch-AMOLED variants A trio of micro-snow variants have been added to the variants * Delete variants/waveshare_esp32_s3_touch_amoled_143/pins_arduino.h * Delete variants/waveshare_esp32_s3_touch_amoled_164 directory * Delete variants/waveshare_esp32_s3_touch_amoled_191 directory * feat(boards): Three variants of the development board were added waveshare_esp32_s3_touch_amoled_143 waveshare_esp32_s3_touch_amoled_164 waveshare_esp32_s3_touch_amoled_191 * feat(boards): Add three boards to boards * feat(boards): Add the variants * feat(boards): Fixed the boards file To ensure that each plate type only one * ci(pre-commit): Apply automatic fixes --------- Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
1 parent eeecf84 commit 57d0dee

File tree

4 files changed

+767
-0
lines changed

4 files changed

+767
-0
lines changed
 

‎boards.txt

Lines changed: 606 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
#ifndef Pins_Arduino_h
2+
#define Pins_Arduino_h
3+
4+
#include <stdint.h>
5+
#include "soc/soc_caps.h"
6+
7+
// BN: ESP32 Family Device
8+
#define USB_VID 0x303a
9+
#define USB_PID 0x824A
10+
11+
#define USB_MANUFACTURER "Waveshare"
12+
#define USB_PRODUCT "ESP32-S3-Touch-AMOLED-1.43"
13+
#define USB_SERIAL ""
14+
15+
// display QSPI SPI2
16+
#define QSPI_CS 9
17+
#define QSPI_SCK 10
18+
#define QSPI_D0 11
19+
#define QSPI_D1 12
20+
#define QSPI_D2 13
21+
#define QSPI_D3 14
22+
#define AMOLED_RESET 21
23+
#define AMOLED_TE -1
24+
#define AMOLED_PWR_EN -1
25+
// Touch I2C
26+
#define TP_SCL 48
27+
#define TP_SDA 47
28+
#define TP_RST -1
29+
#define TP_INT -1
30+
31+
// RTC
32+
#define RTC_INT 15
33+
// Partial voltage measurement method
34+
#define BAT_ADC 4
35+
// Onboard QMI8658 IMU
36+
#define QMI_INT1 8
37+
38+
static const uint8_t SDA = 47;
39+
static const uint8_t SCL = 48;
40+
// UART0 pins
41+
static const uint8_t TX = 43;
42+
static const uint8_t RX = 44;
43+
44+
//esp32s3-PSFlash SPI1/SPI0
45+
static const uint8_t SS = 34; // FSPICS0
46+
static const uint8_t MOSI = 35; // FSPID
47+
static const uint8_t MISO = 37; // FSPIQ
48+
static const uint8_t SCK = 36; // FSPICLK
49+
#endif /* Pins_Arduino_h */
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
#ifndef Pins_Arduino_h
2+
#define Pins_Arduino_h
3+
4+
#include <stdint.h>
5+
#include "soc/soc_caps.h"
6+
7+
// BN: ESP32 Family Device
8+
#define USB_VID 0x303a
9+
#define USB_PID 0x8249
10+
11+
#define USB_MANUFACTURER "Waveshare"
12+
#define USB_PRODUCT "ESP32-S3-Touch-AMOLED-1.64"
13+
#define USB_SERIAL ""
14+
15+
// display QSPI SPI2
16+
#define QSPI_CS 9
17+
#define QSPI_SCK 10
18+
#define QSPI_D0 11
19+
#define QSPI_D1 12
20+
#define QSPI_D2 13
21+
#define QSPI_D3 14
22+
#define AMOLED_RESET 21
23+
#define AMOLED_TE -1
24+
#define AMOLED_PWR_EN -1
25+
26+
// Touch I2C
27+
#define TP_SCL 48
28+
#define TP_SDA 47
29+
#define TP_RST -1
30+
#define TP_INT -1
31+
32+
//key
33+
#define KEY_0 0
34+
//ADC
35+
#define BAT_ADC 4
36+
37+
//SD_CARD
38+
#define SD_CS 38
39+
#define SD_MOSI 39
40+
#define SD_MISO 40
41+
#define SD_SCLK 41
42+
43+
static const uint8_t SDA = 47;
44+
static const uint8_t SCL = 48;
45+
46+
// UART0 pins
47+
static const uint8_t TX = 43;
48+
static const uint8_t RX = 44;
49+
50+
//esp32s3-PSFlash SPI1/SPI0
51+
static const uint8_t SS = 34; // FSPICS0
52+
static const uint8_t MOSI = 35; // FSPID
53+
static const uint8_t MISO = 37; // FSPIQ
54+
static const uint8_t SCK = 36; // FSPICLK
55+
#endif /* Pins_Arduino_h */
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
#ifndef Pins_Arduino_h
2+
#define Pins_Arduino_h
3+
4+
#include <stdint.h>
5+
#include "soc/soc_caps.h"
6+
7+
// BN: ESP32 Family Device
8+
#define USB_VID 0x303a
9+
#define USB_PID 0x824B
10+
11+
#define USB_MANUFACTURER "Waveshare"
12+
#define USB_PRODUCT "ESP32-S3-Touch-AMOLED-1.91"
13+
#define USB_SERIAL ""
14+
15+
// display QSPI SPI2
16+
#define QSPI_CS 6
17+
#define QSPI_SCK 47
18+
#define QSPI_D0 18
19+
#define QSPI_D1 7
20+
#define QSPI_D2 48
21+
#define QSPI_D3 5
22+
#define AMOLED_RESET 17
23+
#define AMOLED_TE -1
24+
#define AMOLED_PWR_EN -1
25+
// Touch I2C
26+
#define TP_SCL 39
27+
#define TP_SDA 40
28+
#define TP_RST -1
29+
#define TP_INT -1
30+
31+
// Partial voltage measurement method
32+
#define BAT_ADC 1
33+
// Onboard QMI8658 IMU
34+
#define QMI_INT1 45
35+
#define QMI_INT1 46
36+
37+
//SD
38+
#define SD_CS 9
39+
#define SD_MISO 8
40+
#define SD_MOSI 42
41+
#define SD_CLK 47
42+
43+
//i2c
44+
45+
static const uint8_t SDA = 40;
46+
static const uint8_t SCL = 39;
47+
48+
// UART0 pins
49+
static const uint8_t TX = 43;
50+
static const uint8_t RX = 44;
51+
52+
//esp32s3-PSFlash SPI1/SPI0
53+
static const uint8_t SS = 34; // FSPICS0
54+
static const uint8_t MOSI = 35; // FSPID
55+
static const uint8_t MISO = 37; // FSPIQ
56+
static const uint8_t SCK = 36; // FSPICLK
57+
#endif /* Pins_Arduino_h */

0 commit comments

Comments
 (0)
Please sign in to comment.