Skip to content
This repository was archived by the owner on Jan 17, 2023. It is now read-only.

Commit 67b2820

Browse files
authored
Fix missing hex file in nrfutil.exe pyinstaller bundle (#357)
* Add thread ncp.hex to pyinstaller spec file Adding to spec file to ensure the hex file gets bundled and is available from the pyinstaller generated binary NCP-2211
1 parent 10276bf commit 67b2820

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

nrfutil.spec

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ datas.append((os.path.join(nrfutil_path, "libusb", "x86", "libusb-1.0.dll"), os.
2525
datas.append((os.path.join(nrfutil_path, "libusb", "x64", "libusb-1.0.dll"), os.path.join("libusb", "x64")))
2626
datas.append((os.path.join(nrfutil_path, "nordicsemi", "zigbee", "hex", "ota.hex"),
2727
os.path.join("nordicsemi", "zigbee", "hex")))
28-
28+
datas.append((os.path.join(nrfutil_path, "nordicsemi", "thread", "hex", "ncp.hex"),
29+
os.path.join("nordicsemi", "thread", "hex")))
30+
2931
a = Analysis(['nordicsemi/__main__.py'],
3032
binaries=None,
3133
datas=datas,

0 commit comments

Comments
 (0)