Skip to content
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

Samples: Bluetooth: ISO time sync fixes #17646

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ludvigsj
Copy link
Contributor

@ludvigsj ludvigsj commented Oct 4, 2024

This commit fixes the following:

  • Sample now uses absolute pin for GPIOTE, to make the LED work on platforms where the LEDs are not on port 0 (such as nRF54L15).
  • Fix a bug in the initialization of init_val in the GPIOTE task used for the LED, where it would always be initialized to NRF_GPIOTE_INITIAL_VALUE_HIGH and not take the dt_flags into account. This made the LED toggle with inverted polarity on platforms where the LEDs are active high.
  • Change the LED used when CONFIG_LED_TOGGLE_IMMEDIATELY_ON_SEND_OR_RECEIVE is enabled to not conflict with the LED used to display synchronized toggling.
  • Update references to LED numbers in the README to match the actual sample behavior.

@ludvigsj ludvigsj requested review from a team as code owners October 4, 2024 13:39
@github-actions github-actions bot added doc-required PR must not be merged without tech writer approval. changelog-entry-required Update changelog before merge. Remove label if entry is not needed or already added. labels Oct 4, 2024
@NordicBuilder
Copy link
Contributor

NordicBuilder commented Oct 4, 2024

CI Information

To view the history of this post, clich the 'edited' button above
Build number: 3

Inputs:

Sources:

sdk-nrf: PR head: 1ebb4c84aab369654e52229c3bf858b7c3342b39

more details

sdk-nrf:

PR head: 1ebb4c84aab369654e52229c3bf858b7c3342b39
merge base: f7258d0ad63ff6f736b08f60b9d4c2e28398de68
target head (main): f7258d0ad63ff6f736b08f60b9d4c2e28398de68
Diff

Github labels

Enabled Name Description
ci-disabled Disable the ci execution
ci-all-test Run all of ci, no test spec filtering will be done
ci-force-downstream Force execution of downstream even if twister fails
ci-run-twister Force run twister
ci-run-zephyr-twister Force run zephyr twister
List of changed files detected by CI (4)
samples
│  ├── bluetooth
│  │  ├── iso_time_sync
│  │  │  ├── README.rst
│  │  │  ├── src
│  │  │  │  ├── iso_rx.c
│  │  │  │  ├── iso_tx.c
│  │  │  │  │ timed_led_toggle.c

Outputs:

Toolchain

Version: 9583beca34
Build docker image: docker-dtr.nordicsemi.no/sw-production/ncs-build:9583beca34_81ed5a52d6

Test Spec & Results: ✅ Success; ❌ Failure; 🟠 Queued; 🟡 Progress; ◻️ Skipped; ⚠️ Quarantine

  • ◻️ Toolchain - Skipped: existing toolchain is used
  • ✅ Build twister
    • sdk-nrf test count: 424
  • ✅ Integration tests
    • ✅ test-fw-nrfconnect-ble_samples
Disabled integration tests
    • desktop52_verification
    • doc-internal
    • test_ble_nrf_config
    • test-fw-nrfconnect-apps
    • test-fw-nrfconnect-ble_mesh
    • test-fw-nrfconnect-boot
    • test-fw-nrfconnect-chip
    • test-fw-nrfconnect-fem
    • test-fw-nrfconnect-nfc
    • test-fw-nrfconnect-nrf-iot_cloud
    • test-fw-nrfconnect-nrf-iot_libmodem-nrf
    • test-fw-nrfconnect-nrf-iot_lwm2m
    • test-fw-nrfconnect-nrf-iot_mosh
    • test-fw-nrfconnect-nrf-iot_nrf_provisioning
    • test-fw-nrfconnect-nrf-iot_positioning
    • test-fw-nrfconnect-nrf-iot_samples
    • test-fw-nrfconnect-nrf-iot_serial_lte_modem
    • test-fw-nrfconnect-nrf-iot_thingy91
    • test-fw-nrfconnect-nrf-iot_zephyr_lwm2m
    • test-fw-nrfconnect-nrf_crypto
    • test-fw-nrfconnect-proprietary_esb
    • test-fw-nrfconnect-ps
    • test-fw-nrfconnect-rpc
    • test-fw-nrfconnect-rs
    • test-fw-nrfconnect-tfm
    • test-fw-nrfconnect-thread
    • test-fw-nrfconnect-zigbee
    • test-low-level
    • test-sdk-audio
    • test-sdk-dfu
    • test-sdk-find-my
    • test-sdk-mcuboot
    • test-sdk-pmic-samples
    • test-sdk-sidewalk
    • test-sdk-wifi
    • test-secdom-samples-public

Note: This message is automatically posted and updated by the CI

@ludvigsj ludvigsj force-pushed the develop/NCSDK-29302_ISO_time_sync_fixes branch from 71b6e56 to becb41e Compare October 4, 2024 13:50
This commit fixes the following:
  * Fix a bug in the initialization of `init_val` in the GPIOTE task
    used for the LED, where it would always be initialized to
    `NRF_GPIOTE_INITIAL_VALUE_HIGH` and not take the dt_flags into
    account. This made the LED toggle with inverted polarity on
    platforms where the LEDs are active high.
  * Change the LED used when
    `CONFIG_LED_TOGGLE_IMMEDIATELY_ON_SEND_OR_RECEIVE` is enabled to not
    conflict with the LED used to display synchronized toggling.
  * Update references to LED numbers in the README to match the actual
    sample behavior.

Signed-off-by: Ludvig Jordet <[email protected]>
@ludvigsj ludvigsj force-pushed the develop/NCSDK-29302_ISO_time_sync_fixes branch from becb41e to 1ebb4c8 Compare October 4, 2024 13:51
@NordicBuilder
Copy link
Contributor

You can find the documentation preview for this PR at this link. It will be updated about 10 minutes after the documentation build succeeds.

Note: This comment is automatically posted by the Documentation Publishing GitHub Action.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog-entry-required Update changelog before merge. Remove label if entry is not needed or already added. doc-required PR must not be merged without tech writer approval.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants