Skip to content

Commit 3bbbb56

Browse files
committed
SFU: add build script
1 parent da2db07 commit 3bbbb56

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

libraries/SFU/extra/build.sh

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#!/bin/bash
2+
3+
mbed config root .
4+
mbed deploy
5+
mbed target NANO_RP2040_CONNECT
6+
mbed toolchain GCC_ARM
7+
mbed compile
8+
set -e
9+
xxd -i BUILD/NANO_RP2040_CONNECT/GCC_ARM/extra_application.bin > ../src/rp2040.h
10+
set +e
11+
#remove last 2 lines
12+
sed -i '$d' ../src/rp2040.h
13+
sed -i '$d' ../src/rp2040.h
14+
#remove first line
15+
sed -i '1d' ../src/rp2040.h

0 commit comments

Comments
 (0)