esp32 OTA python execution error

raj480
Posts: 2
Joined: Thu Feb 24, 2022 7:01 am

esp32 OTA python execution error

Postby raj480 » Thu Feb 24, 2022 7:22 am

Hi guys!

I am doing ota on esp32 dev-kit. I have flashed firmware into esp32 dev-kit (esp32 Wroom 32) with url:CONFIG_EXAMPLE_FIRMWARE_UPGRADE_URL="https://192.168.11.130:8070/simple_ota.bin". And I am trying to run
$python example_test.py build 8070 command esp-idf environment cmd, it's giving error as mentioned below. Please somebody help me on that.


C:\Users\rrajk\esp\Espressif\frameworks\esp-idf-v4.4\examples\system\ota\simple_ota_example>python example_test.py build 8070
Traceback (most recent call last):
File "example_test.py", line 225, in <module>
def test_examples_protocol_simple_ota_example_with_flash_encryption_wifi(env, extra_data):
File "C:/Users/rrajk/esp/Espressif/frameworks/esp-idf-v4.4/tools/ci/python_packages\ttfw_idf\__init__.py", line 157, in test
return test_func_generator(func, app, target, ci_target, module, execution_time, level, erase_nvs, **kwargs)
File "C:/Users/rrajk/esp/Espressif/frameworks/esp-idf-v4.4/tools/ci/python_packages\ttfw_idf\__init__.py", line 123, in test_func_generator
test_target = local_test_check(target)
File "C:/Users/rrajk/esp/Espressif/frameworks/esp-idf-v4.4/tools/ci/python_packages\ttfw_idf\__init__.py", line 89, in local_test_check
raise ValueError('IDF_TARGET set to {}, not in decorator target value'.format(idf_target))
ValueError: IDF_TARGET set to ESP32, not in decorator target value
Attachments
Screenshot (162).png
Screenshot (162).png (509.26 KiB) Viewed 1853 times

jay.cross.bee
Posts: 2
Joined: Tue Oct 04, 2022 6:31 pm

Re: esp32 OTA python execution error

Postby jay.cross.bee » Thu Dec 01, 2022 12:32 am

Did you ever figure this out?

Who is online

Users browsing this forum: Google [Bot] and 60 guests