Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit d5e8764

Browse files
committedMay 25, 2021
SFU: add build script
1 parent afec5ca commit d5e8764

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed
 

‎libraries/SFU/extra/build.sh

Lines changed: 15 additions & 0 deletions
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)
Please sign in to comment.