Skip to content

Commit

Permalink
Add elf-to-uf2 script
Browse files Browse the repository at this point in the history
  • Loading branch information
marnovandermaas authored and HU90m committed Sep 16, 2024
1 parent 6c817fd commit 9e7fc3c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions scripts/elf-to-uf2.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/sh
# Copyright lowRISC Contributors.
# SPDX-License-Identifier: Apache-2.0
set -ue
llvm-strip "$1" -o "$1.strip"
uf2conv "$1.strip" -f0x6CE29E60 -co "$1.uf2"

0 comments on commit 9e7fc3c

Please sign in to comment.