Skip to content
This repository was archived by the owner on Apr 9, 2026. It is now read-only.

NCP2286: Upgrade to pc-ble-driver 4.1.0#217

Merged
alwa-nordic merged 16 commits intomasterfrom
NCP-2286
May 2, 2019
Merged

NCP2286: Upgrade to pc-ble-driver 4.1.0#217
alwa-nordic merged 16 commits intomasterfrom
NCP-2286

Conversation

@alwa-nordic
Copy link
Copy Markdown
Contributor

Overhaul in conjunction with upgrading to pc-ble-driver 4.1.0. See commits for details.

@alwa-nordic alwa-nordic requested a review from kenr April 12, 2019 07:02
@alwa-nordic alwa-nordic force-pushed the NCP-2286 branch 2 times, most recently from aa3dbc9 to 8eab402 Compare April 30, 2019 14:43
Use find_package instead of submodule for pc-ble-driver, and remove
said submodule. This also upgrades pc-ble-driver to 4.1.0.

EnumSerialPorts from nrf-ble-driver has changed signature. It now
returns a list instead of filling a provided one.
CMake install target will now install/update the connectivity firmware
hex files from the nrf-ble-driver package in case it's old or missing.
build.js now invokes the install target.
Macos has gained support for this. It is no longer necessary to limit it
to 115k.
EnumSerialPorts is a private API. This change replaces its use with the
public API sd_rpc_serial_port_enum.
alwa-nordic and others added 7 commits May 2, 2019 14:06
Without this or a .npmignore, npm pack looks at .gitingore. .gitignore
would prevent pc-ble-driver/ from inclusion. This also reduces size and
file count of package.
Resolving grabAdapter promises concurrently results in a race, which
most of the time results in the error:

Error: Error occured when open device long term. Errorcode: CouldNotCallFunction (0x9)
    Lowlevel error: INVALID_OPERATION (fffffffe)
When two nRF52 dongles need programming, the device setup can take about
40 seconds on my machine.
bihanssen
bihanssen previously approved these changes May 2, 2019
Copy link
Copy Markdown
Contributor

@bihanssen bihanssen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

bencefr
bencefr previously approved these changes May 2, 2019
@bencefr
Copy link
Copy Markdown
Contributor

bencefr commented May 2, 2019

Nice job!

These were mistakenly taken from an outdated document and don't reflect
reality.
@alwa-nordic alwa-nordic dismissed stale reviews from bencefr and bihanssen via b406df6 May 2, 2019 13:49
Copy link
Copy Markdown
Contributor

@kenr kenr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@alwa-nordic alwa-nordic merged commit d07147c into master May 2, 2019
@bencefr bencefr deleted the NCP-2286 branch April 29, 2020 07:50
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants