Skip to content

Commit fadb760

Browse files
authored
Merge pull request #108 from Neotron-Compute/update-flash-instructions
Update flash instructions
2 parents 0b2bc59 + a4bee47 commit fadb760

File tree

8 files changed

+239
-254
lines changed

8 files changed

+239
-254
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,19 @@ jobs:
2020
with:
2121
2222

23-
- name: Add targets
23+
- name: Install Rust
2424
run: |
25+
rustup toolchain install stable --profile minimal --no-self-update
26+
rustup default stable
2527
rustup target add thumbv6m-none-eabi
28+
echo CARGO_INCREMENTAL=0 >> $GITHUB_ENV
29+
echo CARGO_TERM_COLOR=always >> $GITHUB_ENV
2630
2731
- name: Build neotron-pico-bios
2832
run: |
2933
cargo build --release --verbose
30-
elf2uf2-rs ./target/thumbv6m-none-eabi/release/neotron-pico-bios
34+
mv ./target/thumbv6m-none-eabi/release/neotron-pico-bios ./target/thumbv6m-none-eabi/release/neotron-pico-bios.elf
35+
elf2uf2-rs ./target/thumbv6m-none-eabi/release/neotron-pico-bios.elf
3136
3237
- name: Upload Artifacts
3338
uses: actions/upload-artifact@v4
@@ -36,15 +41,15 @@ jobs:
3641
name: Artifacts
3742
if-no-files-found: error
3843
path: |
39-
./target/thumbv6m-none-eabi/release/neotron-pico-bios
44+
./target/thumbv6m-none-eabi/release/neotron-pico-bios.elf
4045
./target/thumbv6m-none-eabi/release/neotron-pico-bios.uf2
4146
4247
- name: Upload files to Release
4348
if: github.event_name == 'push' && startswith(github.ref, 'refs/tags/')
4449
uses: softprops/action-gh-release@v1
4550
with:
4651
files: |
47-
./target/thumbv6m-none-eabi/release/neotron-pico-bios
52+
./target/thumbv6m-none-eabi/release/neotron-pico-bios.elf
4853
./target/thumbv6m-none-eabi/release/neotron-pico-bios.uf2
4954
env:
5055
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)