Skip to content

Commit

Permalink
Fix: wait for bootloader mode on apple silicon (#929)
Browse files Browse the repository at this point in the history
  • Loading branch information
kylebonnici authored Jun 11, 2024
1 parent f34d0a3 commit 6ee0700
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
11 changes: 11 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,17 @@ This project does _not_ adhere to
[Semantic Versioning](https://semver.org/spec/v2.0.0.html) but contrary to it
every new version is a new major version.

## 178.0.0 - 2024-06-11

### Changed

- `isDeviceInDFUBootloader` now also expect nordic DFU Trait to be true

### Fixed

- Wait for device `when='dfuBootLoaderMode'` will wait until nordic DFU Trait
is also present

## 177.0.0 - 2024-05-28

### Added
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nordicsemiconductor/pc-nrfconnect-shared",
"version": "177.0.0",
"version": "178.0.0",
"description": "Shared commodities for developing pc-nrfconnect-* packages",
"repository": {
"type": "git",
Expand Down
3 changes: 2 additions & 1 deletion src/Device/sdfuOperations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ export const isDeviceInDFUBootloader = (device: Device) => {
const { descriptor: d } = device.usb.device;
return (
d.idVendor === NORDIC_VENDOR_ID &&
d.idProduct === NORDIC_DFU_PRODUCT_ID
d.idProduct === NORDIC_DFU_PRODUCT_ID &&
!!device.traits.nordicDfu
);
}

Expand Down

0 comments on commit 6ee0700

Please sign in to comment.