fix typo in build-nrf52.sh (#4231)

chmod is the command, '+x' is the argument.
This commit is contained in:
Tom Fifield 2024-07-05 22:03:45 +08:00 committed by GitHub
parent ae420dcd21
commit 8be378c227
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -33,7 +33,7 @@ SRCHEX=.pio/build/$1/firmware.hex
# if WM1110 target, merge hex with softdevice 7.3.0
if (echo $1 | grep -q "wio-sdk-wm1110"); then
echo "Merging with softdevice"
sudo chmod+x ./bin/mergehex
sudo chmod +x ./bin/mergehex
bin/mergehex -m bin/s140_nrf52_7.3.0_softdevice.hex $SRCHEX -o .pio/build/$1/merged_fimware.hex
SRCHEX=.pio/build/$1/merged_fimware.hex
fi