diff options
| author | hathach <[email protected]> | 2026-03-03 18:25:18 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2026-03-03 18:25:18 +0700 |
| commit | e4950e9b693171f7bb47d8c1f800ece8827242ec (patch) | |
| tree | 91de275e82fa2550a653acb199879550dceb0372 /test | |
| parent | 2a27bd9db0f97f2d5034336626accbe2bb6bd330 (diff) | |
add esptool --force for esp32p4 v0.1
Diffstat (limited to 'test')
| -rwxr-xr-x | test/hil/hil_test.py | 2 | ||||
| -rw-r--r-- | test/hil/tinyusb.json | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/test/hil/hil_test.py b/test/hil/hil_test.py index b84740867..757456806 100755 --- a/test/hil/hil_test.py +++ b/test/hil/hil_test.py @@ -302,7 +302,7 @@ def flash_esptool(board, firmware): idf_target = json.load(f)['IDF_TARGET'] with open(f'{fw_dir}/flash_args') as f: flash_args = f.read().strip().replace('\n', ' ') - command = (f'esptool.py --chip {idf_target} -p {port} {flasher["args"]} ' + command = (f'esptool --chip {idf_target} -p {port} {flasher["args"]} ' f'--before=default_reset --after=hard_reset write_flash {flash_args}') ret = run_cmd(command, cwd=fw_dir) return ret diff --git a/test/hil/tinyusb.json b/test/hil/tinyusb.json index 7cb561b2d..4d7276c8f 100644 --- a/test/hil/tinyusb.json +++ b/test/hil/tinyusb.json @@ -13,7 +13,8 @@ "flasher": { "name": "esptool", "uid": "4ea4f48f6bc3ee11bbb9d00f9e1b1c54", - "args": "-b 1500000" + "args": "-b 1500000 --force", + "comment": "use --force for ESP32-P4 v0.1" }, "comment": "Use TS3USB30 mux to test both device and host" }, |
