Skip to content

Commit 5156766

Browse files
authored
Arduino espressif32 core 3.1.1
1 parent 68e9df1 commit 5156766

9 files changed

+317
-3
lines changed

boards/adafruit_qualia_s3_rgb666.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
{
22
"build": {
33
"arduino":{
4-
"ldscript": "esp32s3_out.ld",
54
"memory_type": "qio_opi",
6-
"partitions": "partitions-16MB-tinyuf2.csv"
5+
"partitions": "tinyuf2-partitions-16MB.csv"
76
},
87
"core": "esp32",
98
"extra_flags": [

boards/huidu_hd_wf2.json

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
{
2+
"build": {
3+
"arduino": {
4+
"partitions": "default_8MB.csv"
5+
},
6+
"core": "esp32",
7+
"extra_flags": [
8+
"-DARDUINO_HUIDU_HD_WF2",
9+
"-DARDUINO_USB_MODE=1",
10+
"-DARDUINO_RUNNING_CORE=1",
11+
"-DARDUINO_EVENT_RUNNING_CORE=1",
12+
"-DARDUINO_USB_CDC_ON_BOOT=1"
13+
],
14+
"f_cpu": "240000000L",
15+
"f_flash": "80000000L",
16+
"flash_mode": "dio",
17+
"hwids": [
18+
[
19+
"0x303A",
20+
"0x1001"
21+
]
22+
],
23+
"mcu": "esp32s3",
24+
"variant": "huidu_hd_wf2"
25+
},
26+
"connectivity": [
27+
"bluetooth",
28+
"wifi"
29+
],
30+
"debug": {
31+
"default_tool": "esp-builtin",
32+
"onboard_tools": [
33+
"esp-builtin"
34+
],
35+
"openocd_target": "esp32s3.cfg"
36+
},
37+
"frameworks": [
38+
"arduino",
39+
"espidf"
40+
],
41+
"name": "Huidu HD-WF2",
42+
"upload": {
43+
"flash_size": "8MB",
44+
"maximum_ram_size": 327680,
45+
"maximum_size": 8388608,
46+
"require_upload_port": true,
47+
"speed": 460800
48+
},
49+
"url": "https://www.hdwell.com/Product/index46.html",
50+
"vendor": "Huidu Tech",
51+
"information_urls": [
52+
"https://github.com/mrcodetastic/ESP32-HUB75-MatrixPanel-DMA/discussions/667",
53+
"https://github.com/vortigont/FireLamp_JeeUI/wiki/Huidu-HD%E2%80%90WF2"
54+
]
55+
}

boards/huidu_hd_wf4.json

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
{
2+
"build": {
3+
"arduino": {
4+
"partitions": "default_8MB.csv"
5+
},
6+
"core": "esp32",
7+
"extra_flags": [
8+
"-DARDUINO_HUIDU_HD_WF4",
9+
"-DARDUINO_USB_MODE=1",
10+
"-DARDUINO_RUNNING_CORE=1",
11+
"-DARDUINO_EVENT_RUNNING_CORE=1",
12+
"-DARDUINO_USB_CDC_ON_BOOT=1"
13+
],
14+
"f_cpu": "240000000L",
15+
"f_flash": "80000000L",
16+
"flash_mode": "dio",
17+
"hwids": [
18+
[
19+
"0x303A",
20+
"0x1001"
21+
]
22+
],
23+
"mcu": "esp32s3",
24+
"variant": "huidu_hd_wf4"
25+
},
26+
"connectivity": [
27+
"bluetooth",
28+
"wifi"
29+
],
30+
"debug": {
31+
"default_tool": "esp-builtin",
32+
"onboard_tools": [
33+
"esp-builtin"
34+
],
35+
"openocd_target": "esp32s3.cfg"
36+
},
37+
"frameworks": [
38+
"arduino",
39+
"espidf"
40+
],
41+
"name": "Huidu HD-WF4",
42+
"upload": {
43+
"flash_size": "8MB",
44+
"maximum_ram_size": 327680,
45+
"maximum_size": 8388608,
46+
"require_upload_port": true,
47+
"speed": 460800
48+
},
49+
"url": "https://www.hdwell.com/Product/index46.html",
50+
"vendor": "Huidu Tech",
51+
"information_urls": [
52+
"https://github.com/mrcodetastic/ESP32-HUB75-MatrixPanel-DMA/discussions/667",
53+
"https://github.com/vortigont/FireLamp_JeeUI/wiki/Huidu-HD%E2%80%90WF4"
54+
]
55+
}

boards/jczn_2432s028r.json

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"build": {
3+
"core": "esp32",
4+
"extra_flags": "-DARDUINO_JCZN_2432S028R",
5+
"f_cpu": "240000000L",
6+
"f_flash": "40000000L",
7+
"flash_mode": "qio",
8+
"mcu": "esp32",
9+
"variant": "jczn_2432s028r"
10+
},
11+
"connectivity": [
12+
"wifi",
13+
"bluetooth"
14+
],
15+
"debug": {
16+
"openocd_board": "esp-wroom-32.cfg"
17+
},
18+
"frameworks": [
19+
"arduino",
20+
"espidf"
21+
],
22+
"name": "ESP32-2432S028R CYD",
23+
"upload": {
24+
"flash_size": "4MB",
25+
"maximum_ram_size": 327680,
26+
"maximum_size": 4194304,
27+
"require_upload_port": true,
28+
"speed": 460800
29+
},
30+
"url": "http://pan.jczn1688.com/directlink/1/ESP32%20module/2.8inch_ESP32-2432S028R.rar",
31+
"vendor": "JCZN"
32+
}

boards/lilygo-t3-s3.json

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
"build": {
3+
"arduino": {
4+
"memory_type": "qio_qspi"
5+
},
6+
"core": "esp32",
7+
"extra_flags": [
8+
"-DARDUINO_LILYGO_T3_S3_V1_X",
9+
"-DBOARD_HAS_PSRAM",
10+
"-DARDUINO_USB_CDC_ON_BOOT=1",
11+
"-DARDUINO_RUNNING_CORE=1",
12+
"-DARDUINO_EVENT_RUNNING_CORE=1",
13+
"-DARDUINO_USB_MODE=1"
14+
],
15+
"f_cpu": "240000000L",
16+
"f_flash": "80000000L",
17+
"flash_mode": "qio",
18+
"mcu": "esp32s3",
19+
"variant": "esp32s3"
20+
},
21+
"connectivity": [
22+
"bluetooth",
23+
"wifi"
24+
],
25+
"debug": {
26+
"openocd_target": "esp32s3.cfg"
27+
},
28+
"frameworks": [
29+
"arduino",
30+
"espidf"
31+
],
32+
"name": "LilyGo T3-S3",
33+
"upload": {
34+
"flash_size": "4MB",
35+
"maximum_ram_size": 327680,
36+
"maximum_size": 4194304,
37+
"require_upload_port": true,
38+
"speed": 460800
39+
},
40+
"url": "https://lilygo.cc/products/t3s3-v1-0",
41+
"vendor": "LilyGo"
42+
}
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
{
2+
"build": {
3+
"arduino": {
4+
"memory_type": "qio_qspi"
5+
},
6+
"core": "esp32",
7+
"extra_flags": [
8+
"-DBOARD_HAS_PSRAM",
9+
"-DARDUINO_ESP32S3_DEV",
10+
"-DARDUINO_USB_MODE=1",
11+
"-DARDUINO_RUNNING_CORE=1",
12+
"-DARDUINO_EVENT_RUNNING_CORE=1",
13+
"-DARDUINO_USB_CDC_ON_BOOT=1"
14+
],
15+
"f_cpu": "240000000L",
16+
"f_flash": "80000000L",
17+
"flash_mode": "qio",
18+
"hwids": [
19+
[
20+
"0x303A",
21+
"0x1001"
22+
]
23+
],
24+
"mcu": "esp32s3",
25+
"variant": "sparkfun_esp32s3_thing_plus"
26+
},
27+
"connectivity": [
28+
"bluetooth",
29+
"wifi"
30+
],
31+
"debug": {
32+
"default_tool": "esp-builtin",
33+
"onboard_tools": [
34+
"esp-builtin"
35+
],
36+
"openocd_target": "esp32s3.cfg"
37+
},
38+
"frameworks": [
39+
"arduino",
40+
"espidf"
41+
],
42+
"name": "SPARKFUN_ESP32S3_THING_PLUS",
43+
"upload": {
44+
"flash_size": "4MB",
45+
"maximum_ram_size": 327680,
46+
"maximum_size": 4194304,
47+
"require_upload_port": true,
48+
"speed": 460800
49+
},
50+
"url": "https://www.sparkfun.com/products/24408",
51+
"vendor": "SparkFun"
52+
}

boards/waveshare_esp32_s3_zero.json

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{
2+
"build": {
3+
"arduino":{
4+
"memory_type": "qio_qspi"
5+
},
6+
"core": "esp32",
7+
"f_cpu": "240000000L",
8+
"f_flash": "80000000L",
9+
"flash_mode": "qio",
10+
"mcu": "esp32s3",
11+
"variant": "waveshare_esp32_s3_zero",
12+
"extra_flags": [
13+
"-DARDUINO_ESP32S3_DEV",
14+
"-DARDUINO_USB_MODE=1",
15+
"-DARDUINO_RUNNING_CORE=1",
16+
"-DARDUINO_EVENT_RUNNING_CORE=1",
17+
"-DBOARD_HAS_PSRAM"
18+
]
19+
},
20+
"connectivity": [
21+
"bluetooth",
22+
"wifi"
23+
],
24+
"debug": {
25+
"openocd_target": "esp32s3.cfg"
26+
},
27+
"frameworks": [
28+
"arduino",
29+
"espidf"
30+
],
31+
"name": "Waveshare ESP32-S3-Zero",
32+
"upload": {
33+
"flash_size": "4MB",
34+
"maximum_ram_size": 327680,
35+
"maximum_size": 4194304,
36+
"require_upload_port": true,
37+
"speed": 460800
38+
},
39+
"url": "https://www.waveshare.com/wiki/ESP32-S3-Zero",
40+
"vendor": "Waveshare"
41+
}

boards/ws_esp32_s3_matrix.json

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"build": {
3+
"core": "esp32",
4+
"f_cpu": "240000000L",
5+
"f_flash": "80000000L",
6+
"memory_type": "qio_qspi",
7+
"mcu": "esp32s3",
8+
"variant": "ws_esp32_s3_matrix"
9+
},
10+
"connectivity": [
11+
"bluetooth",
12+
"wifi"
13+
],
14+
"debug": {
15+
"openocd_target": "esp32s3.cfg"
16+
},
17+
"frameworks": [
18+
"arduino",
19+
"espidf"
20+
],
21+
"name": "Waveshare ESP32-S3-Matrix",
22+
"upload": {
23+
"flash_size": "4MB",
24+
"maximum_ram_size": 327680,
25+
"maximum_size": 4194304,
26+
"wait_for_upload_port": true,
27+
"require_upload_port": true,
28+
"speed": 460800
29+
},
30+
"url": "https://www.waveshare.com/wiki/ESP32-S3-Matrix",
31+
"vendor": "Waveshare"
32+
}

builder/frameworks/espidf.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,13 +405,15 @@ def is_cmake_reconfigure_required(cmake_api_reply_dir):
405405
]
406406
cmake_preconf_dir = os.path.join(BUILD_DIR, "config")
407407
deafult_sdk_config = os.path.join(PROJECT_DIR, "sdkconfig.defaults")
408+
idf_deps_lock = os.path.join(PROJECT_DIR, "dependencies.lock")
409+
ninja_buildfile = os.path.join(BUILD_DIR, "build.ninja")
408410

409411
for d in (cmake_api_reply_dir, cmake_preconf_dir):
410412
if not os.path.isdir(d) or not os.listdir(d):
411413
return True
412414
if not os.path.isfile(cmake_cache_file):
413415
return True
414-
if not os.path.isfile(os.path.join(BUILD_DIR, "build.ninja")):
416+
if not os.path.isfile(ninja_buildfile):
415417
return True
416418
if not os.path.isfile(SDKCONFIG_PATH) or os.path.getmtime(
417419
SDKCONFIG_PATH
@@ -421,6 +423,10 @@ def is_cmake_reconfigure_required(cmake_api_reply_dir):
421423
deafult_sdk_config
422424
) > os.path.getmtime(cmake_cache_file):
423425
return True
426+
if os.path.isfile(idf_deps_lock) and os.path.getmtime(
427+
idf_deps_lock
428+
) > os.path.getmtime(ninja_buildfile):
429+
return True
424430
if any(
425431
os.path.getmtime(f) > os.path.getmtime(cmake_cache_file)
426432
for f in cmake_txt_files + [cmake_preconf_dir, FRAMEWORK_DIR]

0 commit comments

Comments
 (0)