Skip to content

Commit 79d6fc5

Browse files
committed
pico-blink: build.sh: removes quotes to make it build
1 parent a221615 commit 79d6fc5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pico-blink/build.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,13 @@ PYTHON_EXEC=${PYTHON_EXEC:-$(xcrun -f python3)}
2929
MACHO2UF2=$TOOLSROOT/macho2uf2.py
3030

3131
# Build with Swift package manager
32-
$SWIFT_EXEC build "$SWIFT_BUILD_FLAGS"
32+
$SWIFT_EXEC build $SWIFT_BUILD_FLAGS
3333

3434
# Get the output directory
35-
BUILDROOT=$($SWIFT_EXEC build "$SWIFT_BUILD_FLAGS" --show-bin-path)
35+
BUILDROOT=$($SWIFT_EXEC build $SWIFT_BUILD_FLAGS --show-bin-path)
3636

3737
# Link
38-
$CLANG .build/release/Support.build/Support.c.o .build/release/Support.build/crt0.S.o .build/release/Blinky.build/*.o -target armv6m-apple-none-macho -o "$BUILDROOT"/blinky "$LD_FLAGS"
38+
$CLANG .build/release/Support.build/Support.c.o .build/release/Support.build/crt0.S.o .build/release/Blinky.build/*.o -target armv6m-apple-none-macho -o "$BUILDROOT"/blinky $LD_FLAGS
3939

4040
# Extract sections from executable into flashable binary
4141
$PYTHON_EXEC "$MACHO2UF2" --pico-family $PICO_FAMILY "$BUILDROOT"/blinky "$BUILDROOT"/blinky.uf2 --base-address 0x20000000 --segments '__TEXT,__DATA,__VECTORS,__RESET'

0 commit comments

Comments
 (0)