/hal_espressif-3.7.0/zephyr/ |
D | module.yml | 8 - path: lib/esp32c3/libbtdm_app.a 12 license-path: zephyr/blobs/license.txt 13 …url: https://github.com/espressif/esp32c3-bt-lib/raw/b438f60a295183e7c67eb42ae05f4580f4b1ced0/esp3… 15 doc-url: https://github.com/espressif/esp32c3-bt-lib 16 - path: lib/esp32s3/libbtdm_app.a 20 license-path: zephyr/blobs/license.txt 21 …url: https://github.com/espressif/esp32c3-bt-lib/raw/b438f60a295183e7c67eb42ae05f4580f4b1ced0/esp3… 23 doc-url: https://github.com/espressif/esp32c3-bt-lib 24 - path: lib/esp32/libbtdm_app.a 28 license-path: zephyr/blobs/license.txt [all …]
|
/hal_espressif-3.7.0/zephyr/scripts/blobs/ |
D | esp_genblobs.py | 3 # SPDX-License-Identifier: Apache-2.0 10 from pathlib import Path 14 MODULE_PATH = Path(Path(__file__).resolve().parents[2], "module.yml") 15 SUBMODULES = Path(Path(__file__).resolve().parents[1], "submodules.txt") 29 - path: lib/{SOC}/{FILENAME} 33 license-path: zephyr/blobs/license.txt 36 doc-url: {URL_BASE}''' 44 path = os.path.dirname(os.path.abspath(__file__)) 48 folder = Path(path, "temp", git_dir) 51 cmd_exec(("git", "clone", git_url, folder, "--quiet"), cwd=path) [all …]
|
/hal_espressif-3.7.0/components/newlib/ |
D | realpath.c | 2 * SPDX-FileCopyrightText: 2021-2022 Espressif Systems (Shanghai) CO LTD 4 * SPDX-License-Identifier: Apache-2.0 17 * - empty, skip the component 18 * - if it is '.', skip the component 19 * - if it is '..' 20 * - and out_level == 0, ??? ('/..') 21 * - otherwise, reverse-search for '/', set out_pos to that - 1, decrement out_level 22 * - otherwise, add the component to output, increment out_level 29 /* allowed as an extension, allocate memory for the output path */ in realpath() 37 /* canonical path starts with / */ in realpath() [all …]
|
/hal_espressif-3.7.0/west/ |
D | tools.py | 3 # SPDX-License-Identifier: Apache-2.0 14 from pathlib import Path 23 THIS_ZEPHYR = Path(__file__).parents[4] / 'zephyr' 24 ZEPHYR_BASE = Path(os.environ.get('ZEPHYR_BASE', THIS_ZEPHYR)) 26 sys.path.insert(0, os.path.join(ZEPHYR_BASE, "scripts", "west_commands")) 32 ESP_IDF_REMOTE = "https://github.com/zephyrproject-rtos/hal_espressif" 46 esptool_path = os.path.join(module_path, 'tools', 'esptool_py') 47 sys.path.insert(0, esptool_path) 54 log.die("No serial ports found. Connect a device, or use '-p PORT' " 66 def get_build_dir(path, die_if_none=True): argument [all …]
|
/hal_espressif-3.7.0/tools/esptool_py/ |
D | esptool.py | 3 # SPDX-FileCopyrightText: 2014-2022 Fredrik Ahlberg, Angus Gratton, 6 # SPDX-License-Identifier: GPL-2.0-or-later 21 executable_dir = os.path.dirname(sys.executable) 22 sys.path = [ 23 path 24 for path in sys.path 25 if not path.endswith(("/bin", "/sbin")) and path != executable_dir
|
D | espefuse.py | 3 # SPDX-FileCopyrightText: 2014-2022 Fredrik Ahlberg, Angus Gratton, 6 # SPDX-License-Identifier: GPL-2.0-or-later 21 executable_dir = os.path.dirname(sys.executable) 22 sys.path = [ 23 path 24 for path in sys.path 25 if not path.endswith(("/bin", "/sbin")) and path != executable_dir
|
D | espsecure.py | 3 # SPDX-FileCopyrightText: 2014-2022 Fredrik Ahlberg, Angus Gratton, 6 # SPDX-License-Identifier: GPL-2.0-or-later 21 executable_dir = os.path.dirname(sys.executable) 22 sys.path = [ 23 path 24 for path in sys.path 25 if not path.endswith(("/bin", "/sbin")) and path != executable_dir
|
/hal_espressif-3.7.0/components/hal/include/hal/ |
D | apm_hal.h | 2 * SPDX-FileCopyrightText: 2023 Espressif Systems (Shanghai) CO LTD 4 * SPDX-License-Identifier: Apache-2.0 58 * @brief enable/disable HP access path(M[0:3]) 60 * @param hp_m_path HP access path 61 * @param enable Flag for HP M path filter enable/disable 73 * @brief Get HP access path(M[0:3]) exception status 75 * @param hp_m_path HP access path 80 * @brief Clear HP access path(M[0:3]) exception 82 * @param hp_m_path HP access path 87 * @brief Get HP access path(M[0:3]) exception information [all …]
|
/hal_espressif-3.7.0/zephyr/scripts/pinctrl/ |
D | esp_genpinctrl.py | 3 # SPDX-License-Identifier: Apache-2.0 9 from pathlib import Path 14 * SPDX-License-Identifier: Apache-2.0 28 file_out_path = 'include/zephyr/dt-bindings/pinctrl/' 29 file_out_temp = '{SOC}-pinctrl-temp.h' 30 file_out_name = '{SOC}-pinctrl.h' 110 soc = os.path.basename(pcfg_in).replace('.yml', '') 112 file_out_abs = Path(zephyr_base, file_out_path + soc + '-pinctrl.h') 114 file_tmp_abs = Path(zephyr_base, file_out_path + soc + '-pinctrl-temp.h') 140 if os.path.exists(file_out_abs): [all …]
|
/hal_espressif-3.7.0/tools/idf_monitor/idf_monitor_base/ |
D | output_helpers.py | 1 # Copyright 2015-2021 Espressif Systems (Shanghai) CO LTD 3 # Licensed under the Apache License, Version 2.0 (the "License"); 4 # you may not use this file except in compliance with the License. 5 # You may obtain a copy of the License at 7 # http://www.apache.org/licenses/LICENSE-2.0 10 # distributed under the License is distributed on an "AS IS" BASIS, 12 # See the License for the specific language governing permissions and 13 # limitations under the License. 26 from pathlib import Path 27 THIS_ZEPHYR = Path(__file__).parents[5] / 'zephyr' [all …]
|
D | constants.py | 1 # SPDX-FileCopyrightText: 2015-2022 Espressif Systems (Shanghai) CO LTD 2 # SPDX-License-Identifier: Apache-2.0 7 # Control-key characters 41 PANIC_OUTPUT_DECODE_SCRIPT = os.path.join(os.path.dirname(__file__), '..', 'gdb_panic_server.py') 42 COREDUMP_SCRIPT = os.path.join(os.path.dirname(__file__), '..', '..', 'components', 'espcoredump', … 45 MATCH_PCADDR = re.compile(r'0x4[0-9a-f]{7}', re.IGNORECASE) 47 DEFAULT_TOOLCHAIN_PREFIX = 'xtensa-esp32-elf-'
|
/hal_espressif-3.7.0/components/mbedtls/esp_crt_bundle/ |
D | gen_crt_bundle.py | 11 # SPDX-FileCopyrightText: 2018-2022 Espressif Systems (Shanghai) CO LTD 12 # SPDX-License-Identifier: Apache-2.0 30 'Please refer to the Get Started section of the ESP-IDF Programming Guide for ' 57 if os.path.isfile(ca_bundle_bin_file): 64 found |= self.add_from_file(os.path.join(crts_path, file_path)) 73 with open(file_path, 'r', encoding='utf-8') as f: 99 if strg == '-----BEGIN CERTIFICATE-----\n' and start is False: 102 elif strg == '-----END CERTIFICATE-----\n' and start is True: 146 with open(filter_path, 'r', encoding='utf-8') as f: 156 with open(crts_path, 'r', encoding='utf-8') as f: [all …]
|
/hal_espressif-3.7.0/components/esp_hw_support/test_apps/mspi/ |
D | pytest_flash_psram.py | 1 # SPDX-FileCopyrightText: 2022-2023 Espressif Systems (Shanghai) CO LTD 2 # SPDX-License-Identifier: CC0-1.0 10 MSPI_F8R8_configs = [p.name.replace('sdkconfig.ci.', '') for p in pathlib.Path(os.path.dirname(__fi… 16 def test_flash8_psram8(dut: IdfDut) -> None: 21 MSPI_F4R8_configs = [p.name.replace('sdkconfig.ci.', '') for p in pathlib.Path(os.path.dirname(__fi… 27 def test_flash4_psram8(dut: IdfDut) -> None: 32 MSPI_F4R4_configs = [p.name.replace('sdkconfig.ci.', '') for p in pathlib.Path(os.path.dirname(__fi… 38 def test_flash4_psram4(dut: IdfDut) -> None:
|
/hal_espressif-3.7.0/tools/esptool_py/flasher_stub/ |
D | wrap_stub.py | 3 # SPDX-FileCopyrightText: 2016 Cesanta Software Limited 5 # SPDX-License-Identifier: GPL-2.0-or-later 7 # SPDX-FileContributor: 2016-2022 Espressif Systems (Shanghai) CO LTD 13 import os.path 16 sys.path.append("..") 19 THIS_DIR = os.path.dirname(__file__) 20 BUILD_DIR = os.path.join(THIS_DIR, "build") 48 stub["text"] += (4 - (len(stub["text"]) % 4)) * "\0" 73 with open(os.path.join(BUILD_DIR, filename), "w") as outfile: 79 return os.path.splitext(os.path.basename(filename))[0] + ".json"
|
D | esptool_test_stub.py | 3 # SPDX-FileCopyrightText: 2014-2022 Fredrik Ahlberg, Angus Gratton, 6 # SPDX-License-Identifier: GPL-2.0-or-later 8 # Trivial wrapper program to run esptool.py using the just-compiled 13 import os.path 16 THIS_DIR = os.path.dirname(__file__) 17 STUBS_BUILD_DIR = os.path.join(THIS_DIR, "build/") 19 sys.path.append("..") 22 # Python hackiness: change the path to stub json files in the context of the esptool
|
/hal_espressif-3.7.0/components/hal/esp32c6/include/hal/ |
D | apm_ll.h | 2 * SPDX-FileCopyrightText: 2023 Espressif Systems (Shanghai) CO LTD 4 * SPDX-License-Identifier: Apache-2.0 27 #define APM_LL_HP_SEC_MODE_REGION_ATTR(sec_mode, regn_pms) ((regn_pms) << (4 * (sec_mode - 1))) 29 …M_LL_HP_SEC_MODE_REGION_ATTR_M(sec_mode) (APM_LL_HP_SEC_MODE_REGION_ATTR_V << (4 * (sec_mode - 1))) 66 * @brief APM HP access path 127 * @brief enable/disable HP access path(M[0:3]) 129 * @param hp_m_path HP access path 130 * @param enable Flag for HP M path filter enable/disable 180 * @brief Get HP access path(M[0:3]) exception status 182 * @param hp_m_path HP access path [all …]
|
/hal_espressif-3.7.0/components/hal/esp32h2/include/hal/ |
D | apm_ll.h | 2 * SPDX-FileCopyrightText: 2023 Espressif Systems (Shanghai) CO LTD 4 * SPDX-License-Identifier: Apache-2.0 27 #define APM_LL_HP_SEC_MODE_REGION_ATTR(sec_mode, regn_pms) ((regn_pms) << (4 * (sec_mode - 1))) 29 …M_LL_HP_SEC_MODE_REGION_ATTR_M(sec_mode) (APM_LL_HP_SEC_MODE_REGION_ATTR_V << (4 * (sec_mode - 1))) 66 * @brief APM HP access path 127 * @brief enable/disable HP access path(M[0:3]) 129 * @param hp_m_path HP access path 130 * @param enable Flag for HP M path filter enable/disable 180 * @brief Get HP access path(M[0:3]) exception status 182 * @param hp_m_path HP access path [all …]
|
/hal_espressif-3.7.0/components/wpa_supplicant/src/eap_peer/ |
D | eap_config.h | 3 * Copyright (c) 2003-2013, Jouni Malinen <j@w1.fi> 5 * This software may be distributed under the terms of the BSD license. 13 * struct eap_peer_config - EAP peer configuration/credentials 17 * identity - EAP Identity 20 * EAP-PSK/PAX/SAKE/GPSK). 25 * identity_len - EAP Identity length 30 * anonymous_identity - Anonymous EAP Identity 33 * different tunnelled identity, e.g., EAP-TTLS, in order to reveal the 39 * This field can also be used with EAP-SIM/AKA/AKA' to store the 45 * anonymous_identity_len - Length of anonymous_identity [all …]
|
/hal_espressif-3.7.0/components/esp_netif/include/ |
D | esp_vfs_l2tap.h | 2 * SPDX-FileCopyrightText: 2021-2022 Espressif Systems (Shanghai) CO LTD 4 * SPDX-License-Identifier: Apache-2.0 28 const char* base_path; /*!< vfs base path */ 43 * This function must be called prior usage of ESP-NETIF L2 TAP Interface 45 …* @param config L2 TAP virtual filesystem driver configuration. Default base path /dev/net/tap is … 47 * - ESP_OK on success 54 …* @param base_path Base path to the L2 TAP virtual filesystem driver. Default path /dev/net/tap is… 56 * - ESP_OK on success 67 * - ESP_OK is always returned
|
/hal_espressif-3.7.0/tools/esptool_py/esptool/ |
D | config.py | 1 # SPDX-FileCopyrightText: 2014-2023 Espressif Systems (Shanghai) CO LTD, 4 # SPDX-License-Identifier: GPL-2.0-or-later 27 if not os.path.exists(file_path): 32 cfg.read(file_path, encoding="UTF-8") 36 unknown_opts = list(set(cfg.options("esptool")) - set(CONFIG_OPTIONS)) 55 cfg_path = os.path.join(dir_path, candidate) 68 home_dir = os.path.expanduser("~") 90 f"{os.path.abspath(cfg_file_path)}{msg}"
|
/hal_espressif-3.7.0/tools/esptool_py/espefuse/efuse/esp32c2/ |
D | mem_definition.py | 1 # This file describes eFuses fields and registers for ESP32-C2 chip 3 # SPDX-FileCopyrightText: 2021-2022 Espressif Systems (Shanghai) CO LTD 5 # SPDX-License-Identifier: GPL-2.0-or-later 97 def __init__(self) -> None: 106 dir_name = os.path.dirname(os.path.abspath(__file__)) 107 dir_name, file_name = os.path.split(dir_name) 109 dir_name, _ = os.path.split(dir_name) 110 efuse_file = os.path.join(dir_name, "efuse_defs", file_name) 123 "BLOCK_KEY0 - lower 128-bits. 128-bit key of Flash Encryption" 133 "BLOCK_KEY0 - higher 128-bits. 128-bits key of Secure Boot"
|
/hal_espressif-3.7.0/tools/esptool_py/espefuse/efuse/esp32s3/ |
D | mem_definition.py | 1 # This file describes eFuses fields and registers for ESP32-S3 chip 3 # SPDX-FileCopyrightText: 2020-2022 Espressif Systems (Shanghai) CO LTD 5 # SPDX-License-Identifier: GPL-2.0-or-later 115 def __init__(self) -> None: 126 dir_name = os.path.dirname(os.path.abspath(__file__)) 127 dir_name, file_name = os.path.split(dir_name) 129 dir_name, _ = os.path.split(dir_name) 130 efuse_file = os.path.join(dir_name, "efuse_defs", file_name)
|
/hal_espressif-3.7.0/tools/esptool_py/espefuse/efuse/esp32h2beta1/ |
D | mem_definition.py | 1 # This file describes eFuses fields and registers for ESP32-H2 chip 3 # SPDX-FileCopyrightText: 2021-2022 Espressif Systems (Shanghai) CO LTD 5 # SPDX-License-Identifier: GPL-2.0-or-later 110 def __init__(self) -> None: 121 dir_name = os.path.dirname(os.path.abspath(__file__)) 122 dir_name, file_name = os.path.split(dir_name) 124 dir_name, _ = os.path.split(dir_name) 125 efuse_file = os.path.join(dir_name, "efuse_defs", file_name)
|
/hal_espressif-3.7.0/tools/esptool_py/espefuse/efuse/esp32s3beta2/ |
D | mem_definition.py | 1 # This file describes eFuses fields and registers for ESP32-S3(beta2) chip 3 # SPDX-FileCopyrightText: 2020-2022 Espressif Systems (Shanghai) CO LTD 5 # SPDX-License-Identifier: GPL-2.0-or-later 115 def __init__(self) -> None: 126 dir_name = os.path.dirname(os.path.abspath(__file__)) 127 dir_name, file_name = os.path.split(dir_name) 129 dir_name, _ = os.path.split(dir_name) 130 efuse_file = os.path.join(dir_name, "efuse_defs", file_name)
|
/hal_espressif-3.7.0/tools/esptool_py/espefuse/efuse/esp32/ |
D | mem_definition.py | 3 # SPDX-FileCopyrightText: 2020-2022 Espressif Systems (Shanghai) CO LTD 5 # SPDX-License-Identifier: GPL-2.0-or-later 92 def __init__(self) -> None: 105 dir_name = os.path.dirname(os.path.abspath(__file__)) 106 dir_name, file_name = os.path.split(dir_name) 108 dir_name, _ = os.path.split(dir_name) 109 efuse_file = os.path.join(dir_name, "efuse_defs", file_name)
|