/hal_espressif-3.4.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.4.0/tools/cmake/ |
D | idf.cmake | 3 # Infer an IDF_PATH relative to the tools/cmake directory 8 set(idf_path $ENV{IDF_PATH}) variable 10 # Environment IDF_PATH should match the inferred IDF_PATH. If not, warn the user. 13 if(idf_path) 14 get_filename_component(idf_path "${idf_path}" REALPATH) 15 file(TO_CMAKE_PATH "${idf_path}" idf_path) 17 if(NOT idf_path STREQUAL _idf_path) 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: 21 ${idf_path}") [all …]
|
D | kconfig.cmake | 10 idf_build_get_property(idf_path IDF_PATH) 37 set(src_path ${idf_path}/tools/kconfig) 91 idf_build_get_property(idf_path IDF_PATH) 92 idf_build_set_property(__ROOT_KCONFIG ${idf_path}/Kconfig) 93 idf_build_set_property(__ROOT_SDKCONFIG_RENAME ${idf_path}/sdkconfig.rename) 180 idf_build_get_property(idf_path IDF_PATH) 196 configure_file("${idf_path}/tools/kconfig_new/config.env.in" ${config_env_path}) 218 ${python} ${idf_path}/tools/kconfig_new/prepare_kconfig_files.py 222 ${python} ${idf_path}/tools/kconfig_new/confgen.py 281 …set_property(DIRECTORY APPEND PROPERTY CMAKE_CONFIGURE_DEPENDS "${idf_path}/tools/kconfig_new/conf… [all …]
|
/hal_espressif-3.4.0/ |
D | export.sh | 33 if [ -z "${IDF_PATH}" ] 35 # IDF_PATH not set in the environment. 36 # If using bash or zsh, try to guess IDF_PATH from script location. 47 echo "Could not detect IDF_PATH. Please set it before sourcing this script:" 48 echo " export IDF_PATH=(add path here)" 63 export IDF_PATH="${script_dir}" 64 echo "Setting IDF_PATH to '${IDF_PATH}'" 66 # IDF_PATH came from the environment, check if the path is valid 67 if [ ! -d "${IDF_PATH}" ] 69 echo "IDF_PATH is set to '${IDF_PATH}', but it is not a valid directory." [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.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 | 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 51 # ${IDF_PATH}/tools is already added by 'idf_tools.py export' 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 | add_path.sh | 7 # . ${IDF_PATH}/add_path.sh 9 if [ -z ${IDF_PATH} ]; then 10 echo "IDF_PATH must be set before including this script." 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.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
|
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
|
/hal_espressif-3.4.0/docs/zh_CN/get-started-legacy/ |
D | add-idf_path-to-profile.rst | 1 在用户配置文件中添加 IDF_PATH(传统 GNU Make) 7 为了在系统多次启动时,保留 ``IDF_PATH`` 环境变量的设置,请按照以下说明将该变量的设置增加至用户配置文件。 9 .. _add-idf_path-to-profile-windows-legacy: 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" 40 .. _add-idf_path-to-profile-linux-macos-legacy: 45 在 ``~/.profile`` 文件中增加以下命令,设置 ``IDF_PATH`` 变量:: [all …]
|
/hal_espressif-3.4.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… 10 .. _add-idf_path-to-profile-windows-legacy: 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" 42 .. _add-idf_path-to-profile-linux-macos-legacy: 47 Set up ``IDF_PATH`` by adding the following line to ``~/.profile`` file:: [all …]
|
/hal_espressif-3.4.0/.gitlab/ci/ |
D | host-test.yml | 160 - cd ${IDF_PATH}/tools/test_idf_monitor 172 - cd ${IDF_PATH}/tools/test_idf_size 180 - cd ${IDF_PATH}/tools/test_idf_py 193 - cd ${IDF_PATH}/tools/test_idf_tools 196 - cd ${IDF_PATH}/tools 209 - cd ${IDF_PATH}/components/efuse/ 210 …- ./efuse_table_gen.py -t "${IDF_TARGET}" ${IDF_PATH}/components/efuse/${IDF_TARGET}/esp_efuse_tab… 212 - cd ${IDF_PATH}/components/efuse/test_efuse_host 253 - cd ${IDF_PATH}/components/espcoredump/test/ 265 - cd ${IDF_PATH}/tools/esp_app_trace/test/logtrace [all …]
|
D | pre_check.yml | 41 - export IDF_PATH=$PWD 47 - python ${IDF_PATH}/tools/ci/check_examples_cmake_make.py 67 …- python -m flake8 --config=$IDF_PATH/.flake8 --output-file=flake8_output.txt --tee --benchmark $I… 84 - python ${IDF_PATH}/tools/ci/test_check_kconfigs.py 94 - IDF_TARGET=esp32 $IDF_PATH/components/esp_wifi/test_md5/test_md5.sh 95 - IDF_TARGET=esp32s2 $IDF_PATH/components/esp_wifi/test_md5/test_md5.sh 96 - IDF_TARGET=esp32s3 $IDF_PATH/components/esp_wifi/test_md5/test_md5.sh 97 - IDF_TARGET=esp32c3 $IDF_PATH/components/esp_wifi/test_md5/test_md5.sh 99 - bash $IDF_PATH/tools/ci/check_blobs.sh 105 - cd ${IDF_PATH}/components/lwip/test_afl_host [all …]
|
/hal_espressif-3.4.0/tools/ci/ |
D | test_build_system_cmake.sh | 11 # IDF_PATH - must be set 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}) [all …]
|
D | test_build_system.sh | 11 # IDF_PATH - must be set 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 [all …]
|
/hal_espressif-3.4.0/tools/esp_prov/proto/ |
D | __init__.py | 32 idf_path = os.environ['IDF_PATH'] variable 35 constants_pb2 = _load_source('constants_pb2', idf_path + '/components/protocomm/python/constants_pb… 36 sec0_pb2 = _load_source('sec0_pb2', idf_path + '/components/protocomm/python/sec0_pb2.py') 37 sec1_pb2 = _load_source('sec1_pb2', idf_path + '/components/protocomm/python/sec1_pb2.py') 38 session_pb2 = _load_source('session_pb2', idf_path + '/components/protocomm/python/session_pb2.… 41 wifi_constants_pb2 = _load_source('wifi_constants_pb2', idf_path + '/components/wifi_provisioning/p… 42 wifi_config_pb2 = _load_source('wifi_config_pb2', idf_path + '/components/wifi_provisioning/p… 43 wifi_scan_pb2 = _load_source('wifi_scan_pb2', idf_path + '/components/wifi_provisioning/p… 46 custom_config_pb2 = _load_source('custom_config_pb2', idf_path +
|
/hal_espressif-3.4.0/components/esp_wifi/test_md5/ |
D | test_md5.sh | 5 if [ -z "${IDF_PATH:-}" ]; then 6 echo "IDF_PATH must be set before running this script" 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.4.0/make/ |
D | project.mk | 9 # This makefile requires the environment variable IDF_PATH to be set to the top-level esp-idf direc… 78 # make IDF_PATH a "real" absolute path 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.) 104 ifneq ("$(IDF_PATH)","$(SANITISED_IDF_PATH)") 105 # implies IDF_PATH was overriden on make command line. 109 # make IDF_PATH=~/blah not make IDF_PATH="~/blah" [all …]
|
/hal_espressif-3.4.0/tools/test_apps/system/no_embedded_paths/ |
D | check_for_file_paths.py | 4 # in a CMake build directory for embedded copies of IDF_PATH. 12 # ./check_for_file_paths.py <IDF_PATH> <BUILD_DIR> 51 idf_path = sys.argv[1] 54 assert os.path.exists(idf_path) 57 print('Checking object files in {} for mentions of {}...'.format(build_dir, idf_path)) 66 …idf_path_binary = idf_path.encode() # we're going to be checking binary streams (note: probably n… 77 def check_file(obj_file, idf_path): # type: (str, bytes) -> int argument 86 if idf_path in contents:
|
/hal_espressif-3.4.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.4.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.4.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.4.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)
|