Lines Matching refs:IDF_PATH
36 export PATH="$IDF_PATH/tools:$PATH" # for idf.py
43 [ -z ${IDF_PATH} ] && echo "IDF_PATH is not set. Need path to esp-idf installation." && exit 2
75 touch ${IDF_PATH}/components/esp_system/port/cpu_start.c
82 touch ${IDF_PATH}/components/bootloader/subproject/main/bootloader_start.c
89 touch ${IDF_PATH}/components/partition_table/partitions_singleapp.csv
104 echo "IDF_VER_0123456789_0123456789_0123456789" > ${IDF_PATH}/version.txt
118 rm -f ${IDF_PATH}/version.txt
176 TESTDIR_REL=$($REALPATH ${TESTDIR} --relative-to ${IDF_PATH})
178 rsync -a --exclude ${TESTDIR_REL} ${IDF_PATH}/ ${CRLF_ESPIDF}
181 IDF_PATH=${CRLF_ESPIDF} idf.py build || failure "Failed to build with CRLFs in source"
190 cp ${IDF_PATH}/components/esp_rom/esp32/ld/esp32.rom.ld .
191 echo "/* (Build test comment) */" >> ${IDF_PATH}/components/esp_rom/esp32/ld/esp32.rom.ld
192 tail ${IDF_PATH}/components/esp_rom/esp32/ld/esp32.rom.ld
195 mv esp32.rom.ld ${IDF_PATH}/components/esp_rom/esp32/ld/
199 cp ${IDF_PATH}/components/esp32/ld/esp32.project.ld.in .
201 echo "/* (Build test comment) */" >> ${IDF_PATH}/components/esp32/ld/esp32.project.ld.in
205 mv esp32.project.ld.in ${IDF_PATH}/components/esp32/ld/
209 cp ${IDF_PATH}/components/esp32/ld/esp32_fragments.lf .
211 echo "# (Build test comment)" >> ${IDF_PATH}/components/esp32/ld/esp32_fragments.lf
215 mv esp32_fragments.lf ${IDF_PATH}/components/esp32/ld/
275 export IDF_PATH_BACKUP="$IDF_PATH"
276 (unset IDF_PATH &&
286 (ci_idf_path=${IDF_PATH} && unset IDF_PATH && cd build &&
294 export IDF_PATH_BACKUP="$IDF_PATH"
297 (unset IDF_PATH &&
420 ${IDF_PATH}/tools/cmake/convert_to_cmake.py .
427 mv ${IDF_PATH}/tools/cmake/toolchain-esp32.cmake ${IDF_PATH}/components/esp32/
428 …(idf.py reconfigure > /dev/null && grep "${IDF_PATH}/components/esp32/toolchain-esp32.cmake" build…
429 mv ${IDF_PATH}/components/esp32/toolchain-esp32.cmake ${IDF_PATH}/tools/cmake/
458 pushd $IDF_PATH/examples/build_system/cmake/idf_as_lib
461 rm -r $IDF_PATH/examples/build_system/cmake/idf_as_lib/build
469 …idf.py -C $IDF_PATH/examples/build_system/cmake/import_lib -B `pwd`/build -D SDKCONFIG_DEFAULTS="`…
476 IDF_AS_LIB=$IDF_PATH/examples/build_system/cmake/idf_as_lib
480 …(cd build && cmake $IDF_AS_LIB -DCMAKE_TOOLCHAIN_FILE=$IDF_PATH/tools/cmake/toolchain-esp32.cmake …
502 if [ "$(find $IDF_PATH -name "*.py[co]" | wc -l)" -eq 0 ]; then
506 if [ "$(find $IDF_PATH -name "*.py[co]" | wc -l)" -gt 0 ]; then
525 ${PYTHON} $IDF_PATH/tools/idf.py build || failure "build failed"
533 echo "" > ${IDF_PATH}/sdkconfig.rename
536 echo "CONFIG_TEST_OLD_OPTION CONFIG_TEST_NEW_OPTION" >> ${IDF_PATH}/sdkconfig.rename
544 endmenu\n" >> ${IDF_PATH}/Kconfig
553 pushd ${IDF_PATH}
561 echo "CONFIG_TEST_OLD_OPTION CONFIG_TEST_NEW_OPTION" > ${IDF_PATH}/sdkconfig.rename
570 endmenu\n" >> ${IDF_PATH}/Kconfig
575 pushd ${IDF_PATH}
594 (mkdir components && cd components && cp -r $IDF_PATH/components/bootloader .)
637 mv ${IDF_PATH}/tools/idf_monitor.py ${IDF_PATH}/tools/idf_monitor.py.tmp
638 echo "import sys;print(sys.argv[1:])" > ${IDF_PATH}/tools/idf_monitor.py
641 mv ${IDF_PATH}/tools/idf_monitor.py.tmp ${IDF_PATH}/tools/idf_monitor.py
768 pushd $IDF_PATH/examples/build_system/cmake/idf_as_lib
773 …cmake .. -DCMAKE_TOOLCHAIN_FILE=$IDF_PATH/tools/cmake/toolchain-esp32.cmake -DTARGET=esp32 &> log.…
774 …grep "Project directory: $IDF_PATH/examples/build_system/cmake/idf_as_lib" log.txt || failure "PRO…
785 …(idf.py reconfigure | grep "overriden_dir:$IDF_PATH/components/esp32") || failure "Failed to get …
790 …(idf.py reconfigure | grep "kconfig:$IDF_PATH/components/esp32/Kconfig") || failure "Failed to ve…
796 cd "$IDF_PATH/projects/temp_test_project"
799 cd "$IDF_PATH"
800 rm -rf "$IDF_PATH/projects/temp_test_project"
808 ${SED} -i '5i\\tfunc();' "$IDF_PATH/projects/temp_test_project/main/temp_test_project.c"
809 …${SED} -i '5i#include "temp_test_component.h"' "$IDF_PATH/projects/temp_test_project/main/temp_tes…
810 cd "$IDF_PATH/projects/temp_test_project"
812 cd "$IDF_PATH"
813 rm -rf "$IDF_PATH/projects/temp_test_project"
814 rm -rf "$IDF_PATH/components/temp_test_component"
817 mkdir "$IDF_PATH/example_proj/"
818 touch "$IDF_PATH/example_proj/tmp_130698"
820 …expected_failure $EXPECTED_EXIT_VALUE idf.py create-project --path "$IDF_PATH/example_proj/" temp_…
821 rm -rf "$IDF_PATH/example_proj/"
824 touch "$IDF_PATH/example_proj"
826 …expected_failure $EXPECTED_EXIT_VALUE idf.py create-project --path "$IDF_PATH/example_proj" temp_t…
827 rm -rf "$IDF_PATH/example_proj"