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

Do Not Review: Upmerge TF-M v2.1.0 Mbed TLS v3.6.0 (only for testing) #17229

Open
wants to merge 173 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
173 commits
Select commit Hold shift + click to select a range
084c1ec
manifest: update manifest for upmerge
bjarki-andreasen Aug 13, 2024
6e73158
lib: date_time: define _POSIX_C_SOURCE for gmtime_r
bjarki-andreasen Sep 23, 2024
eed3d5a
libraries: Change autoconf.h to zephyr/autoconf.h
frkv Sep 4, 2024
36ca7ee
tf-m: Replace deprecated z_arch_esf_t types
frkv Sep 5, 2024
ccff0b1
nrf_modem_lib: Fix removed CONFIG_LOG_DOMAIN_ID config
frkv Sep 4, 2024
b3454eb
crypto: Add pk_ecc.c to the build
frkv Sep 5, 2024
0c48801
crypto: Removal of unsupported PSA crypto algorithm and key types
frkv Aug 22, 2024
f624bf6
bluetooth: crypto: Adding missing key-types for ECC
frkv Aug 22, 2024
0ba7090
crypto: Add missing config for key types for SPAKE2+ and RSA
frkv Aug 22, 2024
9c00d1f
crypto: Cleanup ordering of PAKE and RSA split configurations
frkv Aug 22, 2024
fa44184
crypto: Enable Kconfig NRF_SECURITY by default
frkv Aug 22, 2024
5c547a9
crypto: Removing weak and/or unused ciphers in nrf_security
frkv Sep 4, 2024
d29c2d9
crypto: Align psa_crypto_driver_wrappers to PSA key attributes
frkv Sep 4, 2024
aae7800
crypto: configs: Disable setting of PSA_WANT_KEY_TYPE_ECC_XXXX_PAIR_B…
frkv Sep 4, 2024
cdf138f
crypto: Unify Mbed TLS configuration generation
frkv Sep 5, 2024
d77deaf
tf-m: Adding config_extra.cmake generation
frkv Sep 4, 2024
418ee28
tf-m: Add use of generated crypto_extra.cmake file
frkv Sep 4, 2024
2aaf9c4
tf-m: crypto keys: Update platform HUK APIs
frkv Sep 4, 2024
8106021
tf-m: Remove nordic-internal configuration for PSA attestation
frkv Sep 4, 2024
1cc6837
tf-m: Add support for building PSA core externally
frkv Sep 5, 2024
0381d44
tf-m: Updated out-of-tree crypto_spe.h to aling with TF-M 2.1
frkv Sep 5, 2024
56d1b1b
tf-m: Add TF-M compiler flags to TF-M config libraries
frkv Sep 5, 2024
aa03f9c
crypto: PSA core: Add psa_crypto_config and psa_crypto_library_config
frkv Sep 4, 2024
9ce43df
crypto: Cleaning up PSA driver and core CMake logic
frkv Sep 4, 2024
83f88e1
crypto: tls: Don't depend on MBEDTLS_CIPHER_C for TLS use-cases
frkv Sep 5, 2024
af97c30
crypto: Removal of unused out-of-tree files
frkv Sep 5, 2024
8b50d2b
crypto: Adding threading support for PSA core
frkv Sep 5, 2024
586855a
sample: tls: Enable SSL CLI for psa_tls
frkv Sep 5, 2024
554dcdb
crypto: nrf_security: Fix coding standard issues
frkv Sep 5, 2024
4dca9fe
crypto: legacy: Enable more PSA core/crypto awareness
frkv Sep 4, 2024
33af3b9
libraries: Update all includes to <zephyr/net_buf.h>
frkv Sep 9, 2024
96a601f
suit: Fix Kconfig for SUIT (missing type)
frkv Sep 9, 2024
3f36e8e
drivers: Remove nRF70 Wi-Fi driver
krish2718 Aug 5, 2024
630c20c
manifest: Use Zephyr hostap
krish2718 Aug 5, 2024
5f67ede
treewide: Migrate to nRF70 upstream driver
krish2718 Aug 5, 2024
6134718
boards: shields: Use upstream nRF7002EK shields
krish2718 Aug 5, 2024
7ef8902
treewide: Migrate to upstream Zephyr WPA supplicant
krish2718 Aug 5, 2024
a93a432
modules: hostap: Remove hostap module
krish2718 Aug 5, 2024
9155219
boards: Remove nRF7002DK board
krish2718 Aug 5, 2024
fe59ee3
treewide: Fix CMake warning for nRF70 driver heap
krish2718 Aug 5, 2024
b7d4c4f
samples: wifi: shell: Increase kernel heap
krish2718 Aug 6, 2024
065a767
migration: Add notes for nRF70 upstream switch
krish2718 Aug 7, 2024
6315787
doc: changelog: Update with upstream migration
krish2718 Aug 9, 2024
a98eaf6
treewide: Use nRF7000 for scan only
krish2718 Aug 11, 2024
c4e5ffe
ci: Quarantine nRF7002 unsupported boards
krish2718 Aug 11, 2024
375291b
samples: wifi: Fix Raw mode build
krish2718 Aug 13, 2024
c3d737c
samples: wifi: coex: Explicitly enable co-existence
krish2718 Aug 13, 2024
c76cb28
ci: quanratine: Disable Matter for nRF7002DK
krish2718 Aug 13, 2024
c09ef00
ci: Quarantine Thingy and Wi-Fi tests
krish2718 Aug 18, 2024
6c55115
samples: Remove unsupported platforms from integration
krish2718 Aug 18, 2024
87cd44e
doc: Fix missing tag
krish2718 Aug 18, 2024
259836b
samples: wifi: Remove raw modes for nRF7000
krish2718 Aug 18, 2024
db633c5
samples: wifi: shutdown: Fix build errors
krish2718 Aug 18, 2024
35219f6
ci: quarantine: Quarantine few mysterious memory overflows
krish2718 Aug 21, 2024
2dafbff
sysbuild: Remove some Kconfigs
nordicjm Sep 11, 2024
2e2db8a
[nrf noup] Remove CFB and OFB from OpenThread defconfig
frkv Sep 11, 2024
6e75894
github: workflows: compliance: add unidiff to requirenments
bjarki-andreasen Sep 12, 2024
c34a846
samples: libraries: Fixing deprecated z_arch_esf_t
frkv Sep 12, 2024
e5a5bb9
applications: ipc_radio: align net_buf to new API
dchat-nordic Sep 13, 2024
07839cc
boards: shields: remove nrf7002eb
bjarki-andreasen Sep 15, 2024
15a1ffd
boards: shields: remove nrf700x_nrf54h20dk
bjarki-andreasen Sep 15, 2024
6ff0ca2
boards: shields: remove nrf700x_nrf54h15dk
bjarki-andreasen Sep 15, 2024
21f9386
boards: shields: remove nrf700x_nrf54l15pdk
bjarki-andreasen Sep 15, 2024
11e602f
cmake: modules: kconfig: Update autoconf path
nordicjm Sep 12, 2024
8186535
boards: shields: add nrf7002eb_interposer_p1 shield
bjarki-andreasen Sep 16, 2024
e2aa883
doc: cmake: inject DOCS_HTML_DIR
bjarki-andreasen Sep 16, 2024
e2fd6e8
tf-m: Fix removed PSA_WANT_KEY_TYPE_RSA_KEY_PAIR configuration for tests
frkv Sep 12, 2024
c431b06
tf-m: Add a dummy PLAT_OTP_ID_LCS define for TF-M Minimal configuration
frkv Sep 12, 2024
9fff1e8
crypto: Adding missing include-folder to CRACEN library
frkv Sep 12, 2024
11d58f5
crypto: CRACEN: Remove unused parameter
frkv Sep 12, 2024
cd882f2
tf-m: Clean up PSA crypto interface/library config addition
frkv Sep 13, 2024
8860876
crypto: Adjusting threading to also work with no multithreading support
frkv Sep 13, 2024
6abf7bd
crypto: Removing unused target names mbedx509_target and mbedtls_target
frkv Sep 16, 2024
192ef3c
crypto: Fix legacy API support for TLS/DTLS and X.509
frkv Sep 16, 2024
9862925
crypto: Reworking the structure of psa driver/core
frkv Sep 16, 2024
eaf8976
crypto: Fixup of threading for path resolvement
frkv Sep 16, 2024
c5ead67
crypto: Separating library and interface configs for nrf_security libs
frkv Sep 16, 2024
9fda197
crypto: Cleaning up dependencies for psa_crypto_config/psa_interface
frkv Sep 16, 2024
264a56e
crypto: MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER for Nordic security b…
frkv Sep 16, 2024
219edb1
crypto: TF-M: Add filter for legacy API addition for ARoTs etc.
frkv Sep 16, 2024
e5a643a
crypto: Threading: Ensure linking against libkernel.a by path
frkv Sep 16, 2024
9d06a88
crypto: TF-M: Add better filter for non PSA builds
frkv Sep 16, 2024
fde33e0
crypto: Resolve path-issues with CRACEN builds
frkv Sep 16, 2024
046aad0
samples: wifi: privisioning: softap: add missing integration_platforms
gmarull Sep 17, 2024
b397a97
doc: nrf: update references to Zephyr docs
gmarull Sep 17, 2024
349b14d
doc: redirects: remove invalid entries
gmarull Sep 17, 2024
cda014f
ieee802154: 802154_rpmsg: Fix path in CMake and sysbuild conf
dawidprzybylo Sep 17, 2024
959bea3
samples: Align samples to new recommeneded net_buf API.
dchat-nordic Sep 13, 2024
29a9cc6
tf-m: Add ${NRF_DIR} to external core and added include
frkv Sep 17, 2024
effe1db
crypto: Handling threading support a bit more accurately
frkv Sep 18, 2024
857728c
ble: Fix const correctness for bt_le_adv_parms
frkv Sep 18, 2024
23e90cc
crypto: Resolving more PSA features from legacy
frkv Sep 18, 2024
3e47eed
crypto: Made imported (legacy) libraries use psa_crypto-config
frkv Sep 18, 2024
e50f7d0
modem: tests: Change z => zvfs
frkv Sep 18, 2024
989df26
net: download client: Added K_THREAD_STACK_MEMBER definition
frkv Sep 18, 2024
db5cd9e
bluetooth: controller: align softdevice with BT_CTLR_CRYPTO_SUPPORT
bjarki-andreasen Sep 19, 2024
61d9d54
tests: nrf_compress: Enable legacy crypto for mbedtls_sha256_c
frkv Sep 19, 2024
7404dee
crypto: Adding "-Wno-unused-function" to avoid oberon_ecdsa errors
frkv Sep 19, 2024
cdfafe0
crypto: Resolving CHACHA20 into PSA crypto configs
frkv Sep 19, 2024
6cc0bdf
boards: thingy91x: replace removed Kconfig option
tomi-font Sep 19, 2024
f5d8d83
applications: serial_lte_modem: fix "'noreturn' function does return"
tomi-font Sep 19, 2024
2b288ea
nrf_security: add missing Mbed TLS source file
tomi-font Sep 19, 2024
e074612
nrf_security: fix MBEDTLS_HKDF_C dependency
tomi-font Sep 19, 2024
8d3e554
tests: crypto: add missing Mbed TLS Kconfig options
tomi-font Sep 19, 2024
1ab4a3f
bindings: usb: zephyr,hid-device: rename in-polling-rate
bjarki-andreasen Sep 19, 2024
2a98653
applications: nrf_desktop: update usbd config define macro usage
bjarki-andreasen Sep 19, 2024
52cc9a9
samples: net: fix linkage failures on native_sim
tomi-font Sep 20, 2024
afcc5b5
crypto: Add fallback to get PSA crypto driver APIs
frkv Sep 20, 2024
3863b5e
crypto: Fix collision with mbedtls_ecdsa_can_do for nrf_oberon
frkv Sep 20, 2024
fea0637
crypto: Fix access to Mbed TLS base APIs for nrf_cc3xx imported libs
frkv Sep 20, 2024
7949be8
samples: bluetooth: fast_pair: locator_tag: align Kconfigs from libc
kapi-no Sep 20, 2024
963aa19
bluetooth: controller: ecdh: enable security backend for tf-m builds
kapi-no Sep 20, 2024
5f7740d
crypto: Adding legacy headers gave mismatch for nRF54H SSF samples
frkv Sep 21, 2024
9ef1383
tfm: tests: Enable PSA_WANT_ALG_ECDSA
frkv Sep 21, 2024
eb82b99
tf-m: tests: Add better filtering of CRACEN devices for regression tests
frkv Sep 21, 2024
6a53add
crypto: Simplify include folder passing in legacy crypto binaries
frkv Sep 22, 2024
f723414
crypto: Avoid OpenThread issue with MBEDTLS_SSL_EXPORT_KEYS
frkv Sep 22, 2024
7b05ace
samples: bluetooth: Remove CONFIG_BT_DEBUG_LOG use
rlubos Sep 23, 2024
fa25f48
applications: remove Kconfig for selecting HCI driver
kapi-no Sep 23, 2024
62d4fe9
treewide: Remove remaining CONFIG_WIFI_NRF700X use
rlubos Sep 23, 2024
0791a9b
Bluetooth: Controller: Kconfig: select BT_CTLR_CRYPTO_SUPPORT for sdc
laxiLang Sep 23, 2024
6ccc4f8
wifi: shell: Remove usage of Kconfig MBEDTLS_GENERATE_CFG_FILE
frkv Sep 23, 2024
3a220f6
applications: serial_lte_modem: fix native_tls Kconfig overlay
tomi-font Sep 23, 2024
bb25bcc
tests: suit: fix "MBEDTLS_ECDSA_C defined, but not all prerequisites"
tomi-font Sep 23, 2024
030adbd
Bluetooth: Mesh: align rpl with subnet bridge changes
bjarki-andreasen Sep 23, 2024
7d3fcff
unity: Fix cmock headers generation (syscalls)
rlubos Sep 23, 2024
b21b2c4
snippets: add nrf70-wifi snippet
bjarki-andreasen Sep 16, 2024
1d2985f
samples: wifi: shell: Update nrf7002eb_interposer tests
bjarki-andreasen Sep 23, 2024
b1b361d
crypto: Simplify psa_crypto_config/psa_crypto_library_config selection
frkv Sep 23, 2024
2be4a60
crypto: Fix SSF for psa_crypto_config selection
frkv Sep 24, 2024
e41a507
doc: nrf: adjust references to hello world sample
gmarull Sep 24, 2024
0724eb8
nrf_security: remove CFB and OFB Mbed TLS cipher modes
tomi-font Sep 24, 2024
7080359
Bluetooth: tester: testing.h is moved under mesh directory
m-alperen-sener Sep 24, 2024
90580b7
bluetooth: fast_pair: crypto: enable security backend for tf-m builds
kapi-no Sep 24, 2024
0fa2cdf
crypto: Allow for more legacy-only API support
frkv Sep 24, 2024
57eb29c
crypto: Add missing API for RSA (Mbed TLS 3.6.0 + RSA_ALT)
frkv Sep 24, 2024
8a5b364
crypto: legacy psa_tls: Add enabledment of MBEDTLS_ECDSA_C/ECDH_C
frkv Sep 24, 2024
501b9ea
crypto: Make MD support non-local build of PSA core
frkv Sep 24, 2024
8bb07bd
crypto: Add resolvement of HMAC when enabling DETERMINISTIC_ECDSA
frkv Sep 24, 2024
0ed809a
crypto: Wider mask to prevent duplicate mbdtls_eccdsa_can_do
frkv Sep 24, 2024
4b18472
kconfig: change MINIMAL_LIBC_MALLOC to COMMON_LIBC_MALLOC
tejlmand Sep 24, 2024
3089f84
applications: nrf_desktop: Handle USBD_MSG_CONFIGURATION
MarekPieta Sep 24, 2024
768f12b
applications: nrf_desktop: Align USB HID buffers
MarekPieta Sep 24, 2024
7c5ffa8
crypto: Standardizing on using MBEDTLS_USE_PSA_CRYPTO for Kconfig.legacy
frkv Sep 25, 2024
1711f2b
crypto: Add wider mask for enabling legacy Mbed TLS files
frkv Sep 25, 2024
bc145e2
scripts: quarantine_zephyr: Update net_buf entry
rlubos Sep 25, 2024
3e03ed3
suit: crypto: Remove filtering of SOC_FAMILY_NORDIC_NRF
frkv Sep 25, 2024
3ed7aa1
tests: lib: location: Align with upstream device.h changes
rlubos Sep 25, 2024
d403f99
samples: matter: Disable unused cpuflpr from DTS.
ArekBalysNordic Sep 25, 2024
60b1835
applications: machine_learning: remove flpr nodes to fix missing label
kapi-no Sep 25, 2024
6d3bbeb
crypto: Add CONFIG_MBEDTLS_LEGACY_C to net/download sample
frkv Sep 25, 2024
51752ba
tests: net: lib: nrf_provisioning: Define COAP_CLIENT_BLOCK_SIZE
rlubos Sep 25, 2024
ca642bf
samples: bluetooth: Fix build warning about bt_le_adv_params
laxiLang Sep 25, 2024
4d7209a
doc: nrf: update mcumgr references
gmarull Sep 25, 2024
4eb530b
crypto: Fix wrong label oberon_psa_core
frkv Sep 25, 2024
d70a9be
samples: cellular: nrf_cloud_multi_service: Use correct config option
rado17 Sep 25, 2024
10ef358
scripts: quarantine: quarantine nrfx_spim samples
bjarki-andreasen Sep 26, 2024
56a6c2a
tests: suit: temporarily disable native_posix signature check
ahasztag Sep 26, 2024
16c5b06
samples: Fix BLE adv params build warning
laxiLang Sep 26, 2024
46f76e2
samples: openthread: Disable unused cpuflpr
ArekBalysNordic Sep 26, 2024
89367da
Applications: Audio: Upmerge sept 24
koffes Sep 16, 2024
ed7392a
crypto: Fix aliasing issues of mbedtl_mutex_xxxx APIs
frkv Sep 26, 2024
ff0f75f
samples: wifi: shell: Reduce static RAM usage
rado17 Sep 25, 2024
475a543
modules: wifi: provisioning: softap: Enable WIFI_NRF70
rado17 Sep 26, 2024
6ee2c6c
nrf_security: Use the renamed header file
krish2718 Sep 26, 2024
e0fb752
subsys: dfu: dfu_target: Add support for flatten
nordicjm Sep 26, 2024
a08fdbf
Revert "applications: nrf_desktop: Disable USB remote wakeup on nRF54…
MarekPieta Sep 27, 2024
bc8d138
samples: net: Add sysbuild Wi-Fi config
krish2718 Sep 27, 2024
9cffb66
crypto: Defer mutex operation in pre-kernel
frkv Sep 26, 2024
98bbbff
tfm: Propagate PSA_CRYPTO_DRIVER_TFM_BUILTIN_KEY_LOADER
frkv Sep 26, 2024
2425f3f
crypto: Rename to nrf_security_mutex_t to mbedtls_threading_mutex_t
frkv Sep 27, 2024
aea8ec4
crypto: mutex: set intialized flag
frkv Sep 27, 2024
fc1d638
tf-m: Add PSA_CRYPTO_DRIVER_TFM_BUILTIN_KEY_LOADER
frkv Sep 27, 2024
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
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/workflows/compliance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
pip3 install -U pip
pip3 install -U setuptools
pip3 install -U wheel
grep -E "^python-magic|^junitparser|^lxml|^gitlint|^pylint|^pykwalify|^yamllint" scripts/requirements-fixed.txt | cut -d ' ' -f '1' | xargs pip3 install -U
grep -E "^python-magic|^junitparser|^lxml|^gitlint|^pylint|^pykwalify|^yamllint|^unidiff" scripts/requirements-fixed.txt | cut -d ' ' -f '1' | xargs pip3 install -U
grep -E "^west" scripts/requirements-fixed.txt | cut -d ' ' -f '1' | xargs pip3 install -U
pip3 show -f west
Expand Down
2 changes: 0 additions & 2 deletions CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@
/drivers/sensor/bme68x_iaq/ @nrfconnect/ncs-co-drivers @nrfconnect/ncs-cia
/drivers/sensor/paw3212/ @nrfconnect/ncs-co-drivers @nrfconnect/ncs-si-bluebagel
/drivers/sensor/pmw3360/ @nrfconnect/ncs-co-drivers @nrfconnect/ncs-si-bluebagel
/drivers/wifi/nrf700x/ @nrfconnect/ncs-co-networking @krish2718 @sachinthegreen @rado17

# Devicetree
/dts/ @nrfconnect/ncs-co-drivers
Expand Down Expand Up @@ -157,7 +156,6 @@

# Modules
/modules/ @nrfconnect/ncs-co-build-system
/modules/hostap/ @nrfconnect/ncs-co-networking @krish2718 @rado17 @sachinthegreen
/modules/mcuboot/ @nrfconnect/ncs-pluto
/modules/cjson/ @nrfconnect/ncs-cia @plskeggs
/modules/trusted-firmware-m/ @nrfconnect/ncs-aegir
Expand Down
2 changes: 1 addition & 1 deletion applications/asset_tracker_v2/Kconfig.sysbuild
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ config SECURE_BOOT_APPCORE
|| BOARD_NRF9151DK_NRF9151_NS \
|| BOARD_NRF9161DK_NRF9161_NS

config WIFI_NRF700X
config WIFI_NRF70
default y if BOARD_THINGY91X_NRF9151_NS

config PM_EXTERNAL_FLASH_MCUBOOT_SECONDARY
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ CONFIG_ADXL367_ACTIVITY_TIME=0

# configs for Wi-Fi
CONFIG_WIFI=y
CONFIG_WIFI_NRF700X=y
CONFIG_WIFI_NRF700X_SKIP_LOCAL_ADMIN_MAC=y
CONFIG_WIFI_NRF70=y
CONFIG_WIFI_NRF70_SKIP_LOCAL_ADMIN_MAC=y
# Align this with CONFIG_LOCATION_METHOD_WIFI_SCANNING_RESULTS_MAX_CNT
CONFIG_NRF_WIFI_SCAN_MAX_BSS_CNT=10

Expand All @@ -50,7 +50,7 @@ CONFIG_NRF_MODEM_LIB_SHMEM_TX_SIZE=4096
CONFIG_NRF_MODEM_LIB_SHMEM_RX_SIZE=4096

# Scan only using offload API
CONFIG_WPA_SUPP=n
CONFIG_WIFI_NM_WPA_SUPPLICANT=n

# For nRF9160 the default is socket interface
CONFIG_NET_DEFAULT_IF_ETHERNET=y
Expand Down
4 changes: 2 additions & 2 deletions applications/asset_tracker_v2/doc/sensor_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ The following table lists the sensors and sensor data types supported by the mod
| Acceleration (Impact) | `ADXL372`_ |
+-------------------------+-----------------+

The module controls and collects data from the sensors by interacting with their :ref:`device drivers <device_model_api>` using :ref:`Zephyr's generic sensor API <sensor_api>`.
The module controls and collects data from the sensors by interacting with their :ref:`device drivers <device_model_api>` using :ref:`Zephyr's generic sensor API <sensor>`.

Thingy:91 X has a `BME688`_ gas sensor and `ADXL367`_ motion sensor that can be used by the :ref:`asset_tracker_v2_sensor_module` module.

Expand Down Expand Up @@ -189,7 +189,7 @@ Dependencies

This module uses the following Zephyr API:

* :ref:`Generic sensor API <sensor_api>`
* :ref:`Generic sensor API <sensor>`

API documentation
*****************
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ CONFIG_DK_LIBRARY=n

# Actual configs for the Wi-Fi
CONFIG_WIFI=y
CONFIG_WIFI_NRF700X=y
CONFIG_WIFI_NRF700X_SKIP_LOCAL_ADMIN_MAC=y
CONFIG_WIFI_NRF70=y
CONFIG_WIFI_NRF70_SKIP_LOCAL_ADMIN_MAC=y
# Align this with CONFIG_LOCATION_METHOD_WIFI_SCANNING_RESULTS_MAX_CNT
CONFIG_NRF_WIFI_SCAN_MAX_BSS_CNT=20

Expand All @@ -35,13 +35,14 @@ CONFIG_LOCATION_METHOD_WIFI_SCANNING_RESULTS_MAX_CNT=20
CONFIG_LOCATION_WORKQUEUE_STACK_SIZE=8192
# Needed to handle more scan results
CONFIG_HEAP_MEM_POOL_SIZE=60000
CONFIG_HEAP_MEM_POOL_IGNORE_MIN=y

# Not for LTE throughput testing
CONFIG_NRF_MODEM_LIB_SHMEM_TX_SIZE=4096
CONFIG_NRF_MODEM_LIB_SHMEM_RX_SIZE=4096

# Scan only using offload API
CONFIG_WPA_SUPP=n
CONFIG_WIFI_NM_WPA_SUPPLICANT=n

# For nRF9160 the default is socket interface
CONFIG_NET_DEFAULT_IF_ETHERNET=y
Expand Down
16 changes: 8 additions & 8 deletions applications/asset_tracker_v2/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -328,26 +328,26 @@ tests:
integration_platforms:
- nrf9160dk/nrf9160/ns
platform_allow: nrf9160dk/nrf9160/ns
extra_args: SHIELD=nrf7002ek EXTRA_CONF_FILE=overlay-nrf7002ek-wifi-scan-only.conf
SB_CONFIG_WIFI_NRF700X=y SB_CONFIG_WIFI_NRF700X_SCAN_ONLY=y
extra_args: SHIELD=nrf7002ek_nrf7000 EXTRA_CONF_FILE=overlay-nrf7002ek-wifi-scan-only.conf
SB_CONFIG_WIFI_NRF70=y SB_CONFIG_WIFI_NRF70_SCAN_ONLY=y
tags: ci_build sysbuild ci_applications_asset_tracker_v2
applications.asset_tracker_v2.nrf7002ek_wifi.nrf9161dk:
sysbuild: true
build_only: true
integration_platforms:
- nrf9161dk/nrf9161/ns
platform_allow: nrf9161dk/nrf9161/ns
extra_args: SHIELD=nrf7002ek EXTRA_CONF_FILE=overlay-nrf7002ek-wifi-scan-only.conf
SB_CONFIG_WIFI_NRF700X=y SB_CONFIG_WIFI_NRF700X_SCAN_ONLY=y
extra_args: SHIELD=nrf7002ek_nrf7000 EXTRA_CONF_FILE=overlay-nrf7002ek-wifi-scan-only.conf
SB_CONFIG_WIFI_NRF70=y SB_CONFIG_WIFI_NRF70_SCAN_ONLY=y
tags: ci_build sysbuild ci_applications_asset_tracker_v2
applications.asset_tracker_v2.nrf7002ek_wifi.nrf9151dk:
sysbuild: true
build_only: true
integration_platforms:
- nrf9151dk/nrf9151/ns
platform_allow: nrf9151dk/nrf9151/ns
extra_args: SHIELD=nrf7002ek EXTRA_CONF_FILE=overlay-nrf7002ek-wifi-scan-only.conf
SB_CONFIG_WIFI_NRF700X=y SB_CONFIG_WIFI_NRF700X_SCAN_ONLY=y
extra_args: SHIELD=nrf7002ek_nrf7000 EXTRA_CONF_FILE=overlay-nrf7002ek-wifi-scan-only.conf
SB_CONFIG_WIFI_NRF70=y SB_CONFIG_WIFI_NRF70_SCAN_ONLY=y
tags: ci_build sysbuild ci_applications_asset_tracker_v2
applications.asset_tracker_v2.nrf7002ek_wifi-debug:
sysbuild: true
Expand All @@ -360,9 +360,9 @@ tests:
- nrf9160dk/nrf9160/ns
- nrf9161dk/nrf9161/ns
- nrf9151dk/nrf9151/ns
extra_args: SHIELD=nrf7002ek
extra_args: SHIELD=nrf7002ek_nrf7000
EXTRA_CONF_FILE="overlay-nrf7002ek-wifi-scan-only.conf;overlay-debug.conf"
SB_CONFIG_WIFI_NRF700X=y SB_CONFIG_WIFI_NRF700X_SCAN_ONLY=y
SB_CONFIG_WIFI_NRF70=y SB_CONFIG_WIFI_NRF70_SCAN_ONLY=y
tags: ci_build sysbuild ci_applications_asset_tracker_v2

# Configuration which will be used by the positioning CI integration job to verify PRs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#include <zephyr/usb/usb_device.h>
#include <zephyr/usb/bos.h>
#include <zephyr/usb/msos_desc.h>
#include <zephyr/net/buf.h>
#include <zephyr/net_buf.h>
#include <usb_descriptor.h>

#define MODULE bulk_interface
Expand Down
14 changes: 7 additions & 7 deletions applications/ipc_radio/src/bt_hci_ipc.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

#include <zephyr/sys/byteorder.h>
#include <zephyr/sys/util.h>
#include <zephyr/net/buf.h>
#include <zephyr/net_buf.h>

#include <zephyr/bluetooth/bluetooth.h>
#include <zephyr/bluetooth/l2cap.h>
Expand Down Expand Up @@ -88,7 +88,7 @@ static void recv_cmd(const uint8_t *data, size_t len)
sys_le16_to_cpu(hdr->opcode), hdr->param_len);

net_buf_add_mem(buf, data, len);
net_buf_put(&tx_queue, buf);
k_fifo_put(&tx_queue, buf);
}

static void recv_acl(const uint8_t *data, size_t len)
Expand Down Expand Up @@ -125,7 +125,7 @@ static void recv_acl(const uint8_t *data, size_t len)
sys_le16_to_cpu(hdr->handle), sys_le16_to_cpu(hdr->len));

net_buf_add_mem(buf, data, len);
net_buf_put(&tx_queue, buf);
k_fifo_put(&tx_queue, buf);
}

static void recv_iso(const uint8_t *data, size_t len)
Expand Down Expand Up @@ -162,7 +162,7 @@ static void recv_iso(const uint8_t *data, size_t len)
sys_le16_to_cpu(hdr->handle), sys_le16_to_cpu(hdr->len));

net_buf_add_mem(buf, data, len);
net_buf_put(&tx_queue, buf);
k_fifo_put(&tx_queue, buf);
}

static void send(struct net_buf *buf, bool is_fatal_err)
Expand Down Expand Up @@ -260,7 +260,7 @@ static void tx_thread(void)
int err;

while (1) {
buf = net_buf_get(&tx_queue, K_FOREVER);
buf = k_fifo_get(&tx_queue, K_FOREVER);
err = bt_send(buf);
if (err) {
LOG_ERR("bt_send failed err: %d.", err);
Expand Down Expand Up @@ -315,7 +315,7 @@ void bt_ctlr_assert_handle(char *file, uint32_t line)
#endif /* CONFIG_BT_CTLR_ASSERT_HANDLER */

#if defined(CONFIG_BT_HCI_VS_FATAL_ERROR)
void k_sys_fatal_error_handler(unsigned int reason, const z_arch_esf_t *esf)
void k_sys_fatal_error_handler(unsigned int reason, const struct arch_esf *esf)
{
LOG_PANIC();

Expand Down Expand Up @@ -374,7 +374,7 @@ int ipc_bt_process(void)
k_sem_take(&ipc_bound_sem, K_FOREVER);

while (1) {
buf = net_buf_get(&rx_queue, K_FOREVER);
buf = k_fifo_get(&rx_queue, K_FOREVER);
send(buf, HCI_REGULAR_MSG);
}

Expand Down
6 changes: 3 additions & 3 deletions applications/machine_learning/app_desc.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ To learn more about Edge Impulse support in the |NCS| see :ref:`ug_edge_impulse`
Application overview
********************

To perform its tasks, the nRF Machine Learning application uses components available in Zephyr and the |NCS|, namely the :ref:`lib_caf` modules and :ref:`zephyr:sensor_api` for sampling sensors, and :ref:`zephyr:uart_api` or :ref:`nus_service_readme` for forwarding data.
To perform its tasks, the nRF Machine Learning application uses components available in Zephyr and the |NCS|, namely the :ref:`lib_caf` modules and :ref:`zephyr:sensor` for sampling sensors, and :ref:`zephyr:uart_api` or :ref:`nus_service_readme` for forwarding data.
It also uses the `Edge Impulse's data forwarder`_ protocol.

Sampling sensors
================

The application handles the sensor sampling using the :ref:`caf_sensor_manager`.
This module uses Zephyr's :ref:`zephyr:sensor_api` to handle the sampling.
This module uses Zephyr's :ref:`zephyr:sensor` to handle the sampling.
This approach allows you to use any sensor available in Zephyr.

By default, the following sensors are used by the application:
Expand Down Expand Up @@ -659,7 +659,7 @@ Dependencies

The application uses the following Zephyr drivers and libraries:

* :ref:`zephyr:sensor_api`
* :ref:`zephyr:sensor`
* :ref:`zephyr:uart_api`
* :ref:`zephyr:mcu_mgr`

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,15 @@ ipc1: &cpuapp_cpuppr_ipc {
};
};

/* Remove DTS nodes associated with the cpuflpr target as they refer to the
* cpuflpr_code_partition label from the cpuapp_rx_partitions node. The label has
* been removed in this file due to the modification of the cpuapp_rx_partitions
* node. The cpuflpr_vpr and cpuapp_cpuflpr_ipc DTS nodes are removed to prevent
* build failures.
*/
/delete-node/ &cpuflpr_vpr;
/delete-node/ &cpuapp_cpuflpr_ipc;

/* Disable unused sensors and peripherals. */
/delete-node/ &bme688;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@ CONFIG_BT_BUF_ACL_TX_SIZE=251
CONFIG_BT_BUF_ACL_RX_SIZE=502

CONFIG_BT=y
CONFIG_BT_HCI_IPC=y
CONFIG_BT_SMP=y
CONFIG_BT_SIGNING=y
CONFIG_BT_BONDABLE=y
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,6 @@ CONFIG_BT_BUF_ACL_TX_SIZE=251
CONFIG_BT_BUF_ACL_RX_SIZE=502

CONFIG_BT=y
CONFIG_BT_HCI_IPC=y
CONFIG_BT_SMP=y
CONFIG_BT_SIGNING=y
CONFIG_BT_BONDABLE=y
Expand Down
4 changes: 2 additions & 2 deletions applications/matter_bridge/Kconfig.sysbuild
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ endchoice
# Enable IEEE802.15.4 serialization to network core
# This config automatically pulls in the `overlay-802154.conf` in the ipc_radio image
config NETCORE_IPC_RADIO_IEEE802154
default y if (SOC_SERIES_NRF53X || SOC_SERIES_NRF54HX) && !WIFI_NRF700X
default y if (SOC_SERIES_NRF53X || SOC_SERIES_NRF54HX) && !WIFI_NRF70

if BOOTLOADER_MCUBOOT

Expand All @@ -38,7 +38,7 @@ config PM_EXTERNAL_FLASH_MCUBOOT_SECONDARY
if SOC_SERIES_NRF53X

config MCUBOOT_UPDATEABLE_IMAGES
default 3 if (BOARD_NRF5340DK_NRF5340_CPUAPP && WIFI_NRF700X) #### Support for WiFi patch on external flash memory.
default 3 if (BOARD_NRF5340DK_NRF5340_CPUAPP && WIFI_NRF70) #### Support for WiFi patch on external flash memory.
default 2

choice MCUBOOT_MODE
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Adding support for a new Bluetooth LE service
#############################################

The Matter Bridge application supports bridging Bluetooth LE devices using :ref:`LED Button Service <lbs_readme>` and :ref:`Environmental Sensing Service <peripheral_esp>` Bluetooth services.
The Matter Bridge application supports bridging Bluetooth LE devices using :ref:`LED Button Service <lbs_readme>` and :zephyr:code-sample:`ble_peripheral_esp` Bluetooth services.
You can also add support for a proprietary Bluetooth LE service, if required by your use case.
The functionality of the added Bluetooth LE service has to be represented by one or more device types available in the :ref:`Matter Data Model <ug_matter_device_types>`.
For example, the :ref:`LED Button Service <lbs_readme>` is represented by the Matter On/Off Light and Matter Generic Switch device types.
Expand Down
25 changes: 17 additions & 8 deletions applications/matter_bridge/doc/matter_bridge_description.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ To test the Matter bridge application with the :ref:`Bluetooth LE bridged device
* An additional development kit compatible with one of the following Bluetooth LE samples:

* :ref:`peripheral_lbs`
* :ref:`peripheral_esp`
* :zephyr:code-sample:`ble_peripheral_esp`

* A micro-USB cable for every development kit to connect it to the PC.

Expand Down Expand Up @@ -119,7 +119,7 @@ The application supports two bridged device configurations that are mutually exc

* Nordic Semiconductor's :ref:`LED Button Service <lbs_readme>` - represented by the Matter On/Off Light and Generic Switch device types.
The service can be configured to use the On/Off Light Switch instead of the Generic Switch device type.
* Zephyr's :ref:`Environmental Sensing Service <peripheral_esp>` - represented by the Matter Temperature Sensor and Humidity Sensor device types.
* Zephyr's :zephyr:code-sample:`ble_peripheral_esp` - represented by the Matter Temperature Sensor and Humidity Sensor device types.

If the Bluetooth LE service required by your use case is not supported, you can extend the application.
For information about how to add a new Bluetooth LE service support to the application, see the :ref:`matter_bridge_app_extending_ble_service` section.
Expand Down Expand Up @@ -552,7 +552,7 @@ The current maximum number of Bluetooth LE connections that can be selected usin
.. parsed-literal::
:class: highlight

west build -b nrf5340dk/nrf5340/cpuapp -p -- -Dmatter_bridge_SHIELD=nrf7002ek -DSB_CONFIG_WIFI_PATCHES_EXT_FLASH_STORE=y -DSB_CONFIG_DFU_MULTI_IMAGE_PACKAGE_WIFI_FW_PATCH=y -DSB_CONFIG_WIFI_NRF700X=y -Dmcuboot_CONFIG_UPDATEABLE_IMAGE_NUMBER=3 -DCONFIG_BRIDGED_DEVICE_BT=y -DEXTRA_CONF_FILE="overlay-bt_max_connections_app.conf" -Dipc_radio_EXTRA_CONF_FILE="overlay-bt_max_connections_net.conf" -DFILE_SUFFIX=nrf70ek
west build -b nrf5340dk/nrf5340/cpuapp -p -- -Dmatter_bridge_SHIELD=nrf7002ek -DSB_CONFIG_WIFI_PATCHES_EXT_FLASH_STORE=y -DSB_CONFIG_DFU_MULTI_IMAGE_PACKAGE_WIFI_FW_PATCH=y -DSB_CONFIG_WIFI_NRF70=y -Dmcuboot_CONFIG_UPDATEABLE_IMAGE_NUMBER=3 -DCONFIG_BRIDGED_DEVICE_BT=y -DEXTRA_CONF_FILE="overlay-bt_max_connections_app.conf" -Dipc_radio_EXTRA_CONF_FILE="overlay-bt_max_connections_net.conf" -DFILE_SUFFIX=nrf70ek

.. group-tab:: Matter bridge over Thread

Expand All @@ -576,7 +576,7 @@ The current maximum number of Bluetooth LE connections that can be selected usin
.. parsed-literal::
:class: highlight

west build -b nrf54h20dk/nrf54h20/cpuapp -p -- -DSB_CONFIG_WIFI_NRF700X=y -DCONFIG_CHIP_WIFI=y -Dmatter_bridge_SHIELD=nrf700x_nrf54h20dk -DCONFIG_BRIDGED_DEVICE_BT=y -DEXTRA_CONF_FILE="overlay-bt_max_connections_app.conf" -Dipc_radio_EXTRA_CONF_FILE="overlay-bt_max_connections_net.conf"
west build -b nrf54h20dk/nrf54h20/cpuapp -p -- -DSB_CONFIG_WIFI_NRF70=y -DCONFIG_CHIP_WIFI=y -Dmatter_bridge_SHIELD=nrf700x_nrf54h20dk -DCONFIG_BRIDGED_DEVICE_BT=y -DEXTRA_CONF_FILE="overlay-bt_max_connections_app.conf" -Dipc_radio_EXTRA_CONF_FILE="overlay-bt_max_connections_net.conf"

.. group-tab:: Matter bridge over Thread

Expand Down Expand Up @@ -712,15 +712,14 @@ For example:

.. code-block:: console

west build -b nrf5340dk/nrf5340/cpuapp -p -- -Dmatter_bridge_SHIELD=nrf7002ek -DSB_CONFIG_WIFI_PATCHES_EXT_FLASH_STORE=y -DSB_CONFIG_DFU_MULTI_IMAGE_PACKAGE_WIFI_FW_PATCH=y -DSB_CONFIG_WIFI_NRF700X=y -Dmcuboot_CONFIG_UPDATEABLE_IMAGE_NUMBER=3 -DFILE_SUFFIX=nrf70ek

west build -b nrf5340dk/nrf5340/cpuapp -p -- -Dmatter_bridge_SHIELD=nrf7002ek -DSB_CONFIG_WIFI_PATCHES_EXT_FLASH_STORE=y -DSB_CONFIG_DFU_MULTI_IMAGE_PACKAGE_WIFI_FW_PATCH=y -DSB_CONFIG_WIFI_NRF70=y -Dmcuboot_CONFIG_UPDATEABLE_IMAGE_NUMBER=3 -DFILE_SUFFIX=nrf70ek

To use the nRF54H20 DK with the ``nrf7002ek`` shield (2.4 GHz or 5 GHz), follow the :ref:`ug_nrf7002eb_nrf54h20dk_gs` user guide to connect all required pins.
Once connected, run the following command to build the sample:

.. code-block:: console

west build -b nrf54h20dk/nrf54h20/cpuapp -p -- -DSB_CONFIG_WIFI_NRF700X=y -DCONFIG_CHIP_WIFI=y -Dmatter_bridge_SHIELD=nrf700x_nrf54h20dk
west build -b nrf54h20dk/nrf54h20/cpuapp -p -- -DSB_CONFIG_WIFI_NRF70=y -DCONFIG_CHIP_WIFI=y -Dmatter_bridge_SHIELD=nrf700x_nrf54h20dk

Selecting a configuration
=========================
Expand All @@ -738,7 +737,17 @@ To enable the Matter smart plugin functionality, run the following command with
.. parsed-literal::
:class: highlight

west build -b *board_target* -p -- -Dmatter_bridge_SNIPPET=onoff_plug
.. group-tab:: nRF54 DKs

.. code-block:: console

west build -b nrf54h20dk/nrf54h20/cpuapp -p -- -DSB_CONFIG_WIFI_NRF70=y -DCONFIG_CHIP_WIFI=y -Dmatter_bridge_SHIELD=nrf700x_nrf54h20dk -DCONFIG_BRIDGED_DEVICE_BT=y -Dmatter_bridge_SNIPPET=onoff_plug

.. group-tab:: nRF70 DKs

.. code-block:: console

west build -b nrf7002dk/nrf5340/cpuapp -p -- -DCONFIG_BRIDGED_DEVICE_BT=y -Dmatter_bridge_SNIPPET=onoff_plug

.. _matter_bridge_testing:

Expand Down
2 changes: 1 addition & 1 deletion applications/matter_bridge/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ tests:
sysbuild: true
build_only: true
extra_args: matter_bridge_SHIELD=nrf7002ek SB_CONFIG_WIFI_PATCHES_EXT_FLASH_STORE=y
mcuboot_CONFIG_UPDATEABLE_IMAGE_NUMBER=3 SB_CONFIG_WIFI_NRF700X=y
mcuboot_CONFIG_UPDATEABLE_IMAGE_NUMBER=3 SB_CONFIG_WIFI_NRF70=y
SB_CONFIG_DFU_MULTI_IMAGE_PACKAGE_WIFI_FW_PATCH=y
CONFIG_CHIP_DFU_OVER_BT_SMP=y
FILE_SUFFIX=nrf70ek
Expand Down
2 changes: 1 addition & 1 deletion applications/matter_weather_station/Kconfig.sysbuild
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ config NRF_DEFAULT_IPC_RADIO
# Enable IEEE802.15.4 serialization to network core
# This config automatically pulls in the `overlay-802154.conf` in the ipc_radio image
config NETCORE_IPC_RADIO_IEEE802154
default y if !WIFI_NRF700X
default y if !WIFI_NRF70

# Enable Bluetooth serialization to network core
# This config automatically pulls in the `overlay-bt_hci_ipc.conf` in the ipc_radio image
Expand Down
Loading
Loading