diff --git a/boards/nordic/nrf7120pdk/board.c b/boards/nordic/nrf7120pdk/board.c index 8c05c8b739e3..6f0e9f7cac6c 100644 --- a/boards/nordic/nrf7120pdk/board.c +++ b/boards/nordic/nrf7120pdk/board.c @@ -6,8 +6,7 @@ #include #include -#include "nrf7120_enga_types.h" -#include "nrf7120_enga_global.h" +#include #if CONFIG_BOARD_EARLY_INIT_HOOK /* Temporary workaround while VPR does not handle starting clocks */ diff --git a/include/bl_storage.h b/include/bl_storage.h index 7da0bc46fcb1..890b8639a7b3 100644 --- a/include/bl_storage.h +++ b/include/bl_storage.h @@ -10,7 +10,7 @@ #include #include #include -#include +#include #if defined(CONFIG_NRFX_NVMC) #include #elif defined(CONFIG_NRFX_RRAMC) diff --git a/include/drivers/gpio/hpf_gpio.h b/include/drivers/gpio/hpf_gpio.h index 2f16d27ef689..c90a873909c9 100644 --- a/include/drivers/gpio/hpf_gpio.h +++ b/include/drivers/gpio/hpf_gpio.h @@ -7,7 +7,7 @@ #ifndef HPF_GPIO_H #define HPF_GPIO_H -#include +#include #include #ifdef __cplusplus diff --git a/include/esb.h b/include/esb.h index 02d6fa5fc10e..7b033d105be1 100644 --- a/include/esb.h +++ b/include/esb.h @@ -10,7 +10,7 @@ #include #include -#include +#include #include #include diff --git a/include/tfm/tfm_builtin_key_ids.h b/include/tfm/tfm_builtin_key_ids.h index ce91be778eff..1653a348162c 100644 --- a/include/tfm/tfm_builtin_key_ids.h +++ b/include/tfm/tfm_builtin_key_ids.h @@ -7,7 +7,7 @@ #ifndef __TFM_BUILTIN_KEY_IDS_H__ #define __TFM_BUILTIN_KEY_IDS_H__ -#include +#include #if defined(NRF_CRACENCORE) || defined(CONFIG_CRACEN_HW_PRESENT) diff --git a/lib/fem_al/fem_al.c b/lib/fem_al/fem_al.c index eecce4f635b3..719430348bea 100644 --- a/lib/fem_al/fem_al.c +++ b/lib/fem_al/fem_al.c @@ -12,7 +12,7 @@ #ifdef DPPI_PRESENT #include #endif -#include +#include #include diff --git a/lib/flash_patch/flash_patch.c b/lib/flash_patch/flash_patch.c index c6b97a402f9f..6756b89b6429 100644 --- a/lib/flash_patch/flash_patch.c +++ b/lib/flash_patch/flash_patch.c @@ -4,7 +4,7 @@ * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause */ -#include +#include #include #include diff --git a/lib/fprotect/fprotect_bprot.c b/lib/fprotect/fprotect_bprot.c index cf20be2c2b1b..dc65fbc177d6 100644 --- a/lib/fprotect/fprotect_bprot.c +++ b/lib/fprotect/fprotect_bprot.c @@ -4,7 +4,7 @@ * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause */ -#include +#include #if defined(NRF_BPROT) #include #define PROTECT nrf_bprot_nvm_blocks_protection_enable diff --git a/lib/fprotect/fprotect_rram.c b/lib/fprotect/fprotect_rram.c index dbc9ce4a7e2e..1c85c9825968 100644 --- a/lib/fprotect/fprotect_rram.c +++ b/lib/fprotect/fprotect_rram.c @@ -8,7 +8,7 @@ #include #include #include -#include +#include #include #define RRAMC_REGION_FOR_FPROTECT_DEFAULT_VALUE 0x0000000f diff --git a/lib/fprotect/fprotect_spu.c b/lib/fprotect/fprotect_spu.c index d2aafd5b9c9c..7f8429648151 100644 --- a/lib/fprotect/fprotect_spu.c +++ b/lib/fprotect/fprotect_spu.c @@ -9,7 +9,7 @@ #include #include #include -#include +#include #define SPU_BLOCK_SIZE CONFIG_FPROTECT_BLOCK_SIZE diff --git a/lib/hw_unique_key/hw_unique_key_cc3xx_kmu.c b/lib/hw_unique_key/hw_unique_key_cc3xx_kmu.c index 3eb74cf9da6b..41da5f0921ab 100644 --- a/lib/hw_unique_key/hw_unique_key_cc3xx_kmu.c +++ b/lib/hw_unique_key/hw_unique_key_cc3xx_kmu.c @@ -11,7 +11,6 @@ #include #include -#include #include #define KMU_KEYSLOT_SIZE_WORDS 4 diff --git a/lib/nrf_modem_lib/nrf_modem_os.c b/lib/nrf_modem_lib/nrf_modem_os.c index 7c76cc750f39..9db7796a6854 100644 --- a/lib/nrf_modem_lib/nrf_modem_os.c +++ b/lib/nrf_modem_lib/nrf_modem_os.c @@ -9,7 +9,7 @@ #include #include #include -#include +#include #include #include diff --git a/modules/nrfxlib/nrf_802154/sl/platform/nrf_802154_hp_timer.c b/modules/nrfxlib/nrf_802154/sl/platform/nrf_802154_hp_timer.c index 79bf80cdf6b8..69e07fbce967 100644 --- a/modules/nrfxlib/nrf_802154/sl/platform/nrf_802154_hp_timer.c +++ b/modules/nrfxlib/nrf_802154/sl/platform/nrf_802154_hp_timer.c @@ -19,7 +19,7 @@ #include #include -#include "nrf.h" +#include "nrfx.h" #include "hal/nrf_timer.h" #include "nrf_802154_sl_periphs.h" diff --git a/modules/trusted-firmware-m/tfm_boards/board/RTE_Device.h b/modules/trusted-firmware-m/tfm_boards/board/RTE_Device.h index 72211f035232..0994854ec2ee 100644 --- a/modules/trusted-firmware-m/tfm_boards/board/RTE_Device.h +++ b/modules/trusted-firmware-m/tfm_boards/board/RTE_Device.h @@ -15,7 +15,7 @@ #include -#include +#include #define UART_PIN_INIT(node_id, prop, idx) DT_PROP_BY_IDX(node_id, prop, idx), diff --git a/modules/trusted-firmware-m/tfm_boards/services/include/tfm_platform_user_memory_ranges.h b/modules/trusted-firmware-m/tfm_boards/services/include/tfm_platform_user_memory_ranges.h index e0111102f28c..465ffddc4340 100644 --- a/modules/trusted-firmware-m/tfm_boards/services/include/tfm_platform_user_memory_ranges.h +++ b/modules/trusted-firmware-m/tfm_boards/services/include/tfm_platform_user_memory_ranges.h @@ -11,7 +11,7 @@ #include -#include "nrf.h" +#include "nrfx.h" /* * On platforms like nrf53 we provide a service for reading out diff --git a/modules/trusted-firmware-m/tfm_boards/src/log_memory_protection.c b/modules/trusted-firmware-m/tfm_boards/src/log_memory_protection.c index 86de76a1bc16..5122f9d6a2da 100644 --- a/modules/trusted-firmware-m/tfm_boards/src/log_memory_protection.c +++ b/modules/trusted-firmware-m/tfm_boards/src/log_memory_protection.c @@ -7,8 +7,7 @@ #include #include #include -#include -#include +#include #include #include diff --git a/samples/benchmarks/coremark/src/main.c b/samples/benchmarks/coremark/src/main.c index f75374b45271..2374087f47a3 100644 --- a/samples/benchmarks/coremark/src/main.c +++ b/samples/benchmarks/coremark/src/main.c @@ -9,7 +9,7 @@ #include #include #include -#include +#include #include "coremark_zephyr.h" diff --git a/samples/bluetooth/direct_test_mode/src/dtm.c b/samples/bluetooth/direct_test_mode/src/dtm.c index ba5d728e48a2..79ce90ce6bc8 100644 --- a/samples/bluetooth/direct_test_mode/src/dtm.c +++ b/samples/bluetooth/direct_test_mode/src/dtm.c @@ -37,7 +37,6 @@ #include #include -#include #if NRF54L_ERRATA_20_PRESENT #include #endif /* NRF54L_ERRATA_20_PRESENT */ diff --git a/samples/bluetooth/direct_test_mode/src/dtm_hw.c b/samples/bluetooth/direct_test_mode/src/dtm_hw.c index 85dec3b5c324..ecabe4bb20da 100644 --- a/samples/bluetooth/direct_test_mode/src/dtm_hw.c +++ b/samples/bluetooth/direct_test_mode/src/dtm_hw.c @@ -4,7 +4,7 @@ * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause */ -#include "nrf.h" +#include "nrfx.h" #include "dtm_hw.h" #include "dtm_hw_config.h" diff --git a/samples/crypto/psa_tls/src/main.c b/samples/crypto/psa_tls/src/main.c index e9b4f64595f0..882db46708de 100644 --- a/samples/crypto/psa_tls/src/main.c +++ b/samples/crypto/psa_tls/src/main.c @@ -4,7 +4,7 @@ * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause */ -#include +#include #include #include #include diff --git a/samples/crypto/psa_tls/src/non-secure/psa_tls_credentials_client.c b/samples/crypto/psa_tls/src/non-secure/psa_tls_credentials_client.c index 7e8632895301..f3e4ede373de 100644 --- a/samples/crypto/psa_tls/src/non-secure/psa_tls_credentials_client.c +++ b/samples/crypto/psa_tls/src/non-secure/psa_tls_credentials_client.c @@ -7,7 +7,7 @@ #include LOG_MODULE_REGISTER(psa_tls_credentials_client_non_secure); -#include +#include #include #include #include diff --git a/samples/crypto/psa_tls/src/non-secure/psa_tls_credentials_server.c b/samples/crypto/psa_tls/src/non-secure/psa_tls_credentials_server.c index 8397231cea95..6867710ee50b 100644 --- a/samples/crypto/psa_tls/src/non-secure/psa_tls_credentials_server.c +++ b/samples/crypto/psa_tls/src/non-secure/psa_tls_credentials_server.c @@ -7,7 +7,7 @@ #include LOG_MODULE_REGISTER(psa_tls_credentials_server_non_secure); -#include +#include #include #include #include diff --git a/samples/crypto/psa_tls/src/psa_dtls_functions_client.c b/samples/crypto/psa_tls/src/psa_dtls_functions_client.c index 6a4c40d4c77b..167777717d4b 100644 --- a/samples/crypto/psa_tls/src/psa_dtls_functions_client.c +++ b/samples/crypto/psa_tls/src/psa_dtls_functions_client.c @@ -7,7 +7,7 @@ #include LOG_MODULE_REGISTER(psa_dtls_client); -#include +#include #include #include #include diff --git a/samples/crypto/psa_tls/src/psa_dtls_functions_server.c b/samples/crypto/psa_tls/src/psa_dtls_functions_server.c index 59fe44f4fb3d..58e938f6ea25 100644 --- a/samples/crypto/psa_tls/src/psa_dtls_functions_server.c +++ b/samples/crypto/psa_tls/src/psa_dtls_functions_server.c @@ -7,7 +7,7 @@ #include LOG_MODULE_REGISTER(psa_dtls_server); -#include +#include #include #include #include diff --git a/samples/crypto/psa_tls/src/psa_tls_common.c b/samples/crypto/psa_tls/src/psa_tls_common.c index 5beeaec059e9..bffd2da414f4 100644 --- a/samples/crypto/psa_tls/src/psa_tls_common.c +++ b/samples/crypto/psa_tls/src/psa_tls_common.c @@ -4,7 +4,7 @@ * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause */ -#include +#include #include #include #include diff --git a/samples/crypto/psa_tls/src/psa_tls_functions_client.c b/samples/crypto/psa_tls/src/psa_tls_functions_client.c index bf003656d52f..ee8b8031c3db 100644 --- a/samples/crypto/psa_tls/src/psa_tls_functions_client.c +++ b/samples/crypto/psa_tls/src/psa_tls_functions_client.c @@ -7,7 +7,7 @@ #include LOG_MODULE_REGISTER(psa_tls_client); -#include +#include #include #include #include diff --git a/samples/crypto/psa_tls/src/psa_tls_functions_server.c b/samples/crypto/psa_tls/src/psa_tls_functions_server.c index e0a556f1e5c3..3ea0030cd467 100644 --- a/samples/crypto/psa_tls/src/psa_tls_functions_server.c +++ b/samples/crypto/psa_tls/src/psa_tls_functions_server.c @@ -7,7 +7,7 @@ #include LOG_MODULE_REGISTER(psa_tls_server); -#include +#include #include #include #include diff --git a/samples/crypto/psa_tls/src/secure/psa_tls_credentials_client.c b/samples/crypto/psa_tls/src/secure/psa_tls_credentials_client.c index 3f4a1b9a03c6..d7c7255130a0 100644 --- a/samples/crypto/psa_tls/src/secure/psa_tls_credentials_client.c +++ b/samples/crypto/psa_tls/src/secure/psa_tls_credentials_client.c @@ -7,7 +7,7 @@ #include LOG_MODULE_REGISTER(psa_tls_credentials_client_secure); -#include +#include #include #include #include diff --git a/samples/crypto/psa_tls/src/secure/psa_tls_credentials_server.c b/samples/crypto/psa_tls/src/secure/psa_tls_credentials_server.c index 24a14b9ca901..f1b77f4da9dd 100644 --- a/samples/crypto/psa_tls/src/secure/psa_tls_credentials_server.c +++ b/samples/crypto/psa_tls/src/secure/psa_tls_credentials_server.c @@ -7,7 +7,7 @@ #include LOG_MODULE_REGISTER(psa_tls_credentials_server_secure); -#include +#include #include #include #include diff --git a/samples/esb/esb_monitor/src/main.c b/samples/esb/esb_monitor/src/main.c index c2b1c841a1f2..ddd2c314cc87 100644 --- a/samples/esb/esb_monitor/src/main.c +++ b/samples/esb/esb_monitor/src/main.c @@ -10,7 +10,7 @@ #include #include #include -#include +#include #include #include #include @@ -18,7 +18,6 @@ #if defined(CONFIG_CLOCK_CONTROL_NRF2) #include #endif -#include #if NRF54L_ERRATA_20_PRESENT #include #endif /* NRF54L_ERRATA_20_PRESENT */ diff --git a/samples/esb/esb_prx/src/main.c b/samples/esb/esb_prx/src/main.c index 7e74e9ecb580..89d9cc361ec0 100644 --- a/samples/esb/esb_prx/src/main.c +++ b/samples/esb/esb_prx/src/main.c @@ -10,7 +10,7 @@ #include #include #include -#include +#include #include #include #include @@ -18,7 +18,6 @@ #if defined(CONFIG_CLOCK_CONTROL_NRF2) #include #endif -#include #if NRF54L_ERRATA_20_PRESENT #include #endif /* NRF54L_ERRATA_20_PRESENT */ diff --git a/samples/esb/esb_ptx/src/main.c b/samples/esb/esb_ptx/src/main.c index b5ad74c363a4..fcb51ae3817e 100644 --- a/samples/esb/esb_ptx/src/main.c +++ b/samples/esb/esb_ptx/src/main.c @@ -8,7 +8,7 @@ #include #include #include -#include +#include #include #include #include @@ -18,7 +18,6 @@ #if defined(CONFIG_CLOCK_CONTROL_NRF2) #include #endif -#include #if NRF54L_ERRATA_20_PRESENT #include #endif /* NRF54L_ERRATA_20_PRESENT */ diff --git a/samples/nrf5340/empty_app_core/README.rst b/samples/nrf5340/empty_app_core/README.rst index a1fd28b87ff2..f38ee44743f0 100644 --- a/samples/nrf5340/empty_app_core/README.rst +++ b/samples/nrf5340/empty_app_core/README.rst @@ -55,7 +55,6 @@ Dependencies This sample has the following `nrfx`_ dependencies: -* ``nrfx/nrf.h`` * ``nrfx/nrfx.h`` In addition, it uses the following Zephyr libraries: diff --git a/samples/nrf5340/empty_app_core/src/main.c b/samples/nrf5340/empty_app_core/src/main.c index 764f7bdfe69e..bdd6260ddf47 100644 --- a/samples/nrf5340/empty_app_core/src/main.c +++ b/samples/nrf5340/empty_app_core/src/main.c @@ -7,7 +7,6 @@ #include #include #include -#include #include #define LFXO_NODE DT_NODELABEL(lfxo) diff --git a/samples/peripheral/radio_test/src/main.c b/samples/peripheral/radio_test/src/main.c index 7261c4f0b9f7..fe7ceb604581 100644 --- a/samples/peripheral/radio_test/src/main.c +++ b/samples/peripheral/radio_test/src/main.c @@ -13,7 +13,7 @@ #if defined(CONFIG_CLOCK_CONTROL_NRF2) #include #endif -#include +#include #if NRF54L_ERRATA_20_PRESENT #include #endif /* NRF54L_ERRATA_20_PRESENT */ diff --git a/samples/peripheral/radio_test/src/radio_test.c b/samples/peripheral/radio_test/src/radio_test.c index 3f19ab7dac51..f933ef9a1a48 100644 --- a/samples/peripheral/radio_test/src/radio_test.c +++ b/samples/peripheral/radio_test/src/radio_test.c @@ -28,7 +28,6 @@ #include "fem_al/fem_al.h" #endif /* CONFIG_FEM */ -#include #if NRF54H_ERRATA_216_PRESENT #include #endif /* NRF54H_ERRATA_216_PRESENT */ diff --git a/scripts/quarantine.yaml b/scripts/quarantine.yaml index 3b4c80b9c5d6..d57473485096 100644 --- a/scripts/quarantine.yaml +++ b/scripts/quarantine.yaml @@ -173,3 +173,34 @@ platforms: - nrf5340dk/nrf5340/cpuapp comment: "https://nordicsemi.atlassian.net/browse/NRFX-8480" + +- platforms: + - .*ns + comment: "https://nordicsemi.atlassian.net/browse/NRFX-8563" + +- scenarios: + - bluetooth.controller + platforms: + - native_sim/native + comment: "https://nordicsemi.atlassian.net/browse/NRFX-8565" + +- scenarios: + - sample.bluetooth.fast_pair.* + - sample.bluetooth.mesh.* + - sample.dfu.dfu_target + - sample.matter.* + - sample.mcuboot.* + - mcuboot.* + - sample.nrf_security.sha256.integration + - sample.find_my.switchable_networks.* + - sample.find_my.locator_tag.* + - bluetooth.mesh.metadata_extraction_.* + - nrf_compress.* + - sample.cellular.smp_svr + - mcuboot.direct_xip + platforms: + - nrf52840dk/nrf52840 + - nrf52840dongle/nrf52840 + - nrf9160dk@0.14.0/nrf52840 + - nrf9160dk@0.14.0/nrf9160 + comment: "https://nordicsemi.atlassian.net/browse/NRFX-8562" diff --git a/scripts/quarantine_zephyr.yaml b/scripts/quarantine_zephyr.yaml index 0e023a9ad428..0d60b63585b6 100644 --- a/scripts/quarantine_zephyr.yaml +++ b/scripts/quarantine_zephyr.yaml @@ -587,3 +587,7 @@ - llext.writable_relocatable_slid_linking - llext.writable_relocatable comment: "https://nordicsemi.atlassian.net/browse/NRFX-8497" + +- platforms: + - .*ns + comment: "https://nordicsemi.atlassian.net/browse/NRFX-8563" diff --git a/soc/nordic/nrf71/soc.c b/soc/nordic/nrf71/soc.c index 91ef0d4564d6..b594563330af 100644 --- a/soc/nordic/nrf71/soc.c +++ b/soc/nordic/nrf71/soc.c @@ -29,9 +29,9 @@ #include #include #endif -#include -#include +#include +#include LOG_MODULE_REGISTER(soc, CONFIG_SOC_LOG_LEVEL); diff --git a/subsys/bluetooth/controller/hci_driver.c b/subsys/bluetooth/controller/hci_driver.c index 67f9e07b39f7..fcce2a1e04e9 100644 --- a/subsys/bluetooth/controller/hci_driver.c +++ b/subsys/bluetooth/controller/hci_driver.c @@ -19,7 +19,6 @@ #include #include -#define SDC_USE_NEW_MEM_API #include #include #include @@ -710,377 +709,222 @@ static void rand_prio_low_vector_get_blocking(uint8_t *p_buff, uint8_t length) (void) err; } -static int configure_supported_features(void) +static void configure_supported_features(void) { - int err; - #if defined(CONFIG_BT_BROADCASTER) if (IS_ENABLED(CONFIG_BT_CTLR_ADV_EXT)) { - err = sdc_support_ext_adv(); - if (err) { - return -ENOTSUP; - } + sdc_support_ext_adv(); } else { - err = sdc_support_adv(); - if (err) { - return -ENOTSUP; - } + sdc_support_adv(); } #endif if (IS_ENABLED(CONFIG_BT_PER_ADV)) { - err = sdc_support_le_periodic_adv(); - if (err) { - return -ENOTSUP; - } + sdc_support_le_periodic_adv(); } if (IS_ENABLED(CONFIG_BT_PERIPHERAL)) { - err = sdc_support_peripheral(); - if (err) { - return -ENOTSUP; - } + sdc_support_peripheral(); } if (IS_ENABLED(CONFIG_BT_OBSERVER)) { if (!IS_ENABLED(CONFIG_BT_CENTRAL)) { if (IS_ENABLED(CONFIG_BT_CTLR_ADV_EXT)) { - err = sdc_support_ext_scan(); - if (err) { - return -ENOTSUP; - } + sdc_support_ext_scan(); } else { - err = sdc_support_scan(); - if (err) { - return -ENOTSUP; - } + sdc_support_scan(); } } if (IS_ENABLED(CONFIG_BT_PER_ADV_SYNC)) { - err = sdc_support_le_periodic_sync(); - if (err) { - return -ENOTSUP; - } + sdc_support_le_periodic_sync(); } } if (IS_ENABLED(CONFIG_BT_CENTRAL)) { if (IS_ENABLED(CONFIG_BT_CTLR_ADV_EXT)) { - err = sdc_support_ext_central(); - if (err) { - return -ENOTSUP; - } + sdc_support_ext_central(); } else { - err = sdc_support_central(); - if (err) { - return -ENOTSUP; - } + sdc_support_central(); } } if (IS_ENABLED(CONFIG_BT_CTLR_DATA_LENGTH)) { if (IS_ENABLED(CONFIG_BT_CENTRAL)) { - err = sdc_support_dle_central(); - if (err) { - return -ENOTSUP; - } + sdc_support_dle_central(); } if (IS_ENABLED(CONFIG_BT_PERIPHERAL)) { - err = sdc_support_dle_peripheral(); - if (err) { - return -ENOTSUP; - } + sdc_support_dle_peripheral(); } } if (IS_ENABLED(CONFIG_BT_CTLR_PHY_2M)) { - err = sdc_support_le_2m_phy(); - if (err) { - return -ENOTSUP; - } + sdc_support_le_2m_phy(); if (IS_ENABLED(CONFIG_BT_CENTRAL)) { - err = sdc_support_phy_update_central(); - if (err) { - return -ENOTSUP; - } + sdc_support_phy_update_central(); } if (IS_ENABLED(CONFIG_BT_PERIPHERAL)) { - err = sdc_support_phy_update_peripheral(); - if (err) { - return -ENOTSUP; - } + sdc_support_phy_update_peripheral(); } } if (IS_ENABLED(CONFIG_BT_CTLR_SYNC_TRANSFER_SENDER)) { if (IS_ENABLED(CONFIG_BT_CENTRAL)) { - err = sdc_support_periodic_adv_sync_transfer_sender_central(); - if (err) { - return -ENOTSUP; - } + sdc_support_periodic_adv_sync_transfer_sender_central(); } if (IS_ENABLED(CONFIG_BT_PERIPHERAL)) { - err = sdc_support_periodic_adv_sync_transfer_sender_peripheral(); - if (err) { - return -ENOTSUP; - } + sdc_support_periodic_adv_sync_transfer_sender_peripheral(); } } if (IS_ENABLED(CONFIG_BT_CTLR_SYNC_TRANSFER_RECEIVER)) { if (IS_ENABLED(CONFIG_BT_CENTRAL)) { - err = sdc_support_periodic_adv_sync_transfer_receiver_central(); - if (err) { - return -ENOTSUP; - } + sdc_support_periodic_adv_sync_transfer_receiver_central(); } if (IS_ENABLED(CONFIG_BT_PERIPHERAL)) { - err = sdc_support_periodic_adv_sync_transfer_receiver_peripheral(); - if (err) { - return -ENOTSUP; - } + sdc_support_periodic_adv_sync_transfer_receiver_peripheral(); } } if (IS_ENABLED(CONFIG_BT_CTLR_PHY_CODED)) { - err = sdc_support_le_coded_phy(); - if (err) { - return -ENOTSUP; - } + sdc_support_le_coded_phy(); if (IS_ENABLED(CONFIG_BT_CENTRAL)) { - err = sdc_support_phy_update_central(); - if (err) { - return -ENOTSUP; - } + sdc_support_phy_update_central(); } if (IS_ENABLED(CONFIG_BT_PERIPHERAL)) { - err = sdc_support_phy_update_peripheral(); - if (err) { - return -ENOTSUP; - } + sdc_support_phy_update_peripheral(); } } if (IS_ENABLED(CONFIG_BT_CTLR_DF_CONN_CTE_RSP) && IS_ENABLED(CONFIG_BT_CENTRAL)) { - err = sdc_support_le_conn_cte_rsp_central(); - if (err) { - return -ENOTSUP; - } + sdc_support_le_conn_cte_rsp_central(); } if (IS_ENABLED(CONFIG_BT_CTLR_DF_CONN_CTE_RSP) && IS_ENABLED(CONFIG_BT_PERIPHERAL)) { - err = sdc_support_le_conn_cte_rsp_peripheral(); - if (err) { - return -ENOTSUP; - } + sdc_support_le_conn_cte_rsp_peripheral(); } if (IS_ENABLED(CONFIG_BT_CTLR_DF_ADV_CTE_TX)) { - err = sdc_support_le_connectionless_cte_transmitter(); - if (err) { - return -ENOTSUP; - } + sdc_support_le_connectionless_cte_transmitter(); } if (IS_ENABLED(CONFIG_BT_CTLR_LE_POWER_CONTROL)) { if (IS_ENABLED(CONFIG_BT_CENTRAL)) { - err = sdc_support_le_power_control_central(); - if (err) { - return -ENOTSUP; - } + sdc_support_le_power_control_central(); } if (IS_ENABLED(CONFIG_BT_PERIPHERAL)) { - err = sdc_support_le_power_control_peripheral(); - if (err) { - return -ENOTSUP; - } + sdc_support_le_power_control_peripheral(); } if (IS_ENABLED(CONFIG_BT_CTLR_LE_PATH_LOSS_MONITORING)) { - err = sdc_support_le_path_loss_monitoring(); - if (err) { - return -ENOTSUP; - } + sdc_support_le_path_loss_monitoring(); } } if (IS_ENABLED(CONFIG_BT_CTLR_SCA_UPDATE)) { if (IS_ENABLED(CONFIG_BT_CENTRAL)) { - err = sdc_support_sca_central(); - if (err) { - return -ENOTSUP; - } + sdc_support_sca_central(); } if (IS_ENABLED(CONFIG_BT_PERIPHERAL)) { - err = sdc_support_sca_peripheral(); - if (err) { - return -ENOTSUP; - } + sdc_support_sca_peripheral(); } } if (IS_ENABLED(CONFIG_BT_CTLR_SDC_QOS_CHANNEL_SURVEY)) { - err = sdc_support_qos_channel_survey(); - if (err) { - return -ENOTSUP; - } + sdc_support_qos_channel_survey(); } if (IS_ENABLED(CONFIG_BT_CTLR_SDC_PAWR_ADV)) { - err = sdc_support_le_periodic_adv_with_rsp(); - if (err) { - return -ENOTSUP; - } + sdc_support_le_periodic_adv_with_rsp(); } if (IS_ENABLED(CONFIG_BT_CTLR_SDC_PAWR_SYNC)) { - err = sdc_support_le_periodic_sync_with_rsp(); - if (err) { - return -ENOTSUP; - } + sdc_support_le_periodic_sync_with_rsp(); } if (IS_ENABLED(CONFIG_BT_CTLR_PERIPHERAL_ISO)) { - err = sdc_support_cis_peripheral(); - if (err) { - return -ENOTSUP; - } + sdc_support_cis_peripheral(); } if (IS_ENABLED(CONFIG_BT_CTLR_CENTRAL_ISO)) { - err = sdc_support_cis_central(); - if (err) { - return -ENOTSUP; - } + sdc_support_cis_central(); } if (IS_ENABLED(CONFIG_BT_CTLR_ADV_ISO)) { - err = sdc_support_bis_source(); - if (err) { - return -ENOTSUP; - } + sdc_support_bis_source(); } if (IS_ENABLED(CONFIG_BT_CTLR_SDC_IGNORE_HCI_ISO_DATA_TS_FROM_HOST)) { - err = sdc_iso_host_timestamps_ignore(true); - if (err) { - return -ENOTSUP; - } + sdc_iso_host_timestamps_ignore(true); } if (IS_ENABLED(CONFIG_BT_CTLR_SYNC_ISO)) { - err = sdc_support_bis_sink(); - if (err) { - return -ENOTSUP; - } + sdc_support_bis_sink(); } #if defined(CONFIG_BT_CTLR_SDC_ALLOW_PARALLEL_SCANNING_AND_INITIATING) - err = sdc_support_parallel_scanning_and_initiating(); - if (err) { - return -ENOTSUP; - } + sdc_support_parallel_scanning_and_initiating(); #endif if (IS_ENABLED(CONFIG_BT_CTLR_SUBRATING)) { if (IS_ENABLED(CONFIG_BT_CENTRAL)) { - err = sdc_support_connection_subrating_central(); - if (err) { - return -ENOTSUP; - } + sdc_support_connection_subrating_central(); } if (IS_ENABLED(CONFIG_BT_PERIPHERAL)) { - err = sdc_support_connection_subrating_peripheral(); - if (err) { - return -ENOTSUP; - } + sdc_support_connection_subrating_peripheral(); } } if (IS_ENABLED(CONFIG_BT_CTLR_FRAME_SPACE_UPDATE)) { if (IS_ENABLED(CONFIG_BT_CENTRAL)) { - err = sdc_support_frame_space_update_central(); - if (err) { - return -ENOTSUP; - } + sdc_support_frame_space_update_central(); } if (IS_ENABLED(CONFIG_BT_PERIPHERAL)) { - err = sdc_support_frame_space_update_peripheral(); - if (err) { - return -ENOTSUP; - } + sdc_support_frame_space_update_peripheral(); } } if (IS_ENABLED(CONFIG_BT_CTLR_EXTENDED_FEAT_SET)) { - err = sdc_support_extended_feature_set(); - if (err) { - return -ENOTSUP; - } + sdc_support_extended_feature_set(); } if (IS_ENABLED(CONFIG_BT_CTLR_CHANNEL_SOUNDING_TEST)) { - err = sdc_support_channel_sounding_test(); - if (err) { - return -ENOTSUP; - } + sdc_support_channel_sounding_test(); } if (IS_ENABLED(CONFIG_BT_CTLR_CHANNEL_SOUNDING)) { + sdc_support_channel_sounding(); #if defined(CONFIG_BT_CTLR_SDC_CS_MULTIPLE_ANTENNA_SUPPORT) - err = sdc_support_channel_sounding(cs_antenna_switch_func); + sdc_cs_antenna_switch_callback_set(cs_antenna_switch_func); cs_antenna_switch_init(); -#else - err = sdc_support_channel_sounding(NULL); #endif - if (err) { - return -ENOTSUP; - } } if (IS_ENABLED(CONFIG_BT_CTLR_SDC_CS_STEP_MODE3)) { - err = sdc_support_channel_sounding_mode3(); - if (err) { - return -ENOTSUP; - } + sdc_support_channel_sounding_mode3(); } if (IS_ENABLED(CONFIG_BT_CTLR_SDC_CS_ROLE_INITIATOR_ONLY) || IS_ENABLED(CONFIG_BT_CTLR_SDC_CS_ROLE_BOTH)) { - err = sdc_support_channel_sounding_initiator_role(); - if (err) { - return -ENOTSUP; - } + sdc_support_channel_sounding_initiator_role(); } if (IS_ENABLED(CONFIG_BT_CTLR_SDC_CS_ROLE_REFLECTOR_ONLY) || IS_ENABLED(CONFIG_BT_CTLR_SDC_CS_ROLE_BOTH)) { - err = sdc_support_channel_sounding_reflector_role(); - if (err) { - return -ENOTSUP; - } + sdc_support_channel_sounding_reflector_role(); } if (IS_ENABLED(CONFIG_BT_CTLR_SDC_LE_POWER_CLASS_1)) { - err = sdc_support_le_power_class_1(); - if (err) { - return -ENOTSUP; - } + sdc_support_le_power_class_1(); } if (IS_ENABLED(CONFIG_BT_CTLR_PRIVACY)) { - err = sdc_support_le_privacy(); - if (err) { - return -ENOTSUP; - } + sdc_support_le_privacy(); } - - return 0; } static int configure_memory_usage(void) @@ -1618,10 +1462,7 @@ static int hci_driver_init(const struct device *dev) return err; } - err = configure_supported_features(); - if (err) { - return err; - } + configure_supported_features(); err = configure_memory_usage(); if (err) { diff --git a/subsys/bootloader/bl_crypto/bl_crypto_cc310_common.c b/subsys/bootloader/bl_crypto/bl_crypto_cc310_common.c index 281ca2dc12f0..9846c5540d6d 100644 --- a/subsys/bootloader/bl_crypto/bl_crypto_cc310_common.c +++ b/subsys/bootloader/bl_crypto/bl_crypto_cc310_common.c @@ -8,7 +8,7 @@ #include #include #include -#include +#include #include #include diff --git a/subsys/bootloader/bl_storage/bl_storage.c b/subsys/bootloader/bl_storage/bl_storage.c index 4596fa400a06..db26b2816198 100644 --- a/subsys/bootloader/bl_storage/bl_storage.c +++ b/subsys/bootloader/bl_storage/bl_storage.c @@ -8,7 +8,7 @@ #include #include #include -#include +#include #include #if !defined(CONFIG_BUILD_WITH_TFM) #include diff --git a/subsys/esb/esb.c b/subsys/esb/esb.c index be8ec038c935..8f93721501ea 100644 --- a/subsys/esb/esb.c +++ b/subsys/esb/esb.c @@ -4,11 +4,10 @@ * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause */ #include -#include +#include #include #include #include -#include #include #include diff --git a/subsys/mpsl/clock_ctrl/mpsl_clock_ctrl.c b/subsys/mpsl/clock_ctrl/mpsl_clock_ctrl.c index 0bb03da3b8dc..eac65d6914c1 100644 --- a/subsys/mpsl/clock_ctrl/mpsl_clock_ctrl.c +++ b/subsys/mpsl/clock_ctrl/mpsl_clock_ctrl.c @@ -15,6 +15,7 @@ #include #include "mpsl_clock_ctrl.h" +#include "nrf_errno.h" LOG_MODULE_REGISTER(mpsl_clock_ctrl, CONFIG_MPSL_LOG_LEVEL); diff --git a/subsys/mpsl/hwres/CMakeLists.txt b/subsys/mpsl/hwres/CMakeLists.txt index 1429ecfe292e..fd9a0d27a1f0 100644 --- a/subsys/mpsl/hwres/CMakeLists.txt +++ b/subsys/mpsl/hwres/CMakeLists.txt @@ -6,4 +6,4 @@ zephyr_library() -zephyr_library_sources(mpsl_hwres.c) +zephyr_library_sources(mpsl_dppi.c) diff --git a/subsys/mpsl/hwres/mpsl_hwres.c b/subsys/mpsl/hwres/mpsl_dppi.c similarity index 98% rename from subsys/mpsl/hwres/mpsl_hwres.c rename to subsys/mpsl/hwres/mpsl_dppi.c index 5318403f8695..7ec3a2013ddc 100644 --- a/subsys/mpsl/hwres/mpsl_hwres.c +++ b/subsys/mpsl/hwres/mpsl_dppi.c @@ -4,7 +4,7 @@ * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause */ -#include +#include #if defined(DPPI_PRESENT) #include #endif diff --git a/subsys/mpsl/init/mpsl_init.c b/subsys/mpsl/init/mpsl_init.c index c3cb98f4b5ce..862795b58bd5 100644 --- a/subsys/mpsl/init/mpsl_init.c +++ b/subsys/mpsl/init/mpsl_init.c @@ -432,10 +432,6 @@ static int32_t mpsl_lib_init_internal(void) mpsl_clock_hfclk_latency_set(CONFIG_MPSL_HFCLK_LATENCY); #endif /* CONFIG_CLOCK_CONTROL_NRF && DT_NODE_EXISTS(DT_NODELABEL(hfxo)) */ #endif /* !CONFIG_MPSL_USE_EXTERNAL_CLOCK_CONTROL */ - if (IS_ENABLED(CONFIG_SOC_NRF_FORCE_CONSTLAT) && - !IS_ENABLED(CONFIG_SOC_COMPATIBLE_NRF54LX)) { - mpsl_pan_rfu(); - } #if MPSL_TIMESLOT_SESSION_COUNT > 0 err = mpsl_timeslot_session_count_set((void *) timeslot_context, diff --git a/subsys/nfc/lib/platform.c b/subsys/nfc/lib/platform.c index 4ca00fb83b47..c6c86d20a3ff 100644 --- a/subsys/nfc/lib/platform.c +++ b/subsys/nfc/lib/platform.c @@ -18,8 +18,6 @@ #include #include -#include - #include #include #include diff --git a/subsys/nrf_security/src/drivers/cracen/common/include/security/cracen.h b/subsys/nrf_security/src/drivers/cracen/common/include/security/cracen.h index 8096193eb88c..0a0c8a374676 100644 --- a/subsys/nrf_security/src/drivers/cracen/common/include/security/cracen.h +++ b/subsys/nrf_security/src/drivers/cracen/common/include/security/cracen.h @@ -16,7 +16,7 @@ #include #include -#include +#include #include diff --git a/subsys/nrf_security/src/drivers/cracen/cracenpsa/src/lib_kmu.c b/subsys/nrf_security/src/drivers/cracen/cracenpsa/src/lib_kmu.c index a6fc0028b126..d3633722c4b0 100644 --- a/subsys/nrf_security/src/drivers/cracen/cracenpsa/src/lib_kmu.c +++ b/subsys/nrf_security/src/drivers/cracen/cracenpsa/src/lib_kmu.c @@ -10,7 +10,7 @@ #include -#include +#include #if defined(CONFIG_SOC_SERIES_NRF54LX) #include diff --git a/subsys/nrf_security/src/drivers/cracen/sxsymcrypt/src/hw.h b/subsys/nrf_security/src/drivers/cracen/sxsymcrypt/src/hw.h index d736cf2c6af1..036832f8dcd9 100644 --- a/subsys/nrf_security/src/drivers/cracen/sxsymcrypt/src/hw.h +++ b/subsys/nrf_security/src/drivers/cracen/sxsymcrypt/src/hw.h @@ -8,7 +8,7 @@ #define HW_HEADER_FILE #include -#include +#include #include #include #include diff --git a/west.yml b/west.yml index 80c46100bc5f..62ef58d91c1d 100644 --- a/west.yml +++ b/west.yml @@ -66,7 +66,7 @@ manifest: # https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/guides/modules.html - name: zephyr repo-path: sdk-zephyr - revision: 079d80388a6240f572442ce7021f1aab31a56139 + revision: pull/3355/head import: # In addition to the zephyr repository itself, NCS also # imports the contents of zephyr/west.yml at the above @@ -146,7 +146,7 @@ manifest: - name: nrfxlib repo-path: sdk-nrfxlib path: nrfxlib - revision: 94ffaf29bf10ebb934907d3b87f82239678fb91a + revision: pull/1878/head - name: trusted-firmware-m repo-path: sdk-trusted-firmware-m path: modules/tee/tf-m/trusted-firmware-m @@ -280,7 +280,7 @@ manifest: path: nrfx groups: - nrfx - revision: 7ed74ac12ab94f561af820da8fb7089a0323e6de + revision: pull/977/head # West-related configuration for the nrf repository. self: