Make mergehex executable. (#4290)

Previously, we used sudo and chmod to make mergehex executable in
our build script. This change attempts to set the executable bit
using git properties and remove the dependence on elevated
permissions.
This commit is contained in:
Tom Fifield
2024-07-15 07:11:37 -05:00
committed by GitHub
co-authored by GitHub
parent a04de8c6b3
commit 0f5fdfbab7
2 changed files with 0 additions and 1 deletions
-1
View File
@@ -35,7 +35,6 @@ 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
bin/mergehex -m bin/s140_nrf52_7.3.0_softdevice.hex $SRCHEX -o .pio/build/$1/$basename.hex
SRCHEX=.pio/build/$1/$basename.hex
bin/uf2conv.py $SRCHEX -c -o $OUTDIR/$basename.uf2 -f 0xADA52840
Regular → Executable
View File