Skip to content

Commit

Permalink
Add readme into firmware release zip
Browse files Browse the repository at this point in the history
  • Loading branch information
Ultrawipf committed Jun 1, 2023
1 parent 197dd1a commit 4ccc04f
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,15 +61,15 @@ jobs:
with:
path: etc/usr/artifacts/

# - name: Make temp dir
# run: mkdir -p etc/usr/fw # make temp directory
- name: Copy firmware readme
run: cp -u ${{ github.workspace }}/Firmware/Targets/README_FIRMWARE.md etc/usr/artifacts/README.md

# # Move hex files
# - name: Move firmware files
# run: find etc/usr/artifacts/ -name '*.hex' -exec cp {} etc/usr/fw/ \;

- name: Zip firmware
run: zip -qq -r Firmware.zip OpenFFBoard-Firmware-*
run: zip -qq -r Firmware.zip OpenFFBoard-Firmware-* README.md
working-directory: etc/usr/artifacts/

- name: Zip configurator
Expand Down
16 changes: 16 additions & 0 deletions Firmware/Targets/README_FIRMWARE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
## Firmware versions

Use the correct firmware for your board.
Flashing an incorrect firmware can result in a non working device or even damage to the hardware.
If you accidentially flashed an incorrect firmware stay in DFU mode (or use ST-link) and do a clean full erase.

Use the .hex file for updates.

The following builds are available:

* F407VG: Official FFBoard 1.2+
- Includes all features. Requires VBUS connection
* F407VG_DISCO: Third party development kits (ST F407 Discovery board, different pin mapping)
- See https://github.com/Ultrawipf/OpenFFBoard/wiki/Pinouts-and-peripherals#f407-disco-pinout
- No VBUS required
* F411RE: FFBoard 1.0 (Only supports TMC driver!)

0 comments on commit 4ccc04f

Please sign in to comment.