Implement bootloader #137 (#142)

* Boot: switch to DFU routines. Implements #132 part 1 of 2.

* Boot: boot to DFU shortcut, hard reset USB on each boot. Implements #132 part 2 of 2.

* Deploy scripts: fix path for deploy dfu.

* Bootloader: initial version. Target_f2: rebase, update deployment scripts.

* Bootloader: cleanup, refactor switch2 proc. Readme,wiki: document bootloader.

* Wiki: deploy symlinks as files, bootloader info.

* Target_f2: valid flash size in linker script.

* Github CI: bootloader build and artifacts.

* Bootloader: rename platforms to targets.

* Bootloader: change dfu/os colors.

* disable set -e

* lint code

* add bootloader testing page

Co-authored-by: Aleksandr Kutuzov <aku@plooks.com>
Co-authored-by: aanper <mail@s3f.ru>
This commit is contained in:
あく
2020-10-01 02:05:04 +03:00
committed by GitHub
parent 110a9efc3c
commit 805bb886c0
22 changed files with 691 additions and 16 deletions

View File

@@ -63,3 +63,18 @@ jobs:
target_f2/build/target_prod.bin
target_f2/build/target_prod.hex
if-no-files-found: error
- name: Build bootloader in docker
uses: ./.github/actions/docker
with:
run: make -C bootloader
- name: Publish bootloader artifacts
uses: actions/upload-artifact@v2
with:
name: bootloader
path: |
bootloader/.obj/bootloader.elf
bootloader/.obj/bootloader.bin
bootloader/.obj/bootloader.hex
if-no-files-found: error