Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ESP32 flashing script crashes #8405

Closed
mspang opened this issue Jul 15, 2021 · 4 comments
Closed

ESP32 flashing script crashes #8405

mspang opened this issue Jul 15, 2021 · 4 comments
Labels
stale Stale issue or PR

Comments

@mspang
Copy link
Contributor

mspang commented Jul 15, 2021

Problem

yuif:43297:~/connectedhomeip5/examples/all-clusters-app/esp32% idf.py build flashing_script
Executing action: all (aliases: build)
Running ninja in directory /ssd/src/connectedhomeip5/examples/all-clusters-app/esp32/build
Executing "ninja all"...
[1/8] Performing build step for 'bootloader'
ninja: no work to do.
[2/6] Performing build step for 'chip_gn'
ninja: no work to do.
Executing action: flashing_script
Running ninja in directory /ssd/src/connectedhomeip5/examples/all-clusters-app/esp32/build
Executing "ninja flashing_script"...
ninja: no work to do.
Done
./build/chip-all-clusters-app.flash.py 
Traceback (most recent call last):
  File "/ssd/src/connectedhomeip5/examples/all-clusters-app/esp32/./build/chip-all-clusters-app.flash.py", line 23, in <module>
    sys.exit(esp32_firmware_utils.Flasher(**DEFAULTS).flash_command(sys.argv))
  File "/ssd/src/connectedhomeip5/examples/all-clusters-app/esp32/build/firmware_utils.py", line 397, in flash_command
    return self.parse_argv(argv).actions().status()
  File "/ssd/src/connectedhomeip5/examples/all-clusters-app/esp32/build/esp32_firmware_utils.py", line 440, in actions
    if self.flash(flash).err:
  File "/ssd/src/connectedhomeip5/examples/all-clusters-app/esp32/build/esp32_firmware_utils.py", line 351, in flash
    return self.run_tool(
  File "/ssd/src/connectedhomeip5/examples/all-clusters-app/esp32/build/firmware_utils.py", line 204, in run_tool
    arguments = self.format_command(arguments, opt=option_map)
  File "/ssd/src/connectedhomeip5/examples/all-clusters-app/esp32/build/firmware_utils.py", line 328, in format_command
    result += self.format_command(i, args, opt)
  File "/ssd/src/connectedhomeip5/examples/all-clusters-app/esp32/build/firmware_utils.py", line 328, in format_command
    result += self.format_command(i, args, opt)
  File "/ssd/src/connectedhomeip5/examples/all-clusters-app/esp32/build/firmware_utils.py", line 362, in format_command
    raise ValueError('Unknown: {}'.format(template))
ValueError: Unknown: None

I'm not sure what's wrong but as we need this tool for our interop testing, some assistance would be greatly appreciated.

@kpschoedel
@sweetymhaiske

@mspang
Copy link
Contributor Author

mspang commented Jul 15, 2021

@cecille apparently on it?

@cecille
Copy link
Contributor

cecille commented Jul 15, 2021

Sorry - missed the notifications. #8357 and #8358. Just need a few to fix up the fails on the PR.

@stale
Copy link

stale bot commented Jan 26, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the stale Stale issue or PR label Jan 26, 2022
@woody-apple
Copy link
Contributor

We're in progress of reviewing older issues. Is this still an issue given how old the SDK this was tested against? Please re-open if so. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Stale issue or PR
Projects
None yet
Development

No branches or pull requests

3 participants