esp32-s2 ota update sample code?
Posted: Tue Oct 05, 2021 6:47 am
Hi,
I'm getting following error message when trying to use the ota update functionality (or basically when starting the server for the firmware):
python simple_ota_example/example_test.py
['ESP32']
Traceback (most recent call last):
File "simple_ota_example/example_test.py", line 118, in <module>
def test_examples_protocol_simple_ota_example(env, extra_data):
File "/Users/markus/devel/esp32/esp-idf/tools/ci/python_packages/ttfw_idf/__init__.py", line 151, in test
return test_func_generator(func, app, target, ci_target, module, execution_time, level, erase_nvs, **kwargs)
File "/Users/markus/devel/esp32/esp-idf/tools/ci/python_packages/ttfw_idf/__init__.py", line 117, in test_func_generator
test_target = local_test_check(target)
File "/Users/markus/devel/esp32/esp-idf/tools/ci/python_packages/ttfw_idf/__init__.py", line 85, in local_test_check
raise ValueError('IDF_TARGET set to {}, not in decorator target value'.format(idf_target))
ValueError: IDF_TARGET set to ESP32S2, not in decorator target value
any idea how to fix that?
I'm getting following error message when trying to use the ota update functionality (or basically when starting the server for the firmware):
python simple_ota_example/example_test.py
['ESP32']
Traceback (most recent call last):
File "simple_ota_example/example_test.py", line 118, in <module>
def test_examples_protocol_simple_ota_example(env, extra_data):
File "/Users/markus/devel/esp32/esp-idf/tools/ci/python_packages/ttfw_idf/__init__.py", line 151, in test
return test_func_generator(func, app, target, ci_target, module, execution_time, level, erase_nvs, **kwargs)
File "/Users/markus/devel/esp32/esp-idf/tools/ci/python_packages/ttfw_idf/__init__.py", line 117, in test_func_generator
test_target = local_test_check(target)
File "/Users/markus/devel/esp32/esp-idf/tools/ci/python_packages/ttfw_idf/__init__.py", line 85, in local_test_check
raise ValueError('IDF_TARGET set to {}, not in decorator target value'.format(idf_target))
ValueError: IDF_TARGET set to ESP32S2, not in decorator target value
any idea how to fix that?