Skip to content

Commit 6049a4a

Browse files
committed
feat(tools): add c5, c61 into supported targets list
1 parent d544ed0 commit 6049a4a

File tree

4 files changed

+47
-26
lines changed

4 files changed

+47
-26
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] |[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] |[Announcement](https://www.espressif.com/en/news/ESP32_H2) |
2727
|ESP32-P4 | | | ![alt text][supported] | ![alt text][supported] | ![alt text][supported] |[Announcement](https://www.espressif.com/en/news/ESP32-P4) |
28-
|ESP32-C5 | | | | |![alt text][preview] |[Announcement](https://www.espressif.com/en/news/ESP32-C5) |
29-
|ESP32-C61 | | | | |![alt text][preview] |[Announcement](https://www.espressif.com/en/products/socs/esp32-c61) |
28+
|ESP32-C5 | | | | |![alt text][supported] |since v5.5.1, [Announcement](https://www.espressif.com/en/news/ESP32-C5) |
29+
|ESP32-C61 | | | | |![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] | [芯片发布公告](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] | [芯片发布公告](https://www.espressif.com/zh-hans/news/ESP32_H2) |
2727
|ESP32-P4 | | | ![alt text][supported] | ![alt text][supported] |![alt text][supported] | [芯片发布公告](https://www.espressif.com/zh-hans/news/ESP32-P4) |
28-
|ESP32-C5 | | | | |![alt text][preview] | [芯片发布公告](https://www.espressif.com/zh-hans/news/ESP32-C5) |
29-
|ESP32-C61 | | | | |![alt text][preview] | [芯片发布公告](https://www.espressif.com/zh-hans/products/socs/esp32-c61) |
28+
|ESP32-C5 | | | | |![alt text][supported] | 自 v5.5.1 开始,[芯片发布公告](https://www.espressif.com/zh-hans/news/ESP32-C5) |
29+
|ESP32-C61 | | | | |![alt text][supported] | 自 v5.5.1 开始,[芯片发布公告](https://www.espressif.com/zh-hans/products/socs/esp32-c61) |
3030

3131

3232
[supported]: https://img.shields.io/badge/-%E6%94%AF%E6%8C%81-green "supported"

components/esp_rom/test_esp_rom.py

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

3235

tools/idf_py_actions/constants.py

Lines changed: 40 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -7,31 +7,49 @@
77
from typing import Dict
88
from typing import Union
99

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

2631
if os.name != 'nt':
2732
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}
33+
GENERATORS['Unix Makefiles'] = {
34+
'command': [MAKE_CMD, '-j', str(multiprocessing.cpu_count() + 2)],
35+
'version': [MAKE_CMD, '--version'],
36+
'dry_run': [MAKE_CMD, '-n'],
37+
'verbose_flag': 'VERBOSE=1',
38+
'force_progression': False,
39+
}
3340

3441
URL_TO_DOC = 'https://docs.espressif.com/projects/esp-idf'
3542

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

0 commit comments

Comments
 (0)