/hal_espressif-3.5.0/tools/test_idf_size/ |
D | test.sh | 5 pushd $IDF_PATH/examples/get-started/hello_world \ 6 && echo -e "\n***\nBuilding project for $1..." &>> $IDF_PATH/tools/test_idf_size/output \ 9 && echo -e "\n***\nRunning mem_test.py for $1..." &>> $IDF_PATH/tools/test_idf_size/output \ 10 …&& python -m coverage run -a $IDF_PATH/tools/idf_size.py --json build/hello_world.map > size_outpu… 11 …&& python $IDF_PATH/components/esptool_py/esptool/esptool.py --chip $1 image_info build/hello_worl… 12 …&& python -m coverage run -a $IDF_PATH/tools/test_idf_size/mem_test.py size_output.json esptool_ou… 18 …&& python -m coverage run -a $IDF_PATH/tools/idf_size.py --json app_$1.map | python $IDF_PATH/tool… 19 …&& python -m coverage run -a $IDF_PATH/tools/idf_size.py --json --archives app_$1.map | python $ID… 20 …&& python -m coverage run -a $IDF_PATH/tools/idf_size.py --json --files app_$1.map | python $IDF_P… 21 …&& python -m coverage run -a $IDF_PATH/tools/idf_size.py --json --archive_details libdriver.a app_… [all …]
|
/hal_espressif-3.5.0/ |
D | export.sh | 33 if [ -z "${IDF_PATH}" ] 63 export IDF_PATH="${script_dir}" 64 echo "Setting IDF_PATH to '${IDF_PATH}'" 67 if [ ! -d "${IDF_PATH}" ] 69 echo "IDF_PATH is set to '${IDF_PATH}', but it is not a valid directory." 74 if [ ! -f "${IDF_PATH}/tools/idf.py" ] || [ ! -f "${IDF_PATH}/tools/idf_tools.py" ] 76 echo "IDF_PATH is set to '${IDF_PATH}', but it doesn't look like an ESP-IDF directory." 82 export IDF_PATH="${IDF_PATH}" 88 . "${IDF_PATH}/tools/detect_python.sh" 92 export IDF_TOOLS_EXPORT_CMD=${IDF_PATH}/export.sh [all …]
|
D | export.bat | 17 :: Infer IDF_PATH from script location 18 set IDF_PATH=%~dp0 variable 19 set IDF_PATH=%IDF_PATH:~0,-1% variable 21 set "IDF_TOOLS_PY_PATH=%IDF_PATH%\tools\idf_tools.py" 22 set "IDF_TOOLS_JSON_PATH=%IDF_PATH%\tools\tools.json" 23 set "IDF_TOOLS_EXPORT_CMD=%IDF_PATH%\export.bat" 24 set "IDF_TOOLS_INSTALL_CMD=%IDF_PATH%\install.bat" 25 echo Setting IDF_PATH: %IDF_PATH% 34 python.exe "%IDF_PATH%\tools\idf_tools.py" export --format key-value >"%IDF_TOOLS_EXPORTS_FILE%" 47 DOSKEY idf.py=python.exe "%IDF_PATH%\tools\idf.py" $* [all …]
|
D | export.ps1 | 4 $IDF_PATH = $PSScriptRoot variable 6 Write-Output "Setting IDF_PATH: $IDF_PATH" variable 7 $env:IDF_PATH = $IDF_PATH variable 12 $envars_raw = python $IDF_PATH/tools/idf_tools.py export --format key-value 52 $IDF_ADD_PATHS_EXTRAS = [IO.Path]::Combine(${IDF_PATH}, "components", "esptool_py", "esptool") 53 $IDF_ADD_PATHS_EXTRAS += ${S} + [IO.Path]::Combine(${IDF_PATH}, "components", "app_update") 54 $IDF_ADD_PATHS_EXTRAS += ${S} + [IO.Path]::Combine(${IDF_PATH}, "components", "espcoredump") 55 $IDF_ADD_PATHS_EXTRAS += ${S} + [IO.Path]::Combine(${IDF_PATH}, "components", "partition_table") 72 Start-Process -Wait -NoNewWindow -FilePath "python" -Args "`"$IDF_PATH/tools/check_python_dependenc… variable
|
D | export.fish | 4 if not set -q IDF_PATH 5 echo "IDF_PATH must be set before sourcing this script" 12 source "$IDF_PATH"/tools/detect_python.fish 16 set -x IDF_TOOLS_EXPORT_CMD "$IDF_PATH"/export.fish 17 set -x IDF_TOOLS_INSTALL_CMD "$IDF_PATH"/install.fish 18 set idf_exports ("$ESP_PYTHON" "$IDF_PATH"/tools/idf_tools.py export) || return 1 22 python "$IDF_PATH"/tools/check_python_dependencies.py || return 1 25 # "$IDF_PATH"/tools is already added by 'idf_tools.py export' 26 set IDF_ADD_PATHS_EXTRAS "$IDF_PATH"/components/esptool_py/esptool 27 set IDF_ADD_PATHS_EXTRAS "$IDF_ADD_PATHS_EXTRAS":"$IDF_PATH"/components/espcoredump [all …]
|
D | add_path.sh | 9 if [ -z ${IDF_PATH} ]; then 12 IDF_ADD_PATHS_EXTRAS="${IDF_PATH}/components/esptool_py/esptool" 13 IDF_ADD_PATHS_EXTRAS="${IDF_ADD_PATHS_EXTRAS}:${IDF_PATH}/components/espcoredump" 14 IDF_ADD_PATHS_EXTRAS="${IDF_ADD_PATHS_EXTRAS}:${IDF_PATH}/components/partition_table/" 15 IDF_ADD_PATHS_EXTRAS="${IDF_ADD_PATHS_EXTRAS}:${IDF_PATH}/tools/"
|
D | install.sh | 7 IDF_PATH=$(cd "${basedir}"; pwd) 8 export IDF_PATH 11 . "${IDF_PATH}/tools/detect_python.sh" 19 "${ESP_PYTHON}" "${IDF_PATH}/tools/idf_tools.py" install --targets=${TARGETS} 22 "${ESP_PYTHON}" "${IDF_PATH}/tools/idf_tools.py" install-python-env
|
D | install.bat | 17 :: Infer IDF_PATH from script location 18 set IDF_PATH=%~dp0 variable 19 set IDF_PATH=%IDF_PATH:~0,-1% variable 25 python.exe "%IDF_PATH%\tools\idf_tools.py" install --targets=%TARGETS% 29 python.exe "%IDF_PATH%\tools\idf_tools.py" install-python-env
|
/hal_espressif-3.5.0/docs/zh_CN/get-started-legacy/ |
D | add-idf_path-to-profile.rst | 1 在用户配置文件中添加 IDF_PATH(传统 GNU Make) 7 为了在系统多次启动时,保留 ``IDF_PATH`` 环境变量的设置,请按照以下说明将该变量的设置增加至用户配置文件。 22 export IDF_PATH="C:/msys32/home/user-name/esp/esp-idf" 28 #. 关闭 MSYS2 窗口,并重新打开。运行以下命令,检查 ``IDF_PATH`` 是否成功设置:: 30 printenv IDF_PATH 34 如果您不希望永久设置 ``IDF_PATH`` 变量,也可以在每次打开 MSYS2 窗口时进行手动设置:: 36 export IDF_PATH="C:/msys32/home/user-name/esp/esp-idf" 45 在 ``~/.profile`` 文件中增加以下命令,设置 ``IDF_PATH`` 变量:: 47 export IDF_PATH=~/esp/esp-idf 55 运行以下命令,检查 ``IDF_PATH`` 是否成功设置:: [all …]
|
/hal_espressif-3.5.0/tools/ci/ |
D | test_build_system_cmake.sh | 36 export PATH="$IDF_PATH/tools:$PATH" # for idf.py 46 [ -z ${IDF_PATH} ] && echo "IDF_PATH is not set. Need path to esp-idf installation." && exit 2 78 touch ${IDF_PATH}/components/esp_system/port/cpu_start.c 85 touch ${IDF_PATH}/components/bootloader/subproject/main/bootloader_start.c 92 touch ${IDF_PATH}/components/partition_table/partitions_singleapp.csv 107 echo "IDF_VER_0123456789_0123456789_0123456789" > ${IDF_PATH}/version.txt 121 rm -f ${IDF_PATH}/version.txt 153 pushd ${IDF_PATH}/examples/get-started/hello_world 193 TESTDIR_REL=$($REALPATH ${TESTDIR} --relative-to ${IDF_PATH}) 195 rsync -a --exclude ${TESTDIR_REL} ${IDF_PATH}/ ${CRLF_ESPIDF} [all …]
|
D | test_build_system.sh | 41 [ -z ${IDF_PATH} ] && echo "IDF_PATH is not set. Need path to esp-idf installation." && exit 2 72 touch ${IDF_PATH}/components/esp_system/port/cpu_start.c 79 touch ${IDF_PATH}/components/bootloader/subproject/main/bootloader_start.c 86 touch ${IDF_PATH}/components/partition_table/partitions_singleapp.csv 146 cp -r ${IDF_PATH}/* ${CRLF_ESPIDF} 149 make IDF_PATH=${CRLF_ESPIDF} || failure "Failed to build with CRLFs in source" 157 touch ${IDF_PATH}/components/esp_rom/esp32/ld/esp32.rom.ld 163 touch ${IDF_PATH}/components/esp_system/ld/esp32/sections.ld.in 170 touch ${IDF_PATH}/components/esp_common/common.lf 227 echo "IDF_VER_0123456789_0123456789_0123456789" > ${IDF_PATH}/version.txt [all …]
|
D | find_apps_build_apps.sh | 30 export PATH="$IDF_PATH/tools/ci:$IDF_PATH/tools:$PATH" 49 BUILD_PATH=$(${REALPATH} --relative-to ${IDF_PATH} ${BUILD_PATH}) 50 LOG_PATH=$(${REALPATH} --relative-to ${IDF_PATH} ${LOG_PATH}) 116 cd ${IDF_PATH} 126 ${IDF_PATH}/tools/find_apps.py \ 138 ${IDF_PATH}/tools/build_apps.py \ 149 ${IDF_PATH}/tools/ci/check_build_warnings.py -vv ${JOB_BUILD_LIST_JSON}
|
D | check_tools_files_patterns.py | 13 from idf_ci_utils import IDF_PATH, get_git_files, magic_check, magic_check_bytes, translate 41 rules_files_set.update(glob.glob(os.path.join(IDF_PATH, pat), recursive=True)) 47 exclude_files_set.update(glob.glob(os.path.join(IDF_PATH, pat), recursive=True)) 50 git_files = get_git_files(os.path.join(IDF_PATH, 'tools'), full_path=True) 54 missing_files.add(os.path.relpath(f, IDF_PATH)) 62 default=os.path.join(IDF_PATH, '.gitlab', 'ci', 'rules.yml'), 65 … default=os.path.join(IDF_PATH, 'tools', 'ci', 'exclude_check_tools_files.txt'),
|
/hal_espressif-3.5.0/make/ |
D | project.mk | 84 SANITISED_IDF_PATH:=$(realpath $(IDF_PATH)) 86 SANITISED_IDF_PATH:=$(realpath $(wildcard $(IDF_PATH))) 89 export IDF_PATH := $(SANITISED_IDF_PATH) 91 ifndef IDF_PATH 92 $(error IDF_PATH variable is not set to a valid directory.) 110 $(error If IDF_PATH is overriden on command line, it must be an absolute path with no embedded shel… 114 $(error IDF_PATH cannot contain colons. If overriding IDF_PATH on Windows, use MSYS Unix-style /c/d… 129 …OMMON_MAKEFILES := $(abspath $(IDF_PATH)/make/project.mk $(IDF_PATH)/make/common.mk $(IDF_PATH)/ma… 151 COMPONENT_DIRS := $(PROJECT_PATH)/components $(EXTRA_COMPONENT_DIRS) $(IDF_PATH)/components $(PROJE… 246 include $(IDF_PATH)/make/common.mk [all …]
|
D | ldgen.mk | 9 $(BUILD_DIR_BASE)/ldgen_libraries: $(LDGEN_LIBRARIES) $(IDF_PATH)/make/ldgen.mk 14 $(PYTHON) $(IDF_PATH)/tools/ldgen/ldgen.py \ 20 --kconfig $(IDF_PATH)/Kconfig \ 30 $(BUILD_DIR_BASE)/ldgen_libraries: $(LDGEN_LIBRARIES) $(IDF_PATH)/make/ldgen.mk 35 $(PYTHON) $(IDF_PATH)/tools/ldgen/ldgen.py \ 41 --kconfig $(IDF_PATH)/Kconfig \
|
/hal_espressif-3.5.0/tools/cmake/ |
D | idf.cmake | 3 # Infer an IDF_PATH relative to the tools/cmake directory 8 set(idf_path $ENV{IDF_PATH}) 10 # Environment IDF_PATH should match the inferred IDF_PATH. If not, warn the user. 18 message(WARNING "IDF_PATH environment variable is different from inferred IDF_PATH. 20 CMake files. Environment IDF_PATH will be used for the build: 24 # Zephyr: remove IDF_PATH build warning 25 … # message(WARNING "IDF_PATH environment variable not found. Setting IDF_PATH to '${_idf_path}'.") 27 set(ENV{IDF_PATH} ${_idf_path}) 37 set(IDF_PATH ${idf_path}) variable
|
/hal_espressif-3.5.0/docs/en/get-started-legacy/ |
D | add-idf_path-to-profile.rst | 1 Add IDF_PATH to User Profile (Legacy GNU Make) 7 To preserve setting of ``IDF_PATH`` environment variable between system restarts, add it to the use… 23 export IDF_PATH="C:/msys32/home/user-name/esp/esp-idf" 29 #. Close MSYS2 window and open it again. Check if ``IDF_PATH`` is set, by typing:: 31 printenv IDF_PATH 35 If you do not like to have ``IDF_PATH`` set up permanently in user profile, you should enter it man… 37 export IDF_PATH="C:/msys32/home/user-name/esp/esp-idf" 47 Set up ``IDF_PATH`` by adding the following line to ``~/.profile`` file:: 49 export IDF_PATH=~/esp/esp-idf 57 Run the following command to check if ``IDF_PATH`` is set:: [all …]
|
/hal_espressif-3.5.0/components/esp_wifi/test_md5/ |
D | test_md5.sh | 44 ${IDF_PATH}/components/esp_wifi/lib/${LIB_DIR}/*.a 67 check_md5 ${IDF_PATH}/components/esp_wifi/include/esp_wifi.h g_esp_wifi_md5 68 check_md5 ${IDF_PATH}/components/esp_wifi/include/esp_private/wifi_os_adapter.h g_wifi_osi_funcs_md5 69 check_md5 ${IDF_PATH}/components/esp_wifi/include/esp_wifi_crypto_types.h g_wifi_crypto_funcs_md5 70 check_md5 ${IDF_PATH}/components/esp_wifi/include/esp_wifi_types.h g_wifi_type_md5 71 check_md5 ${IDF_PATH}/components/esp_wifi/include/esp_coexist_adapter.h g_coex_adapter_funcs_md5 72 check_md5 ${IDF_PATH}/components/wpa_supplicant/esp_supplicant/src/esp_wifi_driver.h g_wifi_supplic…
|
/hal_espressif-3.5.0/components/bootloader/subproject/ |
D | Makefile | 18 CFLAGS += -I $(IDF_PATH)/components/$(IDF_TARGET)/include 19 CFLAGS += -I $(IDF_PATH)/components/esp_common/include 20 CFLAGS += -I $(IDF_PATH)/components/newlib/platform_include 21 CFLAGS += -I $(IDF_PATH)/components/xtensa/include -I $(IDF_PATH)/components/xtensa/$(IDF_TARGET)/i… 35 include $(IDF_PATH)/make/project.mk
|
/hal_espressif-3.5.0/examples/ethernet/iperf/ |
D | Makefile | 8 EXTRA_COMPONENT_DIRS = $(IDF_PATH)/examples/system/console/advanced/components 9 EXTRA_COMPONENT_DIRS += $(IDF_PATH)/examples/wifi/iperf/components 10 EXTRA_COMPONENT_DIRS += $(IDF_PATH)/examples/common_components/iperf 11 EXTRA_COMPONENT_DIRS += $(IDF_PATH)/examples/ethernet/enc28j60/components/eth_enc28j60 14 include $(IDF_PATH)/make/project.mk
|
/hal_espressif-3.5.0/examples/bluetooth/esp_ble_mesh/aligenie_demo/ |
D | Makefile | 8 EXTRA_COMPONENT_DIRS := $(IDF_PATH)/examples/bluetooth/esp_ble_mesh/common_components/button 9 EXTRA_COMPONENT_DIRS += $(IDF_PATH)/examples/bluetooth/esp_ble_mesh/common_components/light_driver 10 EXTRA_COMPONENT_DIRS += $(IDF_PATH)/examples/bluetooth/esp_ble_mesh/common_components/example_init 11 EXTRA_COMPONENT_DIRS += $(IDF_PATH)/examples/bluetooth/esp_ble_mesh/common_components/example_nvs 13 include $(IDF_PATH)/make/project.mk
|
D | CMakeLists.txt | 5 set(EXTRA_COMPONENT_DIRS $ENV{IDF_PATH}/examples/bluetooth/esp_ble_mesh/common_components/button 6 … $ENV{IDF_PATH}/examples/bluetooth/esp_ble_mesh/common_components/light_driver 7 … $ENV{IDF_PATH}/examples/bluetooth/esp_ble_mesh/common_components/example_init 8 … $ENV{IDF_PATH}/examples/bluetooth/esp_ble_mesh/common_components/example_nvs) 10 include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
/hal_espressif-3.5.0/examples/cxx/experimental/experimental_cpp_component/host_test/esp_timer/ |
D | CMakeLists.txt | 3 include($ENV{IDF_PATH}/tools/cmake/project.cmake) 6 list(APPEND EXTRA_COMPONENT_DIRS "$ENV{IDF_PATH}/tools/mocks/esp_timer/") 7 list(APPEND EXTRA_COMPONENT_DIRS "$ENV{IDF_PATH}/tools/mocks/driver/") 8 list(APPEND EXTRA_COMPONENT_DIRS "$ENV{IDF_PATH}/tools/mocks/freertos/") 9 list(APPEND EXTRA_COMPONENT_DIRS "$ENV{IDF_PATH}/examples/cxx/experimental/experimental_cpp_compone…
|
/hal_espressif-3.5.0/components/bootloader/subproject/main/ |
D | component.mk | 11 $(IDF_PATH)/components/esp_rom/$(IDF_TARGET)/ld/$(IDF_TARGET).rom.ld \ 12 $(IDF_PATH)/components/esp_rom/$(IDF_TARGET)/ld/$(IDF_TARGET).rom.newlib-funcs.ld \ 13 $(IDF_PATH)/components/esp_rom/$(IDF_TARGET)/ld/$(IDF_TARGET).rom.api.ld 18 … LINKER_SCRIPTS += $(IDF_PATH)/components/esp_rom/$(IDF_TARGET)/ld/$(IDF_TARGET).rom.spiflash.ld 21 LINKER_SCRIPTS += $(IDF_PATH)/components/esp_rom/$(IDF_TARGET)/ld/$(IDF_TARGET).rom.eco3.ld
|
/hal_espressif-3.5.0/examples/bluetooth/esp_ble_mesh/ble_mesh_vendor_model/vendor_client/ |
D | Makefile | 8 EXTRA_COMPONENT_DIRS := $(IDF_PATH)/examples/bluetooth/esp_ble_mesh/common_components/button \ 9 $(IDF_PATH)/examples/bluetooth/esp_ble_mesh/common_components/example_init \ 10 $(IDF_PATH)/examples/bluetooth/esp_ble_mesh/common_components/example_nvs 12 include $(IDF_PATH)/make/project.mk
|