AlkaMotors / AM32-MultiRotor-ESC-firmware

Firmware for stm32f051 based speed controllers for use with mutirotors
GNU General Public License v3.0
784 stars 270 forks source link

Add action workflow to check code and build firmware automaticlly #30

Closed DusKing1 closed 3 years ago

DusKing1 commented 3 years ago

Use github action to build firmware.

Firmware-artifact contains all generated files.

AM32-F051-${RunNumber} contains only hex files, for blheli-configurator

DusKing1 commented 3 years ago

Test passed on our fork: https://github.com/ColinNiu/AM32-MultiRotor-ESC-firmware/actions/runs/465412368

@mikeller Do you need any change so for to get blheli-configurator can use the automatically generated hex files for flashing

mikeller commented 3 years ago

@DusKing1: Looks ok to me. Currently configurator is only designed to load hex files that are explicitly listed in the manifest, so it will not be able to load development builds. But we can look into adding this.

DusKing1 commented 3 years ago

@mikeller I don't know if configurator can load zip file. Those hex files are packed into zip and then uploaded

DusKing1 commented 3 years ago

Made some minor changes with suggestions from @ColinNiu. Test result is here: https://github.com/ColinNiu/AM32-MultiRotor-ESC-firmware/actions/runs/473176858