Skip to content

Commit

Permalink
Add bin and hex
Browse files Browse the repository at this point in the history
  • Loading branch information
kiranshila committed Oct 31, 2023
1 parent caab6d4 commit 70a9a20
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/firmware.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,13 @@ jobs:
run: cargo build --release --bin firmware --target thumbv6m-none-eabi
- name: Convert to hex
run: cargo objcopy --bin firmware --target thumbv6m-none-eabi --release -- -O ihex firmware.hex
- name: Convert to bin
run: cargo objcopy --bin firmware --target thumbv6m-none-eabi --release -- -O binary firmware.bin
- name: Publish release artifacts
uses: actions/upload-artifact@v3
with:
name: firmware
path: "target/thumbv6m-none-eabi/release/firmware"
path: |
target/thumbv6m-none-eabi/release/firmware
firmware.hex
firmware.bin

0 comments on commit 70a9a20

Please sign in to comment.