Skip to content

Commit 1535829

Browse files
ci(pre-commit): Apply automatic fixes
1 parent edac24c commit 1535829

File tree

4 files changed

+162
-163
lines changed

4 files changed

+162
-163
lines changed

Diff for: boards.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -46871,4 +46871,4 @@ waveshare_esp32_s3_touch_amoled_191.menu.EraseFlash.none.upload.erase_cmd=
4687146871
waveshare_esp32_s3_touch_amoled_191.menu.EraseFlash.all=Enabled
4687246872
waveshare_esp32_s3_touch_amoled_191.menu.EraseFlash.all.upload.erase_cmd=-e
4687346873

46874-
##############################################################
46874+
##############################################################
+49-49
Original file line numberDiff line numberDiff line change
@@ -1,49 +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 */
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 */
+55-55
Original file line numberDiff line numberDiff line change
@@ -1,55 +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 */
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 */
+57-58
Original file line numberDiff line numberDiff line change
@@ -1,58 +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-
32-
// Partial voltage measurement method
33-
#define BAT_ADC 1
34-
// Onboard QMI8658 IMU
35-
#define QMI_INT1 45
36-
#define QMI_INT1 46
37-
38-
//SD
39-
#define SD_CS 9
40-
#define SD_MISO 8
41-
#define SD_MOSI 42
42-
#define SD_CLK 47
43-
44-
//i2c
45-
46-
static const uint8_t SDA = 40;
47-
static const uint8_t SCL = 39;
48-
49-
// UART0 pins
50-
static const uint8_t TX = 43;
51-
static const uint8_t RX = 44;
52-
53-
//esp32s3-PSFlash SPI1/SPI0
54-
static const uint8_t SS = 34; // FSPICS0
55-
static const uint8_t MOSI = 35; // FSPID
56-
static const uint8_t MISO = 37; // FSPIQ
57-
static const uint8_t SCK = 36; // FSPICLK
58-
#endif /* Pins_Arduino_h */
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)