Skip to content

Commit 0e4995c

Browse files
committed
drop SD in linker name
1 parent 29a62bc commit 0e4995c

File tree

6 files changed

+6
-8
lines changed

6 files changed

+6
-8
lines changed

.github/workflows/githubci.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@ jobs:
2424
- name: Install Toolchains
2525
run: |
2626
pip3 install adafruit-nrfutil uritemplate requests intelhex
27-
#wget https://www.nordicsemi.com/api/sitecore/Products/DownloadPlatform --post-data=fileid=8F19D314130548209E75EFFADD9348DB -O cli-tools.tar
28-
#tar -xv -f cli-tools.tar
29-
#echo "::add-path::$GITHUB_WORKSPACE/mergehex"
3027
npm install --global xpm
3128
xpm install --global @xpack-dev-tools/arm-none-eabi-gcc@latest
3229
echo "::add-path::`echo $HOME/opt/xPacks/@xpack-dev-tools/arm-none-eabi-gcc/*/.content/bin`"

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ SD_HEX = $(SD_PATH)/$(SD_FILENAME)_softdevice.hex
1919

2020
MBR_HEX = lib/softdevice/mbr/hex/mbr_nrf52_2.4.1_mbr.hex
2121

22-
# linker by MCU and SoftDevice eg. nrf52840_s140_v6.ld
23-
LD_FILE = linker/$(MCU_SUB_VARIANT)_$(SD_NAME)_v$(word 1, $(subst ., ,$(SD_VERSION))).ld
22+
# linker by MCU eg. nrf52840.ld
23+
LD_FILE = linker/$(MCU_SUB_VARIANT).ld
2424

2525
GIT_VERSION = $(shell git describe --dirty --always --tags)
2626
GIT_SUBMODULE_VERSIONS = $(shell git submodule status | cut -d' ' -f3,4 | paste -s -d" " -)
File renamed without changes.
File renamed without changes.
File renamed without changes.

tools/build_all.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,10 @@
5656
fail_count += 1
5757

5858
for entry in os.scandir("_build/build-{}".format(board)):
59-
for extension in ["zip", "hex"]:
60-
if entry.name.endswith(extension) and "nosd" not in entry.name:
61-
shutil.copy(entry.path, bin_directory)
59+
for extension in ["zip", "hex", "uf2"]:
60+
if entry.name.endswith(extension):
61+
if ("nosd" in entry.name) or ("s140" in entry.name) or ("s132" in entry.name):
62+
shutil.copy(entry.path, bin_directory)
6263

6364
print(build_format.format(board, success, "{:.2f}s".format(build_duration), flash_size, sram_size))
6465

0 commit comments

Comments
 (0)