Skip to content

Commit c29f473

Browse files
refactor(esptool_py): Remove elf variable dependencies
This commit updates all test_apps that have dependency on the elf variable. Such test_apps now fetch the executable target from the build properties.
1 parent b6ea668 commit c29f473

File tree

28 files changed

+29
-0
lines changed

28 files changed

+29
-0
lines changed

components/driver/test_apps/legacy_i2c_driver/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ set(COMPONENTS main esp_pm)
1212
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
1313
project(legacy_i2c_test)
1414

15+
idf_build_get_property(elf EXECUTABLE)
1516
if(CONFIG_COMPILER_DUMP_RTL_FILES)
1617
add_custom_target(check_test_app_sections ALL
1718
COMMAND ${PYTHON} $ENV{IDF_PATH}/tools/ci/check_callgraph.py

components/driver/test_apps/legacy_twai/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ set(COMPONENTS main)
77
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
88
project(twai_test)
99

10+
idf_build_get_property(elf EXECUTABLE)
1011
if(CONFIG_COMPILER_DUMP_RTL_FILES)
1112
add_custom_target(check_test_app_sections ALL
1213
COMMAND ${PYTHON} $ENV{IDF_PATH}/tools/ci/check_callgraph.py

components/esp_adc/test_apps/adc/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ set(COMPONENTS main)
99
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
1010
project(adc_test)
1111

12+
idf_build_get_property(elf EXECUTABLE)
1213
if(CONFIG_COMPILER_DUMP_RTL_FILES)
1314
add_custom_target(check_test_app_sections ALL
1415
COMMAND ${PYTHON} $ENV{IDF_PATH}/tools/ci/check_callgraph.py

components/esp_driver_ana_cmpr/test_apps/analog_comparator/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ set(COMPONENTS main)
77
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
88
project(test_ana_cmpr)
99

10+
idf_build_get_property(elf EXECUTABLE)
1011
if(CONFIG_COMPILER_DUMP_RTL_FILES)
1112
add_custom_target(check_test_app_sections ALL
1213
COMMAND ${PYTHON} $ENV{IDF_PATH}/tools/ci/check_callgraph.py

components/esp_driver_dac/test_apps/dac/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ set(COMPONENTS main)
77
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
88
project(dac_test)
99

10+
idf_build_get_property(elf EXECUTABLE)
1011
if(CONFIG_COMPILER_DUMP_RTL_FILES)
1112
add_custom_target(check_test_app_sections ALL
1213
COMMAND ${PYTHON} $ENV{IDF_PATH}/tools/ci/check_callgraph.py

components/esp_driver_gpio/test_apps/gpio/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ set(COMPONENTS main)
77
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
88
project(gpio_test)
99

10+
idf_build_get_property(elf EXECUTABLE)
1011
if(CONFIG_COMPILER_DUMP_RTL_FILES)
1112
add_custom_target(check_test_app_sections ALL
1213
COMMAND ${PYTHON} $ENV{IDF_PATH}/tools/ci/check_callgraph.py

components/esp_driver_gpio/test_apps/gpio_extensions/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ set(COMPONENTS main)
77
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
88
project(gpio_extension_test)
99

10+
idf_build_get_property(elf EXECUTABLE)
1011
if(CONFIG_COMPILER_DUMP_RTL_FILES)
1112
add_custom_target(check_test_app_sections ALL
1213
COMMAND ${PYTHON} $ENV{IDF_PATH}/tools/ci/check_callgraph.py

components/esp_driver_gptimer/test_apps/gptimer/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ set(COMPONENTS main)
77
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
88
project(gptimer_test)
99

10+
idf_build_get_property(elf EXECUTABLE)
1011
if(CONFIG_COMPILER_DUMP_RTL_FILES)
1112
add_custom_target(check_test_app_sections ALL
1213
COMMAND ${PYTHON} $ENV{IDF_PATH}/tools/ci/check_callgraph.py

components/esp_driver_i2c/test_apps/i2c_test_apps/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ set(EXTRA_COMPONENT_DIRS
1111
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
1212
project(i2c_test)
1313

14+
idf_build_get_property(elf EXECUTABLE)
1415
if(CONFIG_COMPILER_DUMP_RTL_FILES)
1516
add_custom_target(check_test_app_sections ALL
1617
COMMAND ${PYTHON} $ENV{IDF_PATH}/tools/ci/check_callgraph.py

components/esp_driver_i2s/test_apps/i2s/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ set(COMPONENTS main)
77
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
88
project(i2s_test)
99

10+
idf_build_get_property(elf EXECUTABLE)
1011
if(CONFIG_COMPILER_DUMP_RTL_FILES)
1112
add_custom_target(check_test_app_sections ALL
1213
COMMAND ${PYTHON} $ENV{IDF_PATH}/tools/ci/check_callgraph.py

0 commit comments

Comments
 (0)