Skip to content

samples: nrf_desktop: Send queued data on empty pipeline #354

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 20, 2018

Conversation

pdunaj
Copy link
Contributor

@pdunaj pdunaj commented Dec 19, 2018

Send queued data only if report pipeline is empty.

Jira:DESK-373

Signed-off-by: Pawel Dunaj [email protected]

Send queued data only if report pipeline is empty.

Jira:DESK-373

Signed-off-by: Pawel Dunaj <[email protected]>
@pdunaj pdunaj requested review from Qbicz and kapi-no December 19, 2018 15:34
@pdunaj
Copy link
Contributor Author

pdunaj commented Dec 19, 2018

Tested on PCA20041. Seems working

@pdunaj
Copy link
Contributor Author

pdunaj commented Dec 20, 2018

Hi @pizi-nordic , can you merge?

@pizi-nordic pizi-nordic merged commit 06b5fb8 into nrfconnect:master Dec 20, 2018
utzig pushed a commit to tejlmand/fw-nrfconnect-nrf that referenced this pull request Oct 6, 2020
sdk-zephyr: a4ead98051404e3b63845d9944b0c689162f1db1 (PR nrfconnect#354)
sdk-mcuboot: ec441e0a700280673e11f4e242ff5de696d4f962 (PR nrfconnect#120)
sdk-mcumgr: b3716c64bde95ea5911a36001fd8f8d4b46eb310 (PR nrfconnect#10)
sdk-nrfxlib: f1dd2ee (PR nrfconnect#266)

Summary of changes needed for this upmerge:

- modules: device: Const-ify all device driver instance pointers.

  See also zephyrproject-rtos/zephyr#24873

- jenkins: remove --board-root zephyr/boards

  zephyr/boards are always part of sanity-check and with duplicate board
  checking with: zephyrproject-rtos/zephyr#27549
  this now results in CI failures.

- samples: whitelist -> allow

  sanitycheck: inclusive language.

  change whitelist -> allow for all sample.yaml and testcase.yaml files.

- scripts: ncs_commands: add hal_quicklogic to _BLOCKED_PROJECTS

  This is a vendor HAL for an SoC family not supported in NCS.

- doc: upmerge changes to docs

  Adjusted `CONFIG_BT_GATT_DIS` -> `CONFIG_BT_DIS` in docs.

- samples: remove GATT infix in conf files for applications and samples

- usb: hid: All hid_ops callbacks get device pointer.

  Updated usb_state.c to new hid_ops callbacks which includes the device
  pointer.

- cmake: bintools elfconvert

  Updated according to new toolchain abstraction.

- partition_manager: cmake: update regex for runner hex file

  The format of the runner yaml has changed. Update the regex used to
  replace the hex_file variable to match it.

- spm: align with updated API for setting irq state

  The API for setting IRQ state has changed.
  Update to align with the new functionailty.

  Ref: NCSDK-6463

- nrf_desktop: using CONFIG_SYSTEM_CLOCK_WAIT_FOR_STABILITY=y

  Updated nrf_desktop applications to use upstream
  SYSTEM_CLOCK_WAIT_FOR_STABILITY instead of
  CLOCK_CONTROL_NRF_K32SRC_BLOCKING.

- dts/Kconfig: Remove HAS_DTS_I2C

  HAS_DTS_I2C is now selected by I2C and
  always used as I2C && HAS_DTS_I2C.

  It could then be purely removed.

- drivers: mpsl: clock_control: Provide nrfx_clock shim

  Replace clock_control_mpsl with nrfx_clock implementation which is
  using mpsl_clock API. This way standard clock_control driver is
  used and only thin, straightforward nrfx_clock API is replaced with
  implementation which is utilizing mpsl_clock API.

- mpsl: removing clock control in mpsl

- applications: nrf_desktop: Disable mem protection in mcuboot

  Disable HW stack protection in MCUBoot. This seems to cause
  problems as region protection migrates to application and can
  cause faults during kernel initialization.

Signed-off-by: Håkon Øye Amundsen <[email protected]>
Signed-off-by: Torsten Rasmussen <[email protected]>
Signed-off-by: Pawel Dunaj <[email protected]>
Signed-off-by: Krzysztof Chruscinski <[email protected]>
mbolivar-nordic pushed a commit that referenced this pull request Oct 6, 2020
sdk-zephyr: a4ead98051404e3b63845d9944b0c689162f1db1 (PR #354)
sdk-mcuboot: ec441e0a700280673e11f4e242ff5de696d4f962 (PR #120)
sdk-mcumgr: b3716c64bde95ea5911a36001fd8f8d4b46eb310 (PR #10)
sdk-nrfxlib: f1dd2ee (PR #266)

Summary of changes needed for this upmerge:

- modules: device: Const-ify all device driver instance pointers.

  See also zephyrproject-rtos/zephyr#24873

- jenkins: remove --board-root zephyr/boards

  zephyr/boards are always part of sanity-check and with duplicate board
  checking with: zephyrproject-rtos/zephyr#27549
  this now results in CI failures.

- samples: whitelist -> allow

  sanitycheck: inclusive language.

  change whitelist -> allow for all sample.yaml and testcase.yaml files.

- scripts: ncs_commands: add hal_quicklogic to _BLOCKED_PROJECTS

  This is a vendor HAL for an SoC family not supported in NCS.

- doc: upmerge changes to docs

  Adjusted `CONFIG_BT_GATT_DIS` -> `CONFIG_BT_DIS` in docs.

- samples: remove GATT infix in conf files for applications and samples

- usb: hid: All hid_ops callbacks get device pointer.

  Updated usb_state.c to new hid_ops callbacks which includes the device
  pointer.

- cmake: bintools elfconvert

  Updated according to new toolchain abstraction.

- partition_manager: cmake: update regex for runner hex file

  The format of the runner yaml has changed. Update the regex used to
  replace the hex_file variable to match it.

- spm: align with updated API for setting irq state

  The API for setting IRQ state has changed.
  Update to align with the new functionailty.

  Ref: NCSDK-6463

- nrf_desktop: using CONFIG_SYSTEM_CLOCK_WAIT_FOR_STABILITY=y

  Updated nrf_desktop applications to use upstream
  SYSTEM_CLOCK_WAIT_FOR_STABILITY instead of
  CLOCK_CONTROL_NRF_K32SRC_BLOCKING.

- dts/Kconfig: Remove HAS_DTS_I2C

  HAS_DTS_I2C is now selected by I2C and
  always used as I2C && HAS_DTS_I2C.

  It could then be purely removed.

- drivers: mpsl: clock_control: Provide nrfx_clock shim

  Replace clock_control_mpsl with nrfx_clock implementation which is
  using mpsl_clock API. This way standard clock_control driver is
  used and only thin, straightforward nrfx_clock API is replaced with
  implementation which is utilizing mpsl_clock API.

- mpsl: removing clock control in mpsl

- applications: nrf_desktop: Disable mem protection in mcuboot

  Disable HW stack protection in MCUBoot. This seems to cause
  problems as region protection migrates to application and can
  cause faults during kernel initialization.

Signed-off-by: Håkon Øye Amundsen <[email protected]>
Signed-off-by: Torsten Rasmussen <[email protected]>
Signed-off-by: Pawel Dunaj <[email protected]>
Signed-off-by: Krzysztof Chruscinski <[email protected]>
@pdunaj pdunaj deleted the DESK-373_bis branch February 26, 2021 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants