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

betaflight: init at 3.2.3 #33365

Merged
merged 1 commit into from Jan 6, 2018
Merged

betaflight: init at 3.2.3 #33365

merged 1 commit into from Jan 6, 2018

Conversation

elitak
Copy link
Contributor

@elitak elitak commented Jan 3, 2018

Motivation for this change

This derivation builds the firmware for as many targets as possible as .hex files in result/(should they be placed in some subdirectory?). The tool used to flash this is a chrome plugin, which I may add a derivation for later, but for now is available in the Google chrome web store.

I wasn't able to test it, but this may build okay on windows, so possibly, meta.platforms should be changed to x86.

Maybe this should go in a directory other than pkgs/development/stm32? I have plans to add other branches of flight-controller firmware into there.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested flashing a target in ./result/*.hex
  • Fits CONTRIBUTING.md.


version = "3.2.3";

in stdenv.mkDerivation rec {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you you add meta attributes, such as license, platforms, maintainers and homepage?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Whoops, that got left behind in one of my local commits.

@elitak elitak force-pushed the betaflight branch 2 times, most recently from bebdb14 to 6577aef Compare January 3, 2018 11:18
@joachifm joachifm merged commit f89d4dc into NixOS:master Jan 6, 2018
@joachifm
Copy link
Contributor

joachifm commented Jan 6, 2018

Thank you

@elitak elitak deleted the betaflight branch December 29, 2018 08:42
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.

None yet

4 participants