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

[GN] ESP32 flashing support #2903

Merged
merged 3 commits into from
Sep 30, 2020

Conversation

kpschoedel
Copy link
Contributor

Problem

ESP32 is missing .flash.py support equivalent to EFR32 and NRF5.

Summary of Changes

  • Generate flashing wrapper script from ESP32 wifi-echo Makefile.
  • Added esp32_firmware_utils.
  • Added subclass hooks for Flasher.make_wrapper() and .parse_argv().
  • Added Flasher.format_command() for tool command argument lists.
  • Use argparse.Namespace directly instead of converting to a dict.
  • Minor text fixes.

Flashing wrapper generation from GN is not included here since there
is no GN binary target yet, but would be easy to add based on one of
the existing //third_party/_sdk/_executable.gni.

#### Problem

ESP32 is missing .flash.py support equivalent to EFR32 and NRF5.

#### Summary of Changes

- Generate flashing wrapper script from ESP32 wifi-echo Makefile.
- Added esp32_firmware_utils.
- Added subclass hooks for Flasher.make_wrapper() and .parse_argv().
- Added Flasher.format_command() for tool command argument lists.
- Use argparse.Namespace directly instead of converting to a dict.
- Minor text fixes.

Flashing wrapper generation from GN is not included here since there
is no GN binary target yet, but would be easy to add based on one of
the existing //third_party/*_sdk/*_executable.gni.
@andy31415 andy31415 merged commit 3618933 into project-chip:master Sep 30, 2020
@kpschoedel kpschoedel deleted the gn-work-esp32-flash branch September 30, 2020 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants