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: absolute pin number in conn_time_sync and iso_time_sync #17639

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

Conversation

yuxCai
Copy link
Contributor

@yuxCai yuxCai commented Oct 4, 2024

The sample could not run on 54l15 because the pin number was not converted to the absolute value.

@yuxCai yuxCai requested review from a team as code owners October 4, 2024 08:14
@github-actions github-actions bot added the changelog-entry-required Update changelog before merge. Remove label if entry is not needed or already added. label Oct 4, 2024
@yuxCai yuxCai force-pushed the conn_time_sync_fix_for_54l15 branch from 244c035 to 2eb9cc5 Compare October 4, 2024 08:15
@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: 6

Inputs:

Sources:

sdk-nrf: PR head: 006014ee92a94b7d2742133c8dac575777c61cd0

more details

sdk-nrf:

PR head: 006014ee92a94b7d2742133c8dac575777c61cd0
merge base: 3061cd272de61db9c28eadc0560e9ec361326d84
target head (main): ca2219e2b85e60fd6e9d948f0f059eeb97dd27a3
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 (2)
samples
│  ├── bluetooth
│  │  ├── conn_time_sync
│  │  │  ├── src
│  │  │  │  │ timed_led_toggle.c
│  │  ├── iso_time_sync
│  │  │  ├── src
│  │  │  │  │ 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

@Tschet1
Copy link
Contributor

Tschet1 commented Oct 4, 2024

Do we have the same issue in the iso_time_sync sample?

@yuxCai yuxCai force-pushed the conn_time_sync_fix_for_54l15 branch from 2eb9cc5 to a8e7283 Compare October 4, 2024 08:24
@yuxCai
Copy link
Contributor Author

yuxCai commented Oct 4, 2024

Do we have the same issue in the iso_time_sync sample?

Had a quick look and it seems like it. Do you know if it is failing the CI somehow or the sample is not run at all?

@yuxCai yuxCai force-pushed the conn_time_sync_fix_for_54l15 branch from a8e7283 to 9146221 Compare October 4, 2024 08:42
@yuxCai yuxCai changed the title Samples: Bluetooth: get absolute pin number samples: bluetooth: absolute pin number in conn_time_sync and iso_time_sync Oct 4, 2024
@@ -30,6 +30,15 @@ static struct gpio_dt_spec led = GPIO_DT_SPEC_GET_OR(DT_ALIAS(led1), gpios, {0})

static uint8_t previous_led_value;

struct gpio_nrfx_cfg {
Copy link
Contributor

Choose a reason for hiding this comment

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

Discussed offline:
we should not mirror this type here. Instead, the required functionality could be added to the zephyr driver.

@yuxCai yuxCai force-pushed the conn_time_sync_fix_for_54l15 branch from 9146221 to 35a06d7 Compare October 4, 2024 11:18
…e_sync

The two samples failed on 54l15 because they were not using
the absolute pin number for LED1.

Signed-off-by: Yuxuan Cai <[email protected]>
@yuxCai yuxCai force-pushed the conn_time_sync_fix_for_54l15 branch from 35a06d7 to 006014e Compare October 4, 2024 11:21
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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants