mirror of
https://github.com/espressif/esp-idf
synced 2025-03-10 01:29:21 -04:00
fix: Fixed wrong filename in ota example readme
This commit is contained in:
parent
31d87a0c59
commit
99db66676c
@ -156,7 +156,7 @@ Running a local https server might be tricky in some cases (due to self signed c
|
|||||||
- example of the script output:
|
- example of the script output:
|
||||||
``` bash
|
``` bash
|
||||||
$ cd idf/examples/system/ota/simple_ota_example
|
$ cd idf/examples/system/ota/simple_ota_example
|
||||||
$ python example_test.py build 8070
|
$ python pytest_simple_ota.py build 8070
|
||||||
Starting HTTPS server at "https://:8070"
|
Starting HTTPS server at "https://:8070"
|
||||||
192.168.10.106 - - [02/Mar/2021 14:32:26] "GET /simple_ota.bin HTTP/1.1" 200 -
|
192.168.10.106 - - [02/Mar/2021 14:32:26] "GET /simple_ota.bin HTTP/1.1" 200 -
|
||||||
```
|
```
|
||||||
|
@ -331,7 +331,7 @@ def test_examples_protocol_simple_ota_example_with_verify_app_signature_on_updat
|
|||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
if sys.argv[2:]: # if two or more arguments provided:
|
if sys.argv[2:]: # if two or more arguments provided:
|
||||||
# Usage: example_test.py <image_dir> <server_port> [cert_di>]
|
# Usage: pytest_simple_ota.py <image_dir> <server_port> [cert_di>]
|
||||||
this_dir = os.path.dirname(os.path.realpath(__file__))
|
this_dir = os.path.dirname(os.path.realpath(__file__))
|
||||||
bin_dir = os.path.join(this_dir, sys.argv[1])
|
bin_dir = os.path.join(this_dir, sys.argv[1])
|
||||||
port = int(sys.argv[2])
|
port = int(sys.argv[2])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user