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: Fix printing welcome message example->sample #19889

Merged
merged 1 commit into from
Jan 21, 2025

Conversation

grochu
Copy link
Contributor

@grochu grochu commented Jan 14, 2025

Align with the NCS naming.

test_ble_samples: fix_naming_sample

@grochu grochu requested review from a team and leewkb4567 as code owners January 14, 2025 10:02
@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 Jan 14, 2025
@grochu grochu requested a review from greg-fer January 14, 2025 10:02
@NordicBuilder
Copy link
Contributor

NordicBuilder commented Jan 14, 2025

CI Information

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

Inputs:

Sources:

sdk-nrf: PR head: 71935d90ca61df2502090bf99c4d02af4ea0d314

more details

sdk-nrf:

PR head: 71935d90ca61df2502090bf99c4d02af4ea0d314
merge base: 020cc3fe3ac6adc8f2a26972768a8a594b19a8c4
target head (main): 588b082f9144f84fffd5f91c47186f26e596d2c0
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 (50)
samples
│  ├── bluetooth
│  │  ├── central_and_peripheral_hr
│  │  │  ├── src
│  │  │  │  │ main.c
│  │  ├── central_bas
│  │  │  ├── src
│  │  │  │  │ main.c
│  │  ├── central_hids
│  │  │  ├── src
│  │  │  │  │ main.c
│  │  ├── central_hr_coded
│  │  │  ├── src
│  │  │  │  │ main.c
│  │  ├── central_nfc_pairing
│  │  │  ├── src
│  │  │  │  │ main.c
│  │  ├── central_smp_client
│  │  │  ├── README.rst
│  │  │  ├── src
│  │  │  │  │ main.c
│  │  ├── central_uart
│  │  │  ├── README.rst
│  │  │  ├── src
│  │  │  │  │ main.c
│  │  ├── direct_test_mode
│  │  │  ├── src
│  │  │  │  │ main.c
│  │  ├── event_trigger
│  │  │  ├── README.rst
│  │  │  ├── src
│  │  │  │  │ main.c
│  │  ├── fast_pair
│  │  │  ├── input_device
│  │  │  │  ├── src
│  │  │  │  │  │ main.c
│  │  │  ├── locator_tag
│  │  │  │  ├── src
│  │  │  │  │  │ main.c
│  │  ├── llpm
│  │  │  ├── README.rst
│  │  │  ├── src
│  │  │  │  │ main.c
│  │  ├── multiple_adv_sets
│  │  │  ├── src
│  │  │  │  │ main.c
│  │  ├── nrf_dm
│  │  │  ├── README.rst
│  │  │  ├── src
│  │  │  │  │ main.c
│  │  ├── peripheral_ams_client
│  │  │  ├── src
│  │  │  │  │ main.c
│  │  ├── peripheral_ancs_client
│  │  │  ├── README.rst
│  │  │  ├── src
│  │  │  │  │ main.c
│  │  ├── peripheral_bms
│  │  │  ├── src
│  │  │  │  │ main.c
│  │  ├── peripheral_cgms
│  │  │  ├── prj.conf
│  │  │  ├── src
│  │  │  │  │ main.c
│  │  ├── peripheral_cts_client
│  │  │  ├── src
│  │  │  │  │ main.c
│  │  ├── peripheral_gatt_dm
│  │  │  ├── src
│  │  │  │  │ main.c
│  │  ├── peripheral_hids_keyboard
│  │  │  ├── src
│  │  │  │  │ main.c
│  │  ├── peripheral_hids_mouse
│  │  │  ├── src
│  │  │  │  │ main.c
│  │  ├── peripheral_hr_coded
│  │  │  ├── src
│  │  │  │  │ main.c
│  │  ├── peripheral_lbs
│  │  │  ├── src
│  │  │  │  │ main.c
│  │  ├── peripheral_mds
│  │  │  ├── src
│  │  │  │  │ main.c
│  │  ├── peripheral_nfc_pairing
│  │  │  ├── src
│  │  │  │  │ main.c
│  │  ├── peripheral_power_profiling
│  │  │  ├── src
│  │  │  │  │ main.c
│  │  ├── peripheral_rscs
│  │  │  ├── src
│  │  │  │  │ main.c
│  │  ├── peripheral_status
│  │  │  ├── src
│  │  │  │  │ main.c
│  │  ├── peripheral_uart
│  │  │  ├── README.rst
│  │  │  ├── src
│  │  │  │  │ main.c
│  │  ├── rpc_host
│  │  │  │ README.rst
│  │  ├── shell_bt_nus
│  │  │  ├── src
│  │  │  │  │ main.c
│  │  ├── subrating
│  │  │  ├── README.rst
│  │  │  ├── src
│  │  │  │  │ main.c
│  │  ├── throughput
│  │  │  ├── README.rst
│  │  │  ├── src
│  │  │  │  │ main.c
│  ├── nfc
│  │  ├── record_launch_app
│  │  │  ├── src
│  │  │  │  │ main.c
│  │  ├── record_text
│  │  │  ├── src
│  │  │  │  │ main.c
│  │  ├── shell
│  │  │  ├── src
│  │  │  │  │ main.c
│  │  ├── tag_reader
│  │  │  ├── src
│  │  │  │  │ main.c
│  │  ├── writable_ndef_msg
│  │  │  ├── src
│  │  │  │  │ main.c
│  ├── peripheral
│  │  ├── radio_test
│  │  │  ├── src
│  │  │  │  │ main.c

Outputs:

Toolchain

Version: 342151af73
Build docker image: docker-dtr.nordicsemi.no/sw-production/ncs-build:342151af73_912848a074

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

  • ◻️ Toolchain - Skipped: existing toolchain is used
  • ✅ Build twister - Skipped: Skipping Build & Test as it succeeded in a previous run: 7
  • ✅ Integration tests
    • ✅ test-fw-nrfconnect-ble_samples
    • ✅ test-fw-nrfconnect-nfc - Skipped: Job was skipped as it succeeded in a previous run
    • ✅ test-secdom-samples-public - Skipped: Job was skipped as it succeeded in a previous run
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-nrf-iot_libmodem-nrf
    • test-fw-nrfconnect-nrf-iot_lwm2m
    • test-fw-nrfconnect-nrf-iot_mosh
    • 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-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

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

Copy link
Contributor

@kapi-no kapi-no left a comment

Choose a reason for hiding this comment

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

HIDS samples looking good. Could you also align our two Fast Pair samples?

nrf/samples/bluetooth/fast_pair/input_device/src/main.c
nrf/samples/bluetooth/fast_pair/locator_tag/src/main.c

@grochu grochu force-pushed the fix_printk_samples branch from 7fafdac to 08b02a5 Compare January 14, 2025 10:33
Copy link
Contributor

@maje-emb maje-emb left a comment

Choose a reason for hiding this comment

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

Shouldn't we also update the documentation? e.g. for peripheral_uart sample.

@grochu
Copy link
Contributor Author

grochu commented Jan 14, 2025

Shouldn't we also update the documentation? e.g. for peripheral_uart sample.

Good point, I'll update the docs too.

@grochu grochu force-pushed the fix_printk_samples branch from 08b02a5 to d07dce9 Compare January 14, 2025 13:24
@grochu grochu requested review from a team as code owners January 14, 2025 13:24
@github-actions github-actions bot added the doc-required PR must not be merged without tech writer approval. label Jan 14, 2025
@grochu
Copy link
Contributor Author

grochu commented Jan 14, 2025

Updated documentation as @maje-emb suggests.

@grochu grochu requested a review from peknis January 14, 2025 13:31
@NordicBuilder
Copy link
Contributor

You can find the documentation preview for this PR at this link.

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

@@ -247,7 +247,7 @@ After programming the sample to your development kit, complete the following ste
#. Reset the kit.
#. Observe that **LED 0** is blinking and the device is advertising under the default name **Nordic_UART_Service**.
You can configure this name using the :kconfig:option:`CONFIG_BT_DEVICE_NAME` Kconfig option.
#. Observe that the text "Starting Nordic UART service example" is printed on the COM listener running on the computer.
#. Observe that the text "Starting Nordic UART service sample" is printed on the COM listener running on the computer.
Copy link
Contributor

Choose a reason for hiding this comment

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

Here: https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/samples/bluetooth/rpc_host/README.html#testing,
Shouldn't the Testing section of the rpc_host sample also updated with "sample" instead of example.

After programming the example build to your ........

Copy link
Contributor

Choose a reason for hiding this comment

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

Good catch! I missed that even though I run a search to Bluetooth samples.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, this also needs update!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed

@grochu grochu force-pushed the fix_printk_samples branch from d07dce9 to 822fd13 Compare January 16, 2025 13:04
Align code and documentation with the NCS naming.

Ref. NCSDK-30029

Signed-off-by: Michał Grochala <[email protected]>
@grochu grochu force-pushed the fix_printk_samples branch from 822fd13 to 71935d9 Compare January 16, 2025 15:15
@rlubos
Copy link
Contributor

rlubos commented Jan 21, 2025

@nrfconnect/ncs-dragoon @nrfconnect/ncs-dragoon-doc Ping, please review.

@rlubos rlubos merged commit 188c9aa into nrfconnect:main Jan 21, 2025
13 checks passed
@grochu grochu deleted the fix_printk_samples branch January 27, 2025 12:42
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.