Skip to content

Commit 826db0f

Browse files
committed
feat(tools): add c5, c61 into supported targets list
1 parent 3a42fd8 commit 826db0f

File tree

4 files changed

+47
-28
lines changed

4 files changed

+47
-28
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ The following table shows ESP-IDF support of Espressif SoCs where ![alt text][pr
2525
|ESP32-C6 | ![alt text][supported] | ![alt text][supported] | ![alt text][supported] | ![alt text][supported] | ![alt text][supported] | ![alt text][supported] |[Announcement](https://www.espressif.com/en/news/ESP32_C6) |
2626
|ESP32-H2 |![alt text][supported] | ![alt text][supported] | ![alt text][supported] | ![alt text][supported] | ![alt text][supported] | ![alt text][supported] |[Announcement](https://www.espressif.com/en/news/ESP32_H2) |
2727
|ESP32-P4 | | | ![alt text][supported] | ![alt text][supported] | ![alt text][supported] | ![alt text][supported] |[Announcement](https://www.espressif.com/en/news/ESP32-P4) |
28-
|ESP32-C5 | | | | |![alt text][preview] |![alt text][preview] |[Announcement](https://www.espressif.com/en/news/ESP32-C5) |
29-
|ESP32-C61 | | | | |![alt text][preview] |![alt text][preview] |[Announcement](https://www.espressif.com/en/products/socs/esp32-c61) |
28+
|ESP32-C5 | | | | |![alt text][supported] |![alt text][supported] |since v5.5.1, [Announcement](https://www.espressif.com/en/news/ESP32-C5) |
29+
|ESP32-C61 | | | | |![alt text][supported] |![alt text][supported] |since v5.5.1, [Announcement](https://www.espressif.com/en/products/socs/esp32-c61) |
3030

3131
[supported]: https://img.shields.io/badge/-supported-green "supported"
3232
[preview]: https://img.shields.io/badge/-preview-orange "preview"

README_CN.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ ESP-IDF 是乐鑫官方推出的物联网开发框架,支持 Windows、Linux
2525
|ESP32-C6 |![alt text][supported] | ![alt text][supported] | ![alt text][supported] | ![alt text][supported] | ![alt text][supported] |![alt text][supported] | [芯片发布公告](https://www.espressif.com/zh-hans/news/ESP32_C6) |
2626
|ESP32-H2 |![alt text][supported] | ![alt text][supported] | ![alt text][supported] | ![alt text][supported] | ![alt text][supported] |![alt text][supported] | [芯片发布公告](https://www.espressif.com/zh-hans/news/ESP32_H2) |
2727
|ESP32-P4 | | | ![alt text][supported] | ![alt text][supported] | ![alt text][supported] |![alt text][supported] | [芯片发布公告](https://www.espressif.com/zh-hans/news/ESP32-P4) |
28-
|ESP32-C5 | | | | |![alt text][preview] |![alt text][preview] | [芯片发布公告](https://www.espressif.com/zh-hans/news/ESP32-C5) |
29-
|ESP32-C61 | | | | |![alt text][preview] |![alt text][preview] | [芯片发布公告](https://www.espressif.com/zh-hans/products/socs/esp32-c61) |
28+
|ESP32-C5 | | | | |![alt text][supported] |![alt text][supported] | 自 v5.5.1 开始,[芯片发布公告](https://www.espressif.com/zh-hans/news/ESP32-C5) |
29+
|ESP32-C61 | | | | |![alt text][supported] |![alt text][supported] | 自 v5.5.1 开始,[芯片发布公告](https://www.espressif.com/zh-hans/products/socs/esp32-c61) |
3030

3131
[supported]: https://img.shields.io/badge/-%E6%94%AF%E6%8C%81-green "supported"
3232
[preview]: https://img.shields.io/badge/-%E9%A2%84%E8%A7%88-orange "preview"

components/esp_rom/test_esp_rom.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ def test_roms_check_supported_chips() -> None:
2626
with open(ROMS_JSON) as f:
2727
roms_json = json.load(f)
2828
for chip in SUPPORTED_TARGETS:
29+
if chip in ['esp32c5', 'esp32c61']:
30+
# IDFCI-3109
31+
continue
2932
assert chip in roms_json, f'Have no ROM data for chip {chip}'
3033

3134

tools/idf_py_actions/constants.py

Lines changed: 40 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -4,34 +4,50 @@
44
import multiprocessing
55
import os
66
import platform
7-
from typing import Dict
8-
from typing import Union
97

10-
GENERATORS: Dict[str, Union[str, Dict, list]] = collections.OrderedDict([
11-
# - command: build command line
12-
# - version: version command line
13-
# - dry_run: command to run in dry run mode
14-
# - verbose_flag: verbose flag
15-
# - force_progression: one liner status of the progress
16-
('Ninja', {
17-
'command': ['ninja'],
18-
'version': ['ninja', '--version'],
19-
'dry_run': ['ninja', '-n'],
20-
'verbose_flag': '-v',
21-
# as opposed to printing the status updates each in a in new line
22-
'force_progression': True,
23-
}),
24-
])
8+
GENERATORS: dict[str, str | dict | list] = collections.OrderedDict(
9+
[
10+
# - command: build command line
11+
# - version: version command line
12+
# - dry_run: command to run in dry run mode
13+
# - verbose_flag: verbose flag
14+
# - force_progression: one liner status of the progress
15+
(
16+
'Ninja',
17+
{
18+
'command': ['ninja'],
19+
'version': ['ninja', '--version'],
20+
'dry_run': ['ninja', '-n'],
21+
'verbose_flag': '-v',
22+
# as opposed to printing the status updates each in a in new line
23+
'force_progression': True,
24+
},
25+
),
26+
]
27+
)
2528

2629
if os.name != 'nt':
2730
MAKE_CMD = 'gmake' if platform.system() == 'FreeBSD' else 'make'
28-
GENERATORS['Unix Makefiles'] = {'command': [MAKE_CMD, '-j', str(multiprocessing.cpu_count() + 2)],
29-
'version': [MAKE_CMD, '--version'],
30-
'dry_run': [MAKE_CMD, '-n'],
31-
'verbose_flag': 'VERBOSE=1',
32-
'force_progression': False}
31+
GENERATORS['Unix Makefiles'] = {
32+
'command': [MAKE_CMD, '-j', str(multiprocessing.cpu_count() + 2)],
33+
'version': [MAKE_CMD, '--version'],
34+
'dry_run': [MAKE_CMD, '-n'],
35+
'verbose_flag': 'VERBOSE=1',
36+
'force_progression': False,
37+
}
3338

3439
URL_TO_DOC = 'https://docs.espressif.com/projects/esp-idf'
3540

36-
SUPPORTED_TARGETS = ['esp32', 'esp32s2', 'esp32c3', 'esp32s3', 'esp32c2', 'esp32c6', 'esp32h2', 'esp32p4']
37-
PREVIEW_TARGETS = ['linux', 'esp32c5', 'esp32c61', 'esp32h21', 'esp32h4']
41+
SUPPORTED_TARGETS = [
42+
'esp32',
43+
'esp32s2',
44+
'esp32c3',
45+
'esp32s3',
46+
'esp32c2',
47+
'esp32c6',
48+
'esp32h2',
49+
'esp32p4',
50+
'esp32c5',
51+
'esp32c61',
52+
]
53+
PREVIEW_TARGETS = ['linux', 'esp32h21', 'esp32h4']

0 commit comments

Comments
 (0)