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

Nrfx 6118 add icbmsg to egpio #17321

Merged
merged 9 commits into from
Oct 22, 2024

Conversation

magp-nordic
Copy link
Contributor

@magp-nordic magp-nordic commented Sep 13, 2024

Based on #16592, please, review only the last 5 commits.
Rebased on main.
PRs that affect this one:
#17669 (aligned)
#17173 (aligned)

@github-actions github-actions bot added manifest changelog-entry-required Update changelog before merge. Remove label if entry is not needed or already added. labels Sep 13, 2024
@NordicBuilder
Copy link
Contributor

NordicBuilder commented Sep 13, 2024

The following west manifest projects have been modified in this Pull Request:

Name Old Revision New Revision Diff
zephyr nrfconnect/sdk-zephyr@8005d4e nrfconnect/sdk-zephyr#2003 nrfconnect/sdk-zephyr#2003/files

Note: This message is automatically posted and updated by the Manifest GitHub Action.

@NordicBuilder
Copy link
Contributor

NordicBuilder commented Sep 13, 2024

CI Information

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

Inputs:

Sources:

sdk-nrf: PR head: 1c37e62d40e8f1068eec7a1cb1409f6bcc5b1848

more details

sdk-nrf:

PR head: 1c37e62d40e8f1068eec7a1cb1409f6bcc5b1848
merge base: 63130153b694e33577eb2b83f8fab2ede0f336bc
target head (main): 936fc574d73dbbfc37ffaec3a87c00c940f2a685
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 (18)
applications
│  ├── sdp
│  │  ├── gpio
│  │  │  ├── CMakeLists.txt
│  │  │  ├── boards
│  │  │  │  ├── nrf54l15dk_nrf54l15_cpuflpr.overlay
│  │  │  │  ├── nrf54l15dk_nrf54l15_cpuflpr_icbmsg.overlay
│  │  │  │  ├── nrf54l15dk_nrf54l15_cpuflpr_icmsg.overlay
│  │  │  │  │ nrf54l15dk_nrf54l15_cpuflpr_mbox.overlay
│  │  │  ├── sample.yaml
│  │  │  ├── src
│  │  │  │  ├── backend
│  │  │  │  │  │ backend.h
cmake
│  ├── sysbuild
│  │  │ sdp.cmake
drivers
│  ├── gpio
│  │  ├── CMakeLists.txt
│  │  ├── Kconfig
│  │  │ gpio_nrfe.h
scripts
│  ├── twister
│  │  ├── alt
│  │  │  ├── zephyr
│  │  │  │  ├── samples
│  │  │  │  │  ├── basic
│  │  │  │  │  │  ├── blinky
│  │  │  │  │  │  │  │ sample.yaml
snippets
│  ├── emulated-gpio
│  │  ├── icbmsg
│  │  │  ├── boards
│  │  │  │  │ nrf54l15dk_nrf54l15_cpuapp.overlay
│  │  │  ├── emulated-gpio.overlay
│  │  │  │ snippet.yml
sysbuild
│  │ Kconfig.sdp
tests
│  ├── drivers
│  │  ├── gpio
│  │  │  ├── egpio_basic_api
│  │  │  │  ├── src
│  │  │  │  │  │ test_egpio_port.c
│  │  │  │  │ testcase.yaml

Outputs:

Toolchain

Version: 3dd8985b56
Build docker image: docker-dtr.nordicsemi.no/sw-production/ncs-build:3dd8985b56_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: 14
  • ✅ Integration tests
    • ✅ test-sdk-audio - Skipped: Job was skipped as it succeeded in a previous run
    • ✅ desktop52_verification - Skipped: Job was skipped as it succeeded in a previous run
    • ✅ test-fw-nrfconnect-boot - Skipped: Job was skipped as it succeeded in a previous run
    • ✅ test-fw-nrfconnect-apps - Skipped: Job was skipped as it succeeded in a previous run
    • ✅ test_ble_nrf_config - Skipped: Job was skipped as it succeeded in a previous run
    • ✅ test-fw-nrfconnect-ble_mesh - Skipped: Job was skipped as it succeeded in a previous run
    • ✅ test-fw-nrfconnect-ble_samples - Skipped: Job was skipped as it succeeded in a previous run
    • ✅ test-fw-nrfconnect-chip - Skipped: Job was skipped as it succeeded in a previous run
    • ✅ test-fw-nrfconnect-nfc - Skipped: Job was skipped as it succeeded in a previous run
    • ✅ test-fw-nrfconnect-nrf-iot_cloud - Skipped: Job was skipped as it succeeded in a previous run
    • ✅ test-fw-nrfconnect-nrf-iot_libmodem-nrf
    • ✅ test-fw-nrfconnect-nrf-iot_serial_lte_modem - Skipped: Job was skipped as it succeeded in a previous run
    • ✅ test-fw-nrfconnect-nrf-iot_zephyr_lwm2m - Skipped: Job was skipped as it succeeded in a previous run
    • ✅ test-fw-nrfconnect-nrf-iot_samples - Skipped: Job was skipped as it succeeded in a previous run
    • ✅ test-fw-nrfconnect-nrf-iot_lwm2m - Skipped: Job was skipped as it succeeded in a previous run
    • ✅ doc-internal - Skipped: Job was skipped as it succeeded in a previous run
    • ✅ test-fw-nrfconnect-nrf-iot_thingy91 - Skipped: Job was skipped as it succeeded in a previous run
    • ✅ test-fw-nrfconnect-nrf_crypto - Skipped: Job was skipped as it succeeded in a previous run
    • ✅ test-fw-nrfconnect-proprietary_esb - Skipped: Job was skipped as it succeeded in a previous run
    • ✅ test-fw-nrfconnect-rpc - Skipped: Job was skipped as it succeeded in a previous run
    • ✅ test-fw-nrfconnect-rs - Skipped: Job was skipped as it succeeded in a previous run
    • ✅ test-fw-nrfconnect-fem - Skipped: Job was skipped as it succeeded in a previous run
    • ✅ test-fw-nrfconnect-tfm - Skipped: Job was skipped as it succeeded in a previous run
    • ✅ test-fw-nrfconnect-thread - Skipped: Job was skipped as it succeeded in a previous run
    • ✅ test-fw-nrfconnect-zigbee - Skipped: Job was skipped as it succeeded in a previous run
    • ✅ test-sdk-find-my - Skipped: Job was skipped as it succeeded in a previous run
    • ✅ test-fw-nrfconnect-nrf-iot_mosh - Skipped: Job was skipped as it succeeded in a previous run
    • ✅ test-fw-nrfconnect-nrf-iot_positioning - Skipped: Job was skipped as it succeeded in a previous run
    • ✅ test-sdk-sidewalk - Skipped: Job was skipped as it succeeded in a previous run
    • ✅ test-sdk-wifi - Skipped: Job was skipped as it succeeded in a previous run
    • ✅ test-low-level - Skipped: Job was skipped as it succeeded in a previous run
    • ✅ test-fw-nrfconnect-nrf-iot_nrf_provisioning - Skipped: Job was skipped as it succeeded in a previous run
    • ✅ test-sdk-pmic-samples - Skipped: Job was skipped as it succeeded in a previous run
    • ✅ test-sdk-mcuboot - Skipped: Job was skipped as it succeeded in a previous run
    • ✅ test-sdk-dfu - Skipped: Job was skipped as it succeeded in a previous run
    • ✅ test-fw-nrfconnect-ps - 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

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

cmake/sysbuild/sdp.cmake Outdated Show resolved Hide resolved
cmake/sysbuild/sdp.cmake Outdated Show resolved Hide resolved
cmake/sysbuild/sdp.cmake Outdated Show resolved Hide resolved
cmake/sysbuild/sdp.cmake Outdated Show resolved Hide resolved
@magp-nordic
Copy link
Contributor Author

magp-nordic commented Oct 3, 2024

Now based on #17256 (first commit)
Please, do not review yet, needs some alignment after #16592 was merged.

@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.

Copy link
Contributor

@jaz1-nordic jaz1-nordic left a comment

Choose a reason for hiding this comment

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

nitpicks. Additionally please resolve complaints from CI.

snippets/emulated-gpio/icbmsg/snippet.yml Outdated Show resolved Hide resolved
@magp-nordic magp-nordic force-pushed the NRFX-6118-add-icbmsg-to-egpio branch 2 times, most recently from 6ef0952 to 5cc9ee1 Compare October 7, 2024 11:46
@github-actions github-actions bot removed the manifest label Oct 7, 2024
@magp-nordic magp-nordic force-pushed the NRFX-6118-add-icbmsg-to-egpio branch 2 times, most recently from 8a96d41 to 7796285 Compare October 7, 2024 15:21
@magp-nordic
Copy link
Contributor Author

Rebased on main, ready for review

@shanthanordic shanthanordic requested review from miha-nordic and removed request for a team October 21, 2024 09:48
@masz-nordic masz-nordic dismissed tejlmand’s stale review October 21, 2024 13:56

Snippets usage to be clarified in other forum/PR.

@hubertmis
Copy link
Contributor

Could you clarify, what is the reason to use icbmsg in egpio?

@masz-nordic
Copy link
Contributor

To showcase that this backend can be used in SDP.

@hubertmis
Copy link
Contributor

To showcase that this backend can be used in SDP.

Do we expect this backend to be useful in other SDPs?

@masz-nordic
Copy link
Contributor

Do we expect this backend to be useful in other SDPs?

Potentially, yes.

magp-nordic and others added 9 commits October 22, 2024 11:54
Move division of SRAM to backends' overlays so that it would
be possible to have different FLPR SRAM size for each backend.

Signed-off-by: Magdalena Pastula <magdalena.pastula@nordicsemi.no>
Add icbmsg as a possible backend for eGPIO.

Signed-off-by: Magdalena Pastula <magdalena.pastula@nordicsemi.no>
Add icbmsg as possible backend for eGPIO.

Signed-off-by: Magdalena Pastula <magdalena.pastula@nordicsemi.no>
Add icbmsg as possible backend for eGPIO.

Signed-off-by: Magdalena Pastula <magdalena.pastula@nordicsemi.no>
Add icbmsg as possible backend for eGPIO.

Signed-off-by: Magdalena Pastula <magdalena.pastula@nordicsemi.no>
Add option of ICBMSG as a backend for eGPIO.

Signed-off-by: Magdalena Pastula <magdalena.pastula@nordicsemi.no>
Add eGPIO testcase with icbmsg backend.

Signed-off-by: Magdalena Pastula <magdalena.pastula@nordicsemi.no>
Add test case for eGPIO using icbmsg backend.

Signed-off-by: Magdalena Pastula <magdalena.pastula@nordicsemi.no>
When using `k_busy_wait`, icbmsg fails to handle
messaging on APP side.

Signed-off-by: Marcin Szymczyk <marcin.szymczyk@nordicsemi.no>
@masz-nordic
Copy link
Contributor

Just a rebase

@rlubos rlubos merged commit 72fac47 into nrfconnect:main Oct 22, 2024
14 checks passed
@magp-nordic magp-nordic deleted the NRFX-6118-add-icbmsg-to-egpio branch October 23, 2024 07:34
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.