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

Upmerge 2024.12.20 #19720

Open
wants to merge 67 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
67 commits
Select commit Hold shift + click to select a range
03bee77
scripts: ncs_west_helpers: Update revert SHA workaround
anangl Jan 2, 2025
d487095
manifest: Update zephyr and mcuboot
anangl Dec 30, 2024
8b0f0c3
checkpatch: Remove --ignore BRACES statement
anangl Dec 30, 2024
e01d686
bluetooth: rpc: remove unnecessary source
gmarull Jan 2, 2025
dc1cd0f
doc: upmerge fixes
gmarull Jan 2, 2025
8995c6d
doc: zephyr: add missing Doxygen input folder
gmarull Jan 8, 2025
4618ade
doc: adjust doxyrunner/doxybridge settings
gmarull Dec 9, 2024
cb2aa38
doc: doxygen: change standalone docsets layout
gmarull Dec 9, 2024
522060b
samples: suit: use CONFIG_SOC_NRF54H20_GENERATE_BICR
gmarull Nov 28, 2024
76990d7
dts: bindings: Adapt nordic,bt-hci-sdc to recent upstream changes
anangl Jan 7, 2025
8cece95
esb: kconfig: Fix ESB_DYNAMIC_INTERRUPTS dependencies
anangl Jan 8, 2025
393a039
bluetooth: rpc: Remove dependency on BT_DRIVERS
anangl Jan 8, 2025
7417ff9
boards: thingy91x: Update discharge current limit for npm1300
anangl Jan 9, 2025
780657b
net: lib: hostap_crypto: Remove cmake entries for deleted files
anangl Jan 9, 2025
233bbfd
bluetooth: controller: Kconfig: Adapt to upstream Zephyr changes
anangl Jan 10, 2025
d715668
treewide: Adapt to upstream Zephyr changes related to BT_CTLR
anangl Jan 11, 2025
72997a6
tests: nrfx_integration_test: Kconfig: Adapt to upstream Zephyr changes
anangl Jan 10, 2025
77fe3c7
zigbee: osif: Replace net_pkt_set_txtime with net_pkt_set_timestamp_ns
anangl Jan 11, 2025
b4474ee
samples: Disable CDC_ACM logging when CDC_ACM is used for shell/console
anangl Jan 11, 2025
b6b1242
samples: Rename cdc_acm_uart node label to board_cdc_acm_uart
anangl Jan 11, 2025
d1b8e10
samples: direction_finding: Remove unnecessary configuration entries
anangl Jan 13, 2025
33fa07c
Kconfig.nrf: Add NRF_SECURITY_ENABLER
anangl Jan 14, 2025
2fb0f52
samples: bluetooth: Update to no longer use deprecated adv resume
sean-madigan Nov 20, 2024
29b47cc
treewide: Remove redefinitions of SEC_PER_HOUR and SEC_PER_DAY
anangl Jan 14, 2025
c5c9625
treewide: Synchronize wifi_credentials and wifi_mgmt_ext with upstream
rado17 Dec 4, 2024
df6df83
openthread: Add default file system configuration
maciejbaczmanski Jan 16, 2025
8e8a8cb
tests: benchmarks: idle_spim_loopback: Enable dma_fast_region for spi120
anangl Jan 16, 2025
649a8dc
samples: bluetooth: Set CONFIG_BT_SMP_SC_PAIR_ONLY=n when needed
anangl Jan 16, 2025
7670a0a
suit: Increase the default number of mbedTLS keys
tomchy Jan 16, 2025
2387fc9
Bluetooth: Mesh: adapting configuration parameters
alxelax Jan 15, 2025
675d151
samples: matter: remove `zephyr,priority` phandle
maciejbaczmanski Jan 16, 2025
c61cd77
net: lib: hostap_crypto: Remove legacy crypto
krish2718 Jan 15, 2025
ebcf067
net: lib: hostap_crypto: Fix 54L/TF-M build
krish2718 Jan 15, 2025
6cee0d8
treewide: Update after removal of CONFIG_NET_SOCKETS_POSIX_NAMES
anangl Jan 20, 2025
281cdbf
samples: suit: smp_transfer: Use PRNG entropy
Vge0rge Dec 4, 2024
4baa85f
suit: Use legacy PRNG in recovery app
tomchy Jan 17, 2025
48a15a0
net: lib: Switch to zsock_* API
rlubos Jan 21, 2025
7a577b7
bluetooth: mesh: PSA requires RNG enabled
m-alperen-sener Jan 20, 2025
95d12fd
samples: bluetooth: mesh: Update mesh sample configs for MBEDTLS PSA
m-alperen-sener Jan 20, 2025
a2daa46
scripts: quarantine: nRF52832 is added for mesh light ctrl sample
m-alperen-sener Jan 21, 2025
42f6ea1
suit: Enable crypto in BT variant
tomchy Jan 21, 2025
5dc6b09
samples: lwm2m_client: Enable ZVFS event fd
juhaylinen Jan 21, 2025
0d8fdc0
net: lib: lwm2m_client_utils: Use zsock_* API
juhaylinen Jan 21, 2025
78668c5
applications: serial_lte_modem: Enable POSIX APIs
anangl Jan 21, 2025
57282fe
applications: nrf_desktop: Rename cdc-acm-uart node
mkapala-nordic Jan 21, 2025
f14fd66
tests: bluetooth: mesh: add persistante storage selection
m-alperen-sener Jan 21, 2025
f309375
applications: asset_tracker_v2: Enable POSIX APIs in LWM2M configurat…
anangl Jan 22, 2025
69a09d4
application: asset_tracker_v2: Enable ZVFS event fd
anangl Jan 22, 2025
59cf7b9
samples: cellular: Enable POSIX APIs in relevant samples
anangl Jan 22, 2025
e7c8572
samples: nrf_rpc: protocols_serialization: Fix configurations
anangl Jan 22, 2025
e9695ea
bluetooth: Remove references to BT_TINYCRYPT_ECC
anangl Jan 22, 2025
4c51b36
quarantine: add revision values to nrf91 an nr54h entires
PerMac Jan 22, 2025
ba6c871
applications: nrf5340_audio: Upmerge fixes
alexsven Jan 20, 2025
5077a71
samples: matter: Add workaround for building Matter Lock
ArekBalysNordic Jan 22, 2025
d42fa0f
suit: Fix warnings in unit tests
tomchy Jan 23, 2025
c1da63d
samples: Aligned ram0x overlays in Multicore Tests/Matter samples
ArekBalysNordic Nov 26, 2024
78adeb7
samples: bluetooth: Update channel sounding samples for new enum
sean-madigan Jan 24, 2025
65f9cf1
samples: bluetooth: Update kconfigs in iso_combined_bis_and_cis
sean-madigan Jan 24, 2025
a482e11
tests: event_manager_proxy: Remove no longer needed overlays
anangl Jan 24, 2025
ad9ec81
applications|samples: Disable NCS boot banner in mcuboot on Thingy:53
anangl Jan 24, 2025
d05c703
samples: nrf_auraconfig: Upmerge API fix
alexsven Jan 24, 2025
96734fc
samples: bluetooth/DTM and Radio Test - add GPPI config explicitly
grochu Jan 21, 2025
f56c1d9
boards: thingy91x: Use default memory partitioning files
anangl Jan 24, 2025
7235923
samples: nrf5340: empty_app_core: Use new DT node to check lfxo enabled
sean-madigan Jan 24, 2025
9e46a15
tests: download_client: Update after zsock_close_ctx() signature change
anangl Jan 25, 2025
073a64d
samples: bluetooth: conn_time_sync: Enable nrfx_gppi explicitly
anangl Jan 25, 2025
2376528
samples: wifi: twt: Remove assignment to CONFIG_NET_TCP_ACK_TIMEOUT
anangl Jan 25, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 0 additions & 1 deletion .checkpatch.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
--min-conf-desc-length=1
--typedefsfile=scripts/checkpatch/typedefsfile

--ignore BRACES
--ignore PRINTK_WITHOUT_KERN_LEVEL
--ignore SPLIT_STRING
--ignore VOLATILE
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ jobs:
for docset in "${DOXYGEN[@]}"; do
OUTDIR=doc/_build/html-doxygen/$docset-apis
mv doc/_build/html/$docset "$OUTDIR"
mv doc/_build/html/$docset/html "$OUTDIR"
# Populate custom.properties, tags.yml
cp doc/_zoomin/$docset.apis.custom.properties "$OUTDIR/custom.properties"
Expand Down
3 changes: 0 additions & 3 deletions CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,6 @@
/include/net/download_client* @nrfconnect/ncs-modem
/include/net/downloader* @nrfconnect/ncs-modem
/include/net/nrf_cloud_* @nrfconnect/ncs-nrf-cloud
/include/net/wifi_credentials.h @nrfconnect/ncs-cia
/include/nfc/ @nrfconnect/ncs-co-drivers @nrfconnect/ncs-si-muffin
/include/nrf_compress/ @nordicjm
/include/nrf_rpc/ @nrfconnect/ncs-co-drivers @nrfconnect/ncs-si-muffin
Expand Down Expand Up @@ -760,7 +759,6 @@
/subsys/net/lib/nrf_cloud/ @nrfconnect/ncs-nrf-cloud
/subsys/net/lib/nrf_provisioning/ @nrfconnect/ncs-iot-oulu
/subsys/net/lib/zzhc/ @junqingzou
/subsys/net/lib/wifi_credentials/ @nrfconnect/ncs-cia
/subsys/net/lib/softap_wifi_provision/ @nrfconnect/ncs-cia
/subsys/net/openthread/ @nrfconnect/ncs-co-networking @nrfconnect/ncs-thread
/subsys/net/openthread/rpc/ @nrfconnect/ncs-protocols-serialization
Expand Down Expand Up @@ -870,7 +868,6 @@
/tests/subsys/net/lib/mqtt_helper/ @nrfconnect/ncs-cia
/tests/subsys/net/lib/nrf_cloud/ @nrfconnect/ncs-nrf-cloud
/tests/subsys/net/lib/nrf_provisioning/ @nrfconnect/ncs-iot-oulu
/tests/subsys/net/lib/wifi_credentials*/ @nrfconnect/ncs-cia
/tests/subsys/net/openthread/rpc/ @nrfconnect/ncs-protocols-serialization
/tests/subsys/nfc/rpc/ @nrfconnect/ncs-protocols-serialization
/tests/subsys/nrf_compress/ @nordicjm
Expand Down
6 changes: 6 additions & 0 deletions Kconfig.nrf
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,12 @@ config FLASH_SIZE
default 1524
endif

config NRF_SECURITY_ENABLER
def_bool y
imply NRF_SECURITY if BT_CRYPTO || BT_HOST_CRYPTO || BT_MESH_USES_MBEDTLS_PSA || BT_FAST_PAIR_CRYPTO_PSA
imply ENTROPY_GENERATOR if BOARD_NATIVE_SIM
imply PSA_WANT_GENERATE_RANDOM if BT_HOST_CRYPTO_PRNG
depends on !SOC_NRF5340_CPUNET

rsource "samples/Kconfig"
rsource "subsys/Kconfig"
Expand Down
3 changes: 3 additions & 0 deletions applications/asset_tracker_v2/overlay-lwm2m.conf
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ CONFIG_LWM2M_RW_JSON_SUPPORT=n
CONFIG_LWM2M_SECURITY_INSTANCE_COUNT=3
CONFIG_COAP_INIT_ACK_TIMEOUT_MS=4000
CONFIG_BASE64=y
CONFIG_POSIX_API=y
CONFIG_ZVFS_EVENTFD=y
CONFIG_ZVFS_EVENTFD_MAX=2

# Transmission buffers.
CONFIG_LWM2M_ENGINE_MAX_OBSERVER=5
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ CONFIG_BT_BUF_ACL_RX_SIZE=251
CONFIG_BT_NUS=y
CONFIG_BT_GATT_CLIENT=y
CONFIG_BT_SMP=y
CONFIG_BT_CTLR=y
CONFIG_BT_CTLR_RX_BUFFERS=10
CONFIG_BT_BUF_ACL_TX_COUNT=10
CONFIG_BT_BUF_ACL_TX_SIZE=251
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ static void adv_start(void)

err = bt_le_adv_start(
BT_LE_ADV_PARAM(
BT_LE_ADV_OPT_CONNECTABLE,
BT_LE_ADV_OPT_CONN,
BT_GAP_ADV_SLOW_INT_MIN,
BT_GAP_ADV_SLOW_INT_MAX,
NULL),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ CONFIG_USB_CDC_ACM=y
CONFIG_CBPRINTF_NANO=y
CONFIG_TIMESLICING=n
CONFIG_BOOT_BANNER=n
CONFIG_NCS_BOOT_BANNER=n
CONFIG_CONSOLE=n
CONFIG_CONSOLE_HANDLER=n
CONFIG_UART_CONSOLE=n
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@
};
};

/* Set IPC thread priority to the highest value to not collide with other threads. */
&ipc0 {
zephyr,priority = <0 PRIO_COOP>;
};

/* Disable unused peripherals to reduce power consumption */
&adc {
status = "disabled";
Expand Down
5 changes: 0 additions & 5 deletions applications/matter_weather_station/app.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,6 @@
};
};

/* Set IPC thread priority to the highest value to not collide with other threads. */
&ipc0 {
zephyr,priority = <0 PRIO_COOP>;
};

&i2c1 {
bme688@76 {
compatible = "bosch,bme680";
Expand Down
18 changes: 0 additions & 18 deletions applications/nrf5340_audio/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -39,24 +39,6 @@ config TRANSPORT_CIS
endchoice

#----------------------------------------------------------------------------#
if (TRANSPORT_BIS && AUDIO_DEV = 1)
rsource "broadcast_sink/Kconfig.defaults"
endif # TRANSPORT_BIS && AUDIO_DEV = 1

if (TRANSPORT_BIS && AUDIO_DEV = 2)
rsource "broadcast_source/Kconfig.defaults"
endif # TRANSPORT_BIS && AUDIO_DEV = 2

if (TRANSPORT_CIS && AUDIO_DEV = 1)
rsource "unicast_server/Kconfig.defaults"
endif # TRANSPORT_CIS && AUDIO_DEV = 1

if (TRANSPORT_CIS && AUDIO_DEV = 2)
rsource "unicast_client/Kconfig.defaults"
endif # TRANSPORT_CIS && AUDIO_DEV = 2



rsource "Kconfig.defaults"
rsource "src/audio/Kconfig"
rsource "src/bluetooth/Kconfig"
Expand Down
109 changes: 0 additions & 109 deletions applications/nrf5340_audio/broadcast_sink/Kconfig.defaults

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
#
# Copyright (c) 2025 Nordic Semiconductor ASA
#
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
#

CONFIG_TRANSPORT_BIS=y

## ACL related configs ##
CONFIG_BT_OBSERVER=y
CONFIG_BT_PERIPHERAL=y
CONFIG_BT_SMP=y
CONFIG_BT_AUDIO=y
CONFIG_BT_GATT_DYNAMIC_DB=y
CONFIG_BT_GATT_CACHING=n

CONFIG_SETTINGS=y
CONFIG_BT_SETTINGS=y
CONFIG_FLASH=y
CONFIG_FLASH_MAP=y
CONFIG_NVS=y

CONFIG_BT_BUF_ACL_TX_COUNT=18

CONFIG_BT_CAP_ACCEPTOR=y
CONFIG_BT_CSIP_SET_MEMBER=y
CONFIG_BT_CAP_ACCEPTOR_SET_MEMBER=y
CONFIG_BT_GAP_PERIPHERAL_PREF_PARAMS=y
CONFIG_BT_VCP_VOL_REND=y

CONFIG_BT_PERIPHERAL_PREF_MIN_INT=64
CONFIG_BT_PERIPHERAL_PREF_MAX_INT=69
CONFIG_BT_PERIPHERAL_PREF_LATENCY=0
CONFIG_BT_PERIPHERAL_PREF_TIMEOUT=200

# Generic Audio Sink - 0x0840
CONFIG_BT_DEVICE_APPEARANCE=2112
CONFIG_BT_PER_ADV_SYNC_MAX=2

## ISO related configs ##
CONFIG_BT_BAP_BROADCAST_SNK_STREAM_COUNT=2
CONFIG_BT_BAP_BROADCAST_SNK_COUNT=2
CONFIG_BT_ISO_MAX_CHAN=2
CONFIG_BT_ISO_MAX_BIG=2

CONFIG_BT_PER_ADV_SYNC_TRANSFER_RECEIVER=y

## PACS related configs ##
CONFIG_BT_PAC_SNK_NOTIFIABLE=y
CONFIG_BT_PAC_SNK=y
CONFIG_BT_PAC_SRC_NOTIFIABLE=y
CONFIG_BT_PAC_SRC=y

## Audio related configs ##
CONFIG_AUDIO_MUTE=n
CONFIG_AUDIO_TEST_TONE=n

CONFIG_BT_ISO_SYNC_RECEIVER=y
CONFIG_BT_BAP_SCAN_DELEGATOR=y
CONFIG_BT_BAP_BROADCAST_SINK=y

## LC3 related configs ##
CONFIG_LC3_DEC_CHAN_MAX=1



Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
#
# Copyright (c) 2025 Nordic Semiconductor ASA
#
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
#

CONFIG_TRANSPORT_BIS=y

CONFIG_BT_CAP_INITIATOR=y
CONFIG_BT_AUDIO=y

CONFIG_BT_DEVICE_APPEARANCE=2181

CONFIG_BT_ISO_BROADCASTER=y

CONFIG_BT_BAP_BROADCAST_SOURCE=y

CONFIG_BT_ISO_TX_BUF_COUNT=2

CONFIG_BT_BAP_BROADCAST_SRC_STREAM_COUNT=2

CONFIG_BT_ISO_MAX_CHAN=2

CONFIG_BT_ISO_MAX_BIG=2

CONFIG_LC3_ENC_CHAN_MAX=2
CONFIG_ENTROPY_GENERATOR=y
1 change: 1 addition & 0 deletions applications/nrf5340_audio/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ CONFIG_STACK_USAGE=y
CONFIG_THREAD_RUNTIME_STATS=y
CONFIG_STACK_SENTINEL=y
CONFIG_INIT_STACKS=y
CONFIG_BT=y

# Uart driver
CONFIG_SERIAL=y
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,22 +16,21 @@
CONFIG_BLE_ACL_EXT_ADV_INT_MIN, CONFIG_BLE_ACL_EXT_ADV_INT_MAX, NULL)

#define LE_AUDIO_EXTENDED_ADV_CONN_NAME \
BT_LE_ADV_PARAM(BT_LE_ADV_OPT_EXT_ADV | BT_LE_ADV_OPT_CONNECTABLE | \
BT_LE_ADV_OPT_USE_NAME, \
BT_LE_ADV_PARAM(BT_LE_ADV_OPT_EXT_ADV | BT_LE_ADV_OPT_CONN | BT_LE_ADV_OPT_USE_NAME, \
CONFIG_BLE_ACL_EXT_ADV_INT_MIN, CONFIG_BLE_ACL_EXT_ADV_INT_MAX, NULL)

#define LE_AUDIO_EXTENDED_ADV_CONN_NAME_FILTER \
BT_LE_ADV_PARAM(BT_LE_ADV_OPT_EXT_ADV | BT_LE_ADV_OPT_CONNECTABLE | \
BT_LE_ADV_OPT_USE_NAME | BT_LE_ADV_OPT_FILTER_CONN, \
BT_LE_ADV_PARAM(BT_LE_ADV_OPT_EXT_ADV | BT_LE_ADV_OPT_CONN | BT_LE_ADV_OPT_USE_NAME | \
BT_LE_ADV_OPT_FILTER_CONN, \
CONFIG_BLE_ACL_EXT_ADV_INT_MIN, CONFIG_BLE_ACL_EXT_ADV_INT_MAX, NULL)

#define LE_AUDIO_PERIODIC_ADV \
BT_LE_PER_ADV_PARAM(CONFIG_BLE_ACL_PER_ADV_INT_MIN, CONFIG_BLE_ACL_PER_ADV_INT_MAX, \
BT_LE_PER_ADV_OPT_NONE)

#define BT_LE_ADV_FAST_CONN \
BT_LE_ADV_PARAM(BT_LE_ADV_OPT_CONNECTABLE, BT_GAP_ADV_FAST_INT_MIN_1, \
BT_GAP_ADV_FAST_INT_MAX_1, NULL)
BT_LE_ADV_PARAM(BT_LE_ADV_OPT_CONN, BT_GAP_ADV_FAST_INT_MIN_1, BT_GAP_ADV_FAST_INT_MAX_1, \
NULL)

/* Broadcast name can be max 32 bytes long, so this will be the limit for both.
* Add one for '\0' at the end.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ static void smp_adv(void)
{
int ret;

ret = bt_le_adv_start(BT_LE_ADV_CONN, ad_peer, ARRAY_SIZE(ad_peer), sd_peer,
ret = bt_le_adv_start(BT_LE_ADV_CONN_FAST_2, ad_peer, ARRAY_SIZE(ad_peer), sd_peer,
ARRAY_SIZE(sd_peer));
if (ret) {
LOG_ERR("SMP_SVR Advertising failed to start (ret %d)", ret);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ void bt_mgmt_broadcast_code_ptr_get(uint8_t **broadcast_code_ptr)
void bt_mgmt_scan_delegator_init(void)
{
if (!scan_dlg_cb_registered) {
bt_bap_scan_delegator_register_cb(&scan_delegator_cbs);
bt_bap_scan_delegator_register(&scan_delegator_cbs);
scan_dlg_cb_registered = true;
}

Expand Down
Loading
Loading