Skip to content

Commit 8fcd1b8

Browse files
author
Marcin Kajor
committed
CI/CD: Synchronize ncs-aliro@15a28718e4af and ncs-door-lock-app
Source commit ID: @15a28718e4af sync-ncs-aliro-15a28718e4af Signed-off-by: Marcin Kajor <marcin.kajor@nordicsemi.com>
1 parent 6d14439 commit 8fcd1b8

121 files changed

Lines changed: 1391 additions & 560 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ menuconfig NCS_ALIRO
1919
imply FLASH_MAP
2020
imply REQUIRES_FULL_LIBCPP
2121
imply REQUIRES_FULL_LIBC
22-
imply NEWLIB_LIBC_NANO
22+
imply NEWLIB_LIBC_NANO if NEWLIB_LIBC
2323
help
2424
This option enables the Aliro reader stack.
2525

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ NCS manifest repo for the door lock reference application.
55

66
Before getting started, set up the nRF Connect SDK development environment.
77

8-
Follow the official [Installing the nRF Connect SDK](https://docs.nordicsemi.com/bundle/ncs-3.1.0/page/nrf/installation/install_ncs.html) guide and complete the following steps:
8+
Follow the official [Installing the nRF Connect SDK](https://docs.nordicsemi.com/bundle/ncs-3.2.0-preview2/page/nrf/installation/install_ncs.html) guide and complete the following steps:
99

10-
- [Update operating system](https://docs.nordicsemi.com/bundle/ncs-3.1.0/page/nrf/installation/install_ncs.html#update_operating_system)
11-
- [Install prerequisites](https://docs.nordicsemi.com/bundle/ncs-3.1.0/page/nrf/installation/install_ncs.html#install_prerequisites)
12-
- [Install the nRF Connect SDK toolchain](https://docs.nordicsemi.com/bundle/ncs-3.1.0/page/nrf/installation/install_ncs.html#install_the_nrf_connect_sdk_toolchain)
10+
- [Update operating system](https://docs.nordicsemi.com/bundle/ncs-3.2.0-preview2/page/nrf/installation/install_ncs.html#update_operating_system)
11+
- [Install prerequisites](https://docs.nordicsemi.com/bundle/ncs-3.2.0-preview2/page/nrf/installation/install_ncs.html#install_prerequisites)
12+
- [Install the nRF Connect SDK toolchain](https://docs.nordicsemi.com/bundle/ncs-3.2.0-preview2/page/nrf/installation/install_ncs.html#install_the_nrf_connect_sdk_toolchain)
1313

1414
### Initialization
1515

@@ -19,13 +19,13 @@ the ``ncs-door-lock-app`` and all nRF Connect SDK modules will be cloned.
1919
Run the following commands:
2020

2121
```shell
22-
# launch nRF Connect toolchain for v3.1.0 release
23-
nrfutil sdk-manager toolchain launch --ncs-version v3.1.0 --shell
22+
# launch nRF Connect toolchain for v3.2.0-preview2 release
23+
nrfutil sdk-manager toolchain launch --ncs-version v3.2.0-preview2 --shell
2424
```
2525

2626
```shell
27-
# initialize workspace for the ncs-door-lock-app (v0.4.0 release)
28-
west init -m https://github.com/nrfconnect/ncs-door-lock-app --mr v0.4.0 door-lock-workspace
27+
# initialize workspace for the ncs-door-lock-app (v0.5.0 release)
28+
west init -m https://github.com/nrfconnect/ncs-door-lock-app --mr v0.5.0 door-lock-workspace
2929
```
3030

3131
```shell

app/Kconfig

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ module = NCS_DOOR_LOCK_APP
88
module-str = NCS_DOOR_LOCK_APP
99
module-dep = LOG
1010
module-help = Enables nRF Connect SDK Door Lock Application log messages.
11-
source "${ZEPHYR_BASE}/subsys/logging/Kconfig.template.log_config"
11+
source "$(ZEPHYR_BASE)/subsys/logging/Kconfig.template.log_config"
1212

1313
choice ACCESS_MANAGER_IMPLEMENTATION
1414
prompt "Access Manager implementation"
@@ -63,9 +63,9 @@ endif # DOOR_LOCK_BLE_NUS
6363
if CHIP
6464

6565
rsource "src/matter/Kconfig"
66-
source "${ZEPHYR_CONNECTEDHOMEIP_MODULE_DIR}/config/nrfconnect/chip-module/Kconfig.features"
67-
source "${ZEPHYR_CONNECTEDHOMEIP_MODULE_DIR}/config/nrfconnect/chip-module/Kconfig.defaults"
68-
source "${ZEPHYR_NRF_MODULE_DIR}/samples/matter/common/src/Kconfig"
66+
source "$(ZEPHYR_CONNECTEDHOMEIP_MODULE_DIR)/config/nrfconnect/chip-module/Kconfig.features"
67+
source "$(ZEPHYR_CONNECTEDHOMEIP_MODULE_DIR)/config/nrfconnect/chip-module/Kconfig.defaults"
68+
source "$(ZEPHYR_NRF_MODULE_DIR)/samples/matter/common/src/Kconfig"
6969

7070
endif # CHIP
7171

app/Kconfig.sysbuild

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,6 @@ config PM_EXTERNAL_FLASH_MCUBOOT_SECONDARY
3333

3434
if SOC_SERIES_NRF53X
3535

36-
config MCUBOOT_UPDATEABLE_IMAGES
37-
default 2
38-
3936
config SECURE_BOOT_NETCORE
4037
default y
4138

@@ -76,12 +73,13 @@ config DFU_MULTI_IMAGE_PACKAGE_NET
7673

7774
endif # SOC_SERIES_NRF53X
7875

79-
if BOARD_NRF54L15DK
76+
if BOARD_NRF54L15DK || BOARD_NRF54LM20DK
8077

78+
# Disable checking the external drivers for nRF54L15 and nRF54LM20 DKs.
8179
config PM_OVERRIDE_EXTERNAL_DRIVER_CHECK
8280
default y
8381

84-
endif # BOARD_NRF54L15DK
82+
endif # BOARD_NRF54L15DK || BOARD_NRF54LM20DK
8583

8684
endif # BOOTLOADER_MCUBOOT
8785

app/boards/nrf52840dk_nrf52840.overlay

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
nucleo_nfc@0 {
3535
compatible = "x-nucleo-nfc";
3636
reg = <0>;
37-
spi-max-frequency = <DT_FREQ_M(4)>;
37+
spi-max-frequency = <DT_FREQ_M(8)>;
3838
irq-gpios = <&gpio0 3 GPIO_ACTIVE_HIGH>;
3939
reset-gpios = <&gpio1 10 (GPIO_ACTIVE_LOW | GPIO_PULL_DOWN)>;
4040
};
@@ -63,7 +63,7 @@
6363
};
6464

6565
aliases {
66-
access-decision-indicator = &led1; // green LED2 on nRF52840DK
66+
access-decision-indicator = &led1; /* green LED2 on nRF52840DK */
6767
};
6868
};
6969

app/boards/nrf5340dk_nrf5340_cpuapp.overlay

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
};
1111

1212
aliases {
13-
access-decision-indicator = &led1; // green LED2 on nRF5340DK
13+
access-decision-indicator = &led1; /* green LED2 on nRF5340DK */
1414
};
1515
};
1616

@@ -45,7 +45,7 @@
4545
nucleo_nfc@0 {
4646
compatible = "x-nucleo-nfc";
4747
reg = <0>;
48-
spi-max-frequency = <DT_FREQ_M(5)>;
48+
spi-max-frequency = <DT_FREQ_M(8)>;
4949
irq-gpios = <&gpio0 4 GPIO_ACTIVE_HIGH>;
5050
reset-gpios = <&gpio1 10 (GPIO_ACTIVE_LOW | GPIO_PULL_DOWN)>;
5151
};

app/boards/nrf54l15dk_nrf54l15_cpuapp.overlay

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,23 @@
66

77
/ {
88
/* Disable buttons to avoid collision with interrupt and SCK pins for NFC tag reader.
9-
It also allows to use the button with the same label (1) on all supported dev kits. */
9+
It also allows to use the button with the same label (1) on all supported dev kits. */
1010
buttons {
1111
/delete-node/ button_0;
1212
/delete-node/ button_3;
1313
};
1414

15+
leds {
16+
/delete-node/ led_0;
17+
};
18+
1519
aliases {
1620
/delete-property/ sw0;
1721
/delete-property/ sw3;
22+
/delete-property/ led0;
23+
/delete-property/ mcuboot-led0;
1824
mcuboot-button0 = &button1;
19-
access-decision-indicator = &led1; // green LED1 on nRF54L15DK
25+
access-decision-indicator = &led2; /* green LED2 on nRF54L15DK */
2026
};
2127

2228
nfc_power_switch: nfc_power_switch {
@@ -60,7 +66,7 @@
6066
nucleo_nfc@0 {
6167
compatible = "x-nucleo-nfc";
6268
reg = <0>;
63-
spi-max-frequency = <DT_FREQ_M(4)>;
69+
spi-max-frequency = <DT_FREQ_M(8)>;
6470
irq-gpios = <&gpio0 4 GPIO_ACTIVE_HIGH>;
6571
};
6672
};
@@ -77,7 +83,7 @@
7783
status = "okay";
7884
};
7985

80-
// restore full RRAM and SRAM space - by default some parts are dedicated to FLRP
86+
/* restore full RRAM and SRAM space - by default some parts are dedicated to FLRP */
8187
&cpuapp_rram {
8288
reg = <0x0 DT_SIZE_K(1524)>;
8389
};

app/boards/nrf54lm20dk_nrf54lm20a_cpuapp.overlay

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,16 @@
2626
&spi21 {
2727
compatible = "nordic,nrf-spim";
2828
status = "okay";
29-
cs-gpios = <&gpio1 24 GPIO_ACTIVE_LOW>;
29+
cs-gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
3030

3131
pinctrl-0 = <&spi21_default>;
3232
pinctrl-1 = <&spi21_sleep>;
3333
pinctrl-names = "default", "sleep";
3434
nucleo_nfc@0 {
3535
compatible = "x-nucleo-nfc";
3636
reg = <0>;
37-
spi-max-frequency = <DT_FREQ_M(4)>;
38-
irq-gpios = <&gpio0 4 GPIO_ACTIVE_HIGH>;
37+
spi-max-frequency = <DT_FREQ_M(8)>;
38+
irq-gpios = <&gpio1 14 GPIO_ACTIVE_HIGH>;
3939
};
4040
};
4141

@@ -47,10 +47,17 @@
4747
/delete-node/ button_0;
4848
};
4949

50+
leds {
51+
/delete-node/ led_0;
52+
};
53+
5054

5155
aliases {
5256
/delete-property/ sw0;
53-
access-decision-indicator = &led1; // green LED1 on nRF54LM20DK
57+
/delete-property/ led0;
58+
/delete-property/ mcuboot-led0;
59+
mcuboot-button0 = &button1;
60+
access-decision-indicator = &led2; /* green LED2 on nRF54LM20DK */
5461
};
5562

5663
chosen {

app/prj.conf

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ CONFIG_MPU_STACK_GUARD=y
2121
CONFIG_SYS_HEAP_RUNTIME_STATS=y
2222

2323
# Stack sizes
24-
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2048
24+
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=3072
2525

2626
# Logging
2727
CONFIG_CONSOLE=y
@@ -60,6 +60,11 @@ CONFIG_RFAL_WORKER_THREAD_STACK_SIZE=8192
6060
# https://github.com/csa-access-control/aliro-actuator/issues/114
6161
CONFIG_BT_GAP_AUTO_UPDATE_CONN_PARAMS=n
6262

63+
# Override default values to match Aliro requirements for APDU message sizes.
64+
CONFIG_BT_BUF_ACL_RX_SIZE=271
65+
CONFIG_BT_BUF_ACL_TX_SIZE=271
66+
CONFIG_BT_L2CAP_TX_MTU=267
67+
6368
#
6469
# Matter
6570
#

app/snippets/schedules/lock.matter

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3076,6 +3076,9 @@ endpoint 0 {
30763076
handle command UpdateFabricLabel;
30773077
handle command RemoveFabric;
30783078
handle command AddTrustedRootCertificate;
3079+
handle command SetVIDVerificationStatement;
3080+
handle command SignVIDVerificationRequest;
3081+
handle command SignVIDVerificationResponse;
30793082
}
30803083

30813084
server cluster GroupKeyManagement {
@@ -3119,7 +3122,7 @@ endpoint 1 {
31193122
callback attribute acceptedCommandList;
31203123
callback attribute attributeList;
31213124
ram attribute featureMap default = 0;
3122-
ram attribute clusterRevision default = 5;
3125+
ram attribute clusterRevision default = 6;
31233126

31243127
handle command Identify;
31253128
}
@@ -3202,5 +3205,3 @@ endpoint 1 {
32023205
handle command ClearAliroReaderConfig;
32033206
}
32043207
}
3205-
3206-

0 commit comments

Comments
 (0)