mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-31 03:07:21 +02:00
examples: fix loadable elf test
This commit is contained in:
@ -120,7 +120,7 @@ def test_examples_loadable_elf(env, extra_data):
|
|||||||
idf_path = os.environ['IDF_PATH']
|
idf_path = os.environ['IDF_PATH']
|
||||||
rel_project_path = os.path.join('examples', 'get-started', 'hello_world')
|
rel_project_path = os.path.join('examples', 'get-started', 'hello_world')
|
||||||
proj_path = os.path.join(idf_path, rel_project_path)
|
proj_path = os.path.join(idf_path, rel_project_path)
|
||||||
example = IDF.Example(rel_project_path)
|
example = IDF.Example(rel_project_path, target="esp32")
|
||||||
sdkconfig = example.get_sdkconfig()
|
sdkconfig = example.get_sdkconfig()
|
||||||
elf_path = os.path.join(example.get_binary_path(rel_project_path), 'hello-world.elf')
|
elf_path = os.path.join(example.get_binary_path(rel_project_path), 'hello-world.elf')
|
||||||
esp_log_path = os.path.join(proj_path, 'esp.log')
|
esp_log_path = os.path.join(proj_path, 'esp.log')
|
||||||
|
Reference in New Issue
Block a user