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

Commit

Permalink
Fix missing hex file in nrfutil.exe pyinstaller bundle (#357)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
bihanssen authored Aug 23, 2021
1 parent 10276bf commit 67b2820
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion nrfutil.spec
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ datas.append((os.path.join(nrfutil_path, "libusb", "x86", "libusb-1.0.dll"), os.
datas.append((os.path.join(nrfutil_path, "libusb", "x64", "libusb-1.0.dll"), os.path.join("libusb", "x64")))
datas.append((os.path.join(nrfutil_path, "nordicsemi", "zigbee", "hex", "ota.hex"),
os.path.join("nordicsemi", "zigbee", "hex")))

datas.append((os.path.join(nrfutil_path, "nordicsemi", "thread", "hex", "ncp.hex"),
os.path.join("nordicsemi", "thread", "hex")))

a = Analysis(['nordicsemi/__main__.py'],
binaries=None,
datas=datas,
Expand Down

0 comments on commit 67b2820

Please sign in to comment.