mirror of
https://github.com/espressif/esp-idf.git
synced 2025-10-02 10:00:57 +02:00
feat(tools): add c5, c61 into supported targets list
This commit is contained in:
@@ -25,8 +25,8 @@ The following table shows ESP-IDF support of Espressif SoCs where ![alt text][pr
|
|||||||
|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) |
|
|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) |
|
||||||
|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) |
|
|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) |
|
||||||
|ESP32-P4 | | | ![alt text][supported] | ![alt text][supported] | ![alt text][supported] | ![alt text][supported] |[Announcement](https://www.espressif.com/en/news/ESP32-P4) |
|
|ESP32-P4 | | | ![alt text][supported] | ![alt text][supported] | ![alt text][supported] | ![alt text][supported] |[Announcement](https://www.espressif.com/en/news/ESP32-P4) |
|
||||||
|ESP32-C5 | | | | |![alt text][preview] |![alt text][preview] |[Announcement](https://www.espressif.com/en/news/ESP32-C5) |
|
|ESP32-C5 | | | | |![alt text][supported] |![alt text][supported] |since v5.5.1, [Announcement](https://www.espressif.com/en/news/ESP32-C5) |
|
||||||
|ESP32-C61 | | | | |![alt text][preview] |![alt text][preview] |[Announcement](https://www.espressif.com/en/products/socs/esp32-c61) |
|
|ESP32-C61 | | | | |![alt text][supported] |![alt text][supported] |since v5.5.1, [Announcement](https://www.espressif.com/en/products/socs/esp32-c61) |
|
||||||
|
|
||||||
[supported]: https://img.shields.io/badge/-supported-green "supported"
|
[supported]: https://img.shields.io/badge/-supported-green "supported"
|
||||||
[preview]: https://img.shields.io/badge/-preview-orange "preview"
|
[preview]: https://img.shields.io/badge/-preview-orange "preview"
|
||||||
|
@@ -25,8 +25,8 @@ ESP-IDF 是乐鑫官方推出的物联网开发框架,支持 Windows、Linux
|
|||||||
|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) |
|
|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) |
|
||||||
|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) |
|
|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) |
|
||||||
|ESP32-P4 | | | ![alt text][supported] | ![alt text][supported] | ![alt text][supported] |![alt text][supported] | [芯片发布公告](https://www.espressif.com/zh-hans/news/ESP32-P4) |
|
|ESP32-P4 | | | ![alt text][supported] | ![alt text][supported] | ![alt text][supported] |![alt text][supported] | [芯片发布公告](https://www.espressif.com/zh-hans/news/ESP32-P4) |
|
||||||
|ESP32-C5 | | | | |![alt text][preview] |![alt text][preview] | [芯片发布公告](https://www.espressif.com/zh-hans/news/ESP32-C5) |
|
|ESP32-C5 | | | | |![alt text][supported] |![alt text][supported] | 自 v5.5.1 开始,[芯片发布公告](https://www.espressif.com/zh-hans/news/ESP32-C5) |
|
||||||
|ESP32-C61 | | | | |![alt text][preview] |![alt text][preview] | [芯片发布公告](https://www.espressif.com/zh-hans/products/socs/esp32-c61) |
|
|ESP32-C61 | | | | |![alt text][supported] |![alt text][supported] | 自 v5.5.1 开始,[芯片发布公告](https://www.espressif.com/zh-hans/products/socs/esp32-c61) |
|
||||||
|
|
||||||
[supported]: https://img.shields.io/badge/-%E6%94%AF%E6%8C%81-green "supported"
|
[supported]: https://img.shields.io/badge/-%E6%94%AF%E6%8C%81-green "supported"
|
||||||
[preview]: https://img.shields.io/badge/-%E9%A2%84%E8%A7%88-orange "preview"
|
[preview]: https://img.shields.io/badge/-%E9%A2%84%E8%A7%88-orange "preview"
|
||||||
|
@@ -26,6 +26,9 @@ def test_roms_check_supported_chips() -> None:
|
|||||||
with open(ROMS_JSON) as f:
|
with open(ROMS_JSON) as f:
|
||||||
roms_json = json.load(f)
|
roms_json = json.load(f)
|
||||||
for chip in SUPPORTED_TARGETS:
|
for chip in SUPPORTED_TARGETS:
|
||||||
|
if chip in ['esp32c5', 'esp32c61']:
|
||||||
|
# IDFCI-3109
|
||||||
|
continue
|
||||||
assert chip in roms_json, f'Have no ROM data for chip {chip}'
|
assert chip in roms_json, f'Have no ROM data for chip {chip}'
|
||||||
|
|
||||||
|
|
||||||
|
@@ -4,34 +4,50 @@ import collections
|
|||||||
import multiprocessing
|
import multiprocessing
|
||||||
import os
|
import os
|
||||||
import platform
|
import platform
|
||||||
from typing import Dict
|
|
||||||
from typing import Union
|
|
||||||
|
|
||||||
GENERATORS: Dict[str, Union[str, Dict, list]] = collections.OrderedDict([
|
GENERATORS: dict[str, str | dict | list] = collections.OrderedDict(
|
||||||
# - command: build command line
|
[
|
||||||
# - version: version command line
|
# - command: build command line
|
||||||
# - dry_run: command to run in dry run mode
|
# - version: version command line
|
||||||
# - verbose_flag: verbose flag
|
# - dry_run: command to run in dry run mode
|
||||||
# - force_progression: one liner status of the progress
|
# - verbose_flag: verbose flag
|
||||||
('Ninja', {
|
# - force_progression: one liner status of the progress
|
||||||
'command': ['ninja'],
|
(
|
||||||
'version': ['ninja', '--version'],
|
'Ninja',
|
||||||
'dry_run': ['ninja', '-n'],
|
{
|
||||||
'verbose_flag': '-v',
|
'command': ['ninja'],
|
||||||
# as opposed to printing the status updates each in a in new line
|
'version': ['ninja', '--version'],
|
||||||
'force_progression': True,
|
'dry_run': ['ninja', '-n'],
|
||||||
}),
|
'verbose_flag': '-v',
|
||||||
])
|
# as opposed to printing the status updates each in a in new line
|
||||||
|
'force_progression': True,
|
||||||
|
},
|
||||||
|
),
|
||||||
|
]
|
||||||
|
)
|
||||||
|
|
||||||
if os.name != 'nt':
|
if os.name != 'nt':
|
||||||
MAKE_CMD = 'gmake' if platform.system() == 'FreeBSD' else 'make'
|
MAKE_CMD = 'gmake' if platform.system() == 'FreeBSD' else 'make'
|
||||||
GENERATORS['Unix Makefiles'] = {'command': [MAKE_CMD, '-j', str(multiprocessing.cpu_count() + 2)],
|
GENERATORS['Unix Makefiles'] = {
|
||||||
'version': [MAKE_CMD, '--version'],
|
'command': [MAKE_CMD, '-j', str(multiprocessing.cpu_count() + 2)],
|
||||||
'dry_run': [MAKE_CMD, '-n'],
|
'version': [MAKE_CMD, '--version'],
|
||||||
'verbose_flag': 'VERBOSE=1',
|
'dry_run': [MAKE_CMD, '-n'],
|
||||||
'force_progression': False}
|
'verbose_flag': 'VERBOSE=1',
|
||||||
|
'force_progression': False,
|
||||||
|
}
|
||||||
|
|
||||||
URL_TO_DOC = 'https://docs.espressif.com/projects/esp-idf'
|
URL_TO_DOC = 'https://docs.espressif.com/projects/esp-idf'
|
||||||
|
|
||||||
SUPPORTED_TARGETS = ['esp32', 'esp32s2', 'esp32c3', 'esp32s3', 'esp32c2', 'esp32c6', 'esp32h2', 'esp32p4']
|
SUPPORTED_TARGETS = [
|
||||||
PREVIEW_TARGETS = ['linux', 'esp32c5', 'esp32c61', 'esp32h21', 'esp32h4']
|
'esp32',
|
||||||
|
'esp32s2',
|
||||||
|
'esp32c3',
|
||||||
|
'esp32s3',
|
||||||
|
'esp32c2',
|
||||||
|
'esp32c6',
|
||||||
|
'esp32h2',
|
||||||
|
'esp32p4',
|
||||||
|
'esp32c5',
|
||||||
|
'esp32c61',
|
||||||
|
]
|
||||||
|
PREVIEW_TARGETS = ['linux', 'esp32h21', 'esp32h4']
|
||||||
|
Reference in New Issue
Block a user