kopia lustrzana https://github.com/espressif/esp-idf
examples: fix loadable elf test
rodzic
ebd7004a31
commit
dbae5c93f0
|
@ -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')
|
||||||
|
|
Ładowanie…
Reference in New Issue