Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions boards/nordic/nrf7120pdk/board.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@

#include <zephyr/device.h>
#include <zephyr/platform/hooks.h>
#include "nrf7120_enga_types.h"
#include "nrf7120_enga_global.h"
#include <nrfx.h>

#if CONFIG_BOARD_EARLY_INIT_HOOK
/* Temporary workaround while VPR does not handle starting clocks */
Expand Down
2 changes: 1 addition & 1 deletion include/bl_storage.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#include <string.h>
#include <zephyr/types.h>
#include <zephyr/autoconf.h>
#include <drivers/nrfx_common.h>
#include <nrfx.h>
#if defined(CONFIG_NRFX_NVMC)
#include <nrfx_nvmc.h>
#elif defined(CONFIG_NRFX_RRAMC)
Expand Down
2 changes: 1 addition & 1 deletion include/drivers/gpio/hpf_gpio.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#ifndef HPF_GPIO_H
#define HPF_GPIO_H

#include <drivers/nrfx_common.h>
#include <nrfx.h>
#include <hpf/hpf_common.h>

#ifdef __cplusplus
Expand Down
2 changes: 1 addition & 1 deletion include/esb.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#include <stdbool.h>
#include <errno.h>

#include <nrf.h>
#include <nrfx.h>
#include <hal/nrf_radio.h>

#include <zephyr/sys/util.h>
Expand Down
2 changes: 1 addition & 1 deletion include/tfm/tfm_builtin_key_ids.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#ifndef __TFM_BUILTIN_KEY_IDS_H__
#define __TFM_BUILTIN_KEY_IDS_H__

#include <nrf.h>
#include <nrfx.h>

#if defined(NRF_CRACENCORE) || defined(CONFIG_CRACEN_HW_PRESENT)

Expand Down
2 changes: 1 addition & 1 deletion lib/fem_al/fem_al.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#ifdef DPPI_PRESENT
#include <nrfx_dppi.h>
#endif
#include <nrf_erratas.h>
#include <nrfx.h>

#include <zephyr/sys/printk.h>

Expand Down
2 changes: 1 addition & 1 deletion lib/flash_patch/flash_patch.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
*/

#include <nrf.h>
#include <nrfx.h>
#include <zephyr/sys/reboot.h>
#include <zephyr/init.h>

Expand Down
2 changes: 1 addition & 1 deletion lib/fprotect/fprotect_bprot.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
*/

#include <nrf.h>
#include <nrfx.h>
#if defined(NRF_BPROT)
#include <hal/nrf_bprot.h>
#define PROTECT nrf_bprot_nvm_blocks_protection_enable
Expand Down
2 changes: 1 addition & 1 deletion lib/fprotect/fprotect_rram.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#include <string.h>
#include <errno.h>
#include <soc.h>
#include <nrf_erratas.h>
#include <nrfx.h>
#include <hal/nrf_rramc.h>

#define RRAMC_REGION_FOR_FPROTECT_DEFAULT_VALUE 0x0000000f
Expand Down
2 changes: 1 addition & 1 deletion lib/fprotect/fprotect_spu.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include <hal/nrf_spu.h>
#include <errno.h>
#include <soc.h>
#include <nrf_erratas.h>
#include <nrfx.h>


#define SPU_BLOCK_SIZE CONFIG_FPROTECT_BLOCK_SIZE
Expand Down
1 change: 0 additions & 1 deletion lib/hw_unique_key/hw_unique_key_cc3xx_kmu.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
#include <nrfx.h>
#include <nrfx_nvmc.h>

#include <mdk/nrf_erratas.h>
#include <zephyr/logging/log.h>

#define KMU_KEYSLOT_SIZE_WORDS 4
Expand Down
2 changes: 1 addition & 1 deletion lib/nrf_modem_lib/nrf_modem_os.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include <zephyr/kernel.h>
#include <nrf_modem.h>
#include <nrf_modem_os.h>
#include <nrf.h>
#include <nrfx.h>
#include <nrf_errno.h>
#include <errno.h>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#include <stdbool.h>
#include <stdint.h>

#include "nrf.h"
#include "nrfx.h"
#include "hal/nrf_timer.h"

#include "nrf_802154_sl_periphs.h"
Expand Down
2 changes: 1 addition & 1 deletion modules/trusted-firmware-m/tfm_boards/board/RTE_Device.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

#include <nrf-pinctrl.h>

#include <nrf.h>
#include <nrfx.h>

#define UART_PIN_INIT(node_id, prop, idx) DT_PROP_BY_IDX(node_id, prop, idx),

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

#include <tfm_ioctl_core_api.h>

#include "nrf.h"
#include "nrfx.h"

/*
* On platforms like nrf53 we provide a service for reading out
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
#include <cmsis.h>
#include <tfm_spm_log.h>
#include <mpu_armv8m_drv.h>
#include <nrf.h>
#include <nrf_peripherals.h>
#include <nrfx.h>
#include <array.h>
#include <nrfx_nvmc.h>

Expand Down
2 changes: 1 addition & 1 deletion samples/benchmarks/coremark/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include <zephyr/logging/log.h>
#include <zephyr/drivers/gpio.h>
#include <zephyr/drivers/misc/coresight/nrf_etr.h>
#include <system_nrf.h>
#include <nrfx.h>

#include "coremark_zephyr.h"

Expand Down
11 changes: 1 addition & 10 deletions samples/bluetooth/conn_time_sync/src/controller_time_nrf54.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,7 @@ int controller_time_init(void)

uint64_t controller_time_us_get(void)
{
int ret;
uint64_t current_time_us;

ret = nrfx_grtc_syscounter_get(&current_time_us);
if (ret != NRFX_SUCCESS) {
printk("Failed obtaining system time (ret: %d)\n", ret - NRFX_ERROR_BASE_NUM);
return 0;
}

return current_time_us;
return nrfx_grtc_syscounter_get();
}

void controller_time_trigger_set(uint64_t timestamp_us)
Expand Down
1 change: 0 additions & 1 deletion samples/bluetooth/direct_test_mode/src/dtm.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
#include <helpers/nrfx_gppi.h>
#include <nrfx_timer.h>

#include <nrf_erratas.h>
#if NRF54L_ERRATA_20_PRESENT
#include <hal/nrf_power.h>
#endif /* NRF54L_ERRATA_20_PRESENT */
Expand Down
2 changes: 1 addition & 1 deletion samples/bluetooth/direct_test_mode/src/dtm_hw.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
11 changes: 1 addition & 10 deletions samples/bluetooth/iso_time_sync/src/controller_time_nrf54.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,7 @@ int controller_time_init(void)

uint64_t controller_time_us_get(void)
{
int ret;
uint64_t current_time_us;

ret = nrfx_grtc_syscounter_get(&current_time_us);
if (ret != NRFX_SUCCESS) {
printk("Failed obtaining system time (ret: %d)\n", ret - NRFX_ERROR_BASE_NUM);
return 0;
}

return current_time_us;
return nrfx_grtc_syscounter_get();
}

void controller_time_trigger_set(uint64_t timestamp_us)
Expand Down
2 changes: 1 addition & 1 deletion samples/crypto/psa_tls/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
*/

#include <nrf.h>
#include <nrfx.h>
#include <zephyr/kernel.h>
#include <zephyr/logging/log.h>
#include <zephyr/net/tls_credentials.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(psa_tls_credentials_client_non_secure);

#include <nrf.h>
#include <nrfx.h>
#include <errno.h>
#include <zephyr/kernel.h>
#include <zephyr/net/socket.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(psa_tls_credentials_server_non_secure);

#include <nrf.h>
#include <nrfx.h>
#include <errno.h>
#include <zephyr/kernel.h>
#include <zephyr/net/socket.h>
Expand Down
2 changes: 1 addition & 1 deletion samples/crypto/psa_tls/src/psa_dtls_functions_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(psa_dtls_client);

#include <nrf.h>
#include <nrfx.h>
#include <errno.h>
#include <zephyr/kernel.h>
#include <zephyr/net/socket.h>
Expand Down
2 changes: 1 addition & 1 deletion samples/crypto/psa_tls/src/psa_dtls_functions_server.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(psa_dtls_server);

#include <nrf.h>
#include <nrfx.h>
#include <errno.h>
#include <zephyr/kernel.h>
#include <zephyr/net/socket.h>
Expand Down
2 changes: 1 addition & 1 deletion samples/crypto/psa_tls/src/psa_tls_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
*/

#include <nrf.h>
#include <nrfx.h>
#include <errno.h>
#include <zephyr/kernel.h>
#include <zephyr/net/socket.h>
Expand Down
2 changes: 1 addition & 1 deletion samples/crypto/psa_tls/src/psa_tls_functions_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(psa_tls_client);

#include <nrf.h>
#include <nrfx.h>
#include <errno.h>
#include <zephyr/kernel.h>
#include <zephyr/net/socket.h>
Expand Down
2 changes: 1 addition & 1 deletion samples/crypto/psa_tls/src/psa_tls_functions_server.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(psa_tls_server);

#include <nrf.h>
#include <nrfx.h>
#include <errno.h>
#include <zephyr/kernel.h>
#include <zephyr/net/socket.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(psa_tls_credentials_client_secure);

#include <nrf.h>
#include <nrfx.h>
#include <zephyr/kernel.h>
#include <zephyr/linker/sections.h>
#include <zephyr/net/tls_credentials.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(psa_tls_credentials_server_secure);

#include <nrf.h>
#include <nrfx.h>
#include <zephyr/kernel.h>
#include <zephyr/linker/sections.h>
#include <zephyr/net/tls_credentials.h>
Expand Down
3 changes: 1 addition & 2 deletions samples/esb/esb_monitor/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,14 @@
#include <zephyr/drivers/gpio.h>
#include <zephyr/irq.h>
#include <zephyr/logging/log.h>
#include <nrf.h>
#include <nrfx.h>
#include <esb.h>
#include <zephyr/kernel.h>
#include <zephyr/types.h>
#include <dk_buttons_and_leds.h>
#if defined(CONFIG_CLOCK_CONTROL_NRF2)
#include <hal/nrf_lrcconf.h>
#endif
#include <nrf_erratas.h>
#if NRF54L_ERRATA_20_PRESENT
#include <hal/nrf_power.h>
#endif /* NRF54L_ERRATA_20_PRESENT */
Expand Down
3 changes: 1 addition & 2 deletions samples/esb/esb_prx/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,14 @@
#include <zephyr/drivers/gpio.h>
#include <zephyr/irq.h>
#include <zephyr/logging/log.h>
#include <nrf.h>
#include <nrfx.h>
#include <esb.h>
#include <zephyr/kernel.h>
#include <zephyr/types.h>
#include <dk_buttons_and_leds.h>
#if defined(CONFIG_CLOCK_CONTROL_NRF2)
#include <hal/nrf_lrcconf.h>
#endif
#include <nrf_erratas.h>
#if NRF54L_ERRATA_20_PRESENT
#include <hal/nrf_power.h>
#endif /* NRF54L_ERRATA_20_PRESENT */
Expand Down
3 changes: 1 addition & 2 deletions samples/esb/esb_ptx/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#include <zephyr/drivers/gpio.h>
#include <zephyr/irq.h>
#include <zephyr/logging/log.h>
#include <nrf.h>
#include <nrfx.h>
#include <esb.h>
#include <zephyr/device.h>
#include <zephyr/devicetree.h>
Expand All @@ -18,7 +18,6 @@
#if defined(CONFIG_CLOCK_CONTROL_NRF2)
#include <hal/nrf_lrcconf.h>
#endif
#include <nrf_erratas.h>
#if NRF54L_ERRATA_20_PRESENT
#include <hal/nrf_power.h>
#endif /* NRF54L_ERRATA_20_PRESENT */
Expand Down
1 change: 0 additions & 1 deletion samples/nrf5340/empty_app_core/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
1 change: 0 additions & 1 deletion samples/nrf5340/empty_app_core/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
#include <zephyr/kernel.h>
#include <zephyr/drivers/gpio.h>
#include <zephyr/init.h>
#include <nrf.h>
#include <nrfx.h>

#define LFXO_NODE DT_NODELABEL(lfxo)
Expand Down
2 changes: 1 addition & 1 deletion samples/peripheral/radio_test/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#if defined(CONFIG_CLOCK_CONTROL_NRF2)
#include <hal/nrf_lrcconf.h>
#endif
#include <nrf_erratas.h>
#include <nrfx.h>
#if NRF54L_ERRATA_20_PRESENT
#include <hal/nrf_power.h>
#endif /* NRF54L_ERRATA_20_PRESENT */
Expand Down
1 change: 0 additions & 1 deletion samples/peripheral/radio_test/src/radio_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
#include "fem_al/fem_al.h"
#endif /* CONFIG_FEM */

#include <nrf_erratas.h>
#if NRF54H_ERRATA_216_PRESENT
#include <zephyr/drivers/mbox.h>
#endif /* NRF54H_ERRATA_216_PRESENT */
Expand Down
Loading
Loading