Skip to content

Commit 339d659

Browse files
authored
Merge branch 'master' into ci/improve_requirements
2 parents f2c93db + 11f3cff commit 339d659

File tree

7 files changed

+780
-1
lines changed

7 files changed

+780
-1
lines changed

boards.txt

+606
Large diffs are not rendered by default.

libraries/BLE/examples/BLE5_periodic_advertising/BLE5_periodic_advertising.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
Simple BLE5 multi advertising example on esp32 C3/S3
2+
Simple BLE5 periodic advertising example on esp32 C3/S3
33
only ESP_BLE_GAP_SET_EXT_ADV_PROP_NONCONN_NONSCANNABLE_UNDIRECTED can be used for periodic advertising
44
55
author: chegewara

tools/get.exe

550 KB
Binary file not shown.

tools/get.py

+12
Original file line numberDiff line numberDiff line change
@@ -369,6 +369,10 @@ def load_tools_list(filename, platform):
369369
tools_info = json.load(open(filename))["packages"][0]["tools"]
370370
tools_to_download = []
371371
for t in tools_info:
372+
if platform == "x86_64-mingw32":
373+
if "i686-mingw32" not in [p["host"] for p in t["systems"]]:
374+
raise Exception("Windows x64 requires both i686-mingw32 and x86_64-mingw32 tools")
375+
372376
tool_platform = [p for p in t["systems"] if p["host"] == platform]
373377
if len(tool_platform) == 0:
374378
# Fallback to x86 on Apple ARM
@@ -382,6 +386,8 @@ def load_tools_list(filename, platform):
382386
if len(tool_platform) == 0:
383387
continue
384388
else:
389+
if verbose:
390+
print(f"Tool {t['name']} is not available for platform {platform}")
385391
continue
386392
tools_to_download.append(tool_platform[0])
387393
return tools_to_download
@@ -433,6 +439,12 @@ def identify_platform():
433439
force_all = args.force_all
434440
is_test = args.test
435441

442+
# Set current directory to the script location
443+
if getattr(sys, "frozen", False):
444+
os.chdir(os.path.dirname(sys.executable))
445+
else:
446+
os.chdir(os.path.dirname(os.path.abspath(__file__)))
447+
436448
if is_test and (force_download or force_extract or force_all):
437449
print("Cannot combine test (-t) and forced execution (-d | -e | -f)")
438450
parser.print_help(sys.stderr)
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 */
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 */
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)