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

[nrf noup] ci: Trim the Gazell change scope #1285

Open
wants to merge 421 commits into
base: main
Choose a base branch
from

Conversation

leewkb4567
Copy link
Contributor

@leewkb4567 leewkb4567 commented Aug 23, 2023

Trim the Gazell change scope. Run Gazell tests only when the Zephyr API called is changed.

@leewkb4567 leewkb4567 force-pushed the dev_ci_test_spec_no_gazell branch from 203eb27 to b6238e2 Compare August 24, 2023 10:53
@leewkb4567 leewkb4567 changed the title [nrf noup] ci: Remove Gazell from test spec [nrf noup] ci: Trim the Gazell change scope Aug 24, 2023
@leewkb4567 leewkb4567 requested a review from guwa August 24, 2023 10:55
@leewkb4567 leewkb4567 force-pushed the dev_ci_test_spec_no_gazell branch 2 times, most recently from 67e0f2c to a6ff472 Compare August 28, 2023 02:13
@leewkb4567
Copy link
Contributor Author

Rebase to current main.

m-alperen-sener and others added 18 commits October 20, 2023 13:37
… size

Adding variable static auth size support to be compatible
both mesh 1.0.1 and mesh 1.1.

Upstream PR: zephyrproject-rtos/zephyr#63440
Signed-off-by: Alperen Şener <alperen.sener@nordicsemi.no>
(cherry picked from commit cafad74)
…ecific path

Added run-time BT_CENTRAL role check for the path that was
central specific and did not have such check.

When multi-role BT device tried to pair without bonding (peripheral role)
while already previously bonded with the same device on another
Bluetooth identity, pairing failed.
It executed central-specific code, which should not be executed in case
when the device acts as peripheral (as it is even opt-out from code when
CONFIG_BT_CENTRAL is not enabled).

Signed-off-by: Mateusz Kapala <mateusz.kapala@nordicsemi.no>
(cherry picked from commit 7a1b194)
(cherry picked from commit bbb6843)
… test

Added fail on pairing_failed callback for both central and peripheral.
Added pairing status checks in peripheral.

It has been done to test the case when multi-role BT device tried to
pair without bonding (peripheral role) while already previously bonded
with the same device on another Bluetooth identity as it seems that
there was an issue with it previously.

Signed-off-by: Mateusz Kapala <mateusz.kapala@nordicsemi.no>
(cherry picked from commit 3c0c634)
(cherry picked from commit 1f6d361)
Add MCUBOOT_BOOTLOADER_MODE_OVERWRITE_ONLY mode.

(cherry picked from commit 5d28fde)
Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
(cherry picked from commit 0d08e4d)
…nition

Specification for MCUmgr OS group command allowing to query
for bootloader information.
Provide information on supported MCUboot parameters query by MCUmgr
group OS.

(cherry picked from commit 7668b4f)
Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
(cherry picked from commit ccae85c)
Note on CONFIG_MCUBOOT_BOOTLOADER_MODE_OVERWRITE_ONLY.

(cherry picked from commit 83d69f5)
Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
(cherry picked from commit 58706ac)
Adds command allowing to query information on bootloader.
In this case support is provided to query MCUboot information.

(cherry picked from commit e483544)
Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
(cherry picked from commit cbe3d5f)
For RTC0 events the RTC1 pretick event was not cleared what caused the
WDT to be not stopped. This resulted in increased power usage.

Upstream PR: zephyrproject-rtos/zephyr#63597

Signed-off-by: Andrzej Kuroś <andrzej.kuros@nordicsemi.no>
(cherry picked from commit 6b30e02)
…pios

Allow configuring NFCT pins as GPIOs from devicetree. This setting is
part of the UICR.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
(cherry picked from commit 1213ed4)
(cherry picked from commit 8e6fa57)
If the users configures this option in devicetree, ie,

```
&uicr {
    nfct-pins-as-gpios;
};
```

CMake will inject the HAL-specific CONFIG_NFCT_PINS_AS_GPIOS definition,
so that the necessary operations are performed during system init.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
(cherry picked from commit e43c2f3)
(cherry picked from commit 0e3c0a4)
…e property

Instead of CONFIG_NFCT_PINS_AS_GPIOS (about to be deprecated).

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
(cherry picked from commit dd568d0)
(cherry picked from commit 848f5bf)
In favor of the new UICR nfct-pins-as-gpios devicetree property.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
(cherry picked from commit 0762008)
(cherry picked from commit 9332b9b)
…_GPIOS changes

So that users know how to migrate to the new option.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
(cherry picked from commit c0bf310)
(cherry picked from commit 008212f)
So that the reset GPIO can be configured as nRESET from devicetree.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
(cherry picked from commit 55ec77c)
(cherry picked from commit 2cc0822)
…eset'

So that the HAL's system init function configures the reset GPIO as
nRESET if requested by the user.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
(cherry picked from commit 4d7d5ce)
(cherry picked from commit b8209dd)
…set dt property

Instead of using the about to be deprecated CONFIG_GPIO_AS_PINRESET
option.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
(cherry picked from commit 012fa5c)
(cherry picked from commit 0a37f20)
…et property

Instead of the about to be deprecated GPIO_AS_PINRESET.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
(cherry picked from commit 5d6d6f5)
(cherry picked from commit 4b28e8d)
In favor of devicetree property in the UICR node.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
(cherry picked from commit efb8408)
(cherry picked from commit 03d992d)
Make sure we send the entire packet buffer before bumping the packet
counter, send() does not guarantee that all of the requested data will
be sent at once with STREAM socket.

Upstream PR: zephyrproject-rtos/zephyr#65251

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
@de-nordic
Copy link
Contributor

Rebase or close.

@leewkb4567 leewkb4567 force-pushed the dev_ci_test_spec_no_gazell branch from a6ff472 to 587cc77 Compare November 22, 2023 02:29
Run CI Gazell tests only when the Zephyr API parts called is changed.

Signed-off-by: Bernard Lee <bernard.lee@nordicsemi.no>
@leewkb4567 leewkb4567 force-pushed the dev_ci_test_spec_no_gazell branch from 587cc77 to 972ad64 Compare November 22, 2023 02:37
@leewkb4567
Copy link
Contributor Author

Rebase to current main.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.