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

Added flashing of Unified Targets from configurations. #1585

Merged
merged 1 commit into from
Aug 21, 2019

Conversation

mikeller
Copy link
Member

@mikeller mikeller commented Aug 18, 2019

First version, only supports local .config files.

Instructions:

  • open firmware flasher tab;
  • click 'Load Firmware [Local]', select .config file, click 'Load';
  • click 'Load Firmware [Local]', select Unified Target .hex file with support for custom defaults, click 'Load'; or
  • select Unified Target .hex file with support for custom defaults from drop downs, click 'Load Firmware [Online]';
  • click 'Flash Firmware';
  • after flashing, enter CLI, use defaults to activate custom defaults.

Next steps:

  • parse the .config file header;
  • automatically load a suitable Unified Target .hex file from the selected firmware repository if available;
  • make .config files available online;
  • automatically apply custom defaults after flashing;
  • improve logging.

@spatzengr
Copy link
Contributor

Could the configurator be setup that when you select a board-specific target from a dropdown and click 'Load Firmware [Online]' it loads the correct Unified Target and loads the correct Config files from the Github?

@mikeller
Copy link
Member Author

Since this is a partial double up with #1585, we have decided to use the configuration insertion into the firmware and the local loading of custom builds from this, and then use the automatic download smarts from #1587 on top of this.

@mikeller mikeller merged commit b60c57c into betaflight:master Aug 21, 2019
@mikeller mikeller deleted the add_unified_target_flashing branch August 21, 2019 11:09
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.

3 participants