diff --git a/.github/workflows/firmware.yml b/.github/workflows/firmware.yml index f8209e9..d4bf1c4 100644 --- a/.github/workflows/firmware.yml +++ b/.github/workflows/firmware.yml @@ -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" \ No newline at end of file + path: | + target/thumbv6m-none-eabi/release/firmware + firmware.hex + firmware.bin \ No newline at end of file