include: always use <> for Zephyr includes

Double quotes "" should only be used for local headers.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
This commit is contained in:
Gerard Marull-Paretas 2023-09-14 11:07:22 +02:00 committed by Carles Cufí
parent 94cc1bf455
commit 691facc20f
59 changed files with 86 additions and 86 deletions

View file

@ -12,7 +12,7 @@
* the migration towards the Native simulator.
*/
#include "zephyr/arch/posix/posix_trace.h"
#include <zephyr/arch/posix/posix_trace.h>
void nsi_print_error_and_exit(const char *format, ...)
{

View file

@ -9,7 +9,7 @@
#define BOARDS_POSIX_COMMON_BOARD_IRQ_H
#include <zephyr/sw_isr_table.h>
#include "zephyr/types.h"
#include <zephyr/types.h>
#ifdef __cplusplus
extern "C" {

View file

@ -8,7 +8,7 @@
#include <stdlib.h>
#include <string.h>
#include "cmdline_common.h"
#include "zephyr/types.h"
#include <zephyr/types.h>
#include "hw_models_top.h"
#include "timer_model.h"
#include "cmdline.h"

View file

@ -12,7 +12,7 @@
#include <math.h>
#include <zephyr/arch/posix/posix_trace.h>
#include "posix_board_if.h"
#include "zephyr/types.h"
#include <zephyr/types.h>
#include "cmdline_common.h"
/**

View file

@ -7,7 +7,7 @@
#ifndef _NATIVE_POSIX_HW_MODELS_H
#define _NATIVE_POSIX_HW_MODELS_H
#include "zephyr/types.h"
#include <zephyr/types.h>
#include <inttypes.h>
#ifdef __cplusplus

View file

@ -14,7 +14,7 @@
#include <zephyr/arch/posix/arch.h> /* for find_lsb_set() */
#include "board_soc.h"
#include "posix_soc.h"
#include "zephyr/types.h"
#include <zephyr/types.h>
uint64_t irq_ctrl_timer = NEVER;

View file

@ -15,7 +15,7 @@
#include "hw_models_top.h"
#include <stdbool.h>
#include "zephyr/types.h"
#include <zephyr/types.h>
#ifdef __cplusplus
extern "C" {

View file

@ -25,7 +25,7 @@
#include "hw_models_top.h"
#include "irq_ctrl.h"
#include "board_soc.h"
#include "zephyr/types.h"
#include <zephyr/types.h>
#include <zephyr/arch/posix/posix_trace.h>
#include <zephyr/sys/util.h>
#include "cmdline.h"

View file

@ -7,7 +7,7 @@
#ifndef BOARDS_POSIX_NRF52_BSIM_BOARD_IRQ_H
#define BOARDS_POSIX_NRF52_BSIM_BOARD_IRQ_H
#include "zephyr/types.h"
#include <zephyr/types.h>
#include "../common/irq/board_irq.h"
#ifdef __cplusplus

View file

@ -8,7 +8,7 @@
#include "bs_types.h"
#include "time_machine_if.h"
#include "zephyr/toolchain.h"
#include <zephyr/toolchain.h>
#ifdef __cplusplus
extern "C" {

View file

@ -21,7 +21,7 @@
#include <zephyr/init.h>
#include <zephyr/sys/byteorder.h>
#include <zephyr/sys/util.h>
#include "zephyr/logging/log.h"
#include <zephyr/logging/log.h>
#define BT_DBG_ENABLED IS_ENABLED(CONFIG_BT_DEBUG_HCI_DRIVER)
#define LOG_LEVEL CONFIG_BT_HCI_DRIVER_LOG_LEVEL

View file

@ -12,7 +12,7 @@
#include <zephyr/crypto/crypto.h>
#include <zephyr/drivers/clock_control.h>
#include <zephyr/drivers/clock_control/mchp_xec_clock_control.h>
#include "zephyr/sys/util.h"
#include <zephyr/sys/util.h>
#include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(xec_symcr, CONFIG_CRYPTO_LOG_LEVEL);

View file

@ -4,7 +4,7 @@
*/
#include <zephyr/net/ethernet.h>
#include "zephyr/net/phy.h"
#include <zephyr/net/phy.h>
#include <zephyr/arch/cpu.h>
#include <zephyr/sys_clock.h>
#include <zephyr/drivers/mdio.h>

View file

@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include "zephyr/rtio/rtio.h"
#include <zephyr/rtio/rtio.h>
#include <zephyr/drivers/i2c.h>
#include <zephyr/rtio/rtio_spsc.h>
#include <zephyr/sys/__assert.h>

View file

@ -6,7 +6,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include "zephyr/spinlock.h"
#include <zephyr/spinlock.h>
#define DT_DRV_COMPAT atmel_sam_i2c_twihs
/** @file

View file

@ -11,7 +11,7 @@ extern "C" {
#endif
#include "sedi_driver_common.h"
#include "sedi_driver_ipc.h"
#include "zephyr/sys/atomic.h"
#include <zephyr/sys/atomic.h>
/*
* bit 31 indicates whether message is valid, and could generate interrupt

View file

@ -14,7 +14,7 @@
#include <zephyr/pm/device.h>
#include <zephyr/sys/byteorder.h>
#include "zephyr/drivers/sensor/veml7700.h"
#include <zephyr/drivers/sensor/veml7700.h>
LOG_MODULE_REGISTER(VEML7700, CONFIG_SENSOR_LOG_LEVEL);

View file

@ -10,7 +10,7 @@
* It also provides a custom k_busy_wait() which can be used with the
* POSIX arch and InfClock SOC
*/
#include "zephyr/types.h"
#include <zephyr/types.h>
#include <zephyr/irq.h>
#include <zephyr/init.h>
#include <zephyr/drivers/timer/system_timer.h>

View file

@ -8,7 +8,7 @@
#define ZEPHYR_ARCH_X86_INCLUDE_ACPI_OSAL_H_
#if defined(CONFIG_X86 || CONFIG_X86_64)
#include "zephyr/acpi/x86_acpi_osal.h"
#include <zephyr/acpi/x86_acpi_osal.h>
#else
#error "Currently only x86 Architecture support ACPI !!"
#endif

View file

@ -18,7 +18,7 @@
#define ZEPHYR_INCLUDE_NET_NET_TIME_H_
/* Include required for NSEC_PER_* constants. */
#include "zephyr/sys_clock.h"
#include <zephyr/sys_clock.h>
#ifdef __cplusplus
extern "C" {

View file

@ -6,7 +6,7 @@
#ifndef _POSIX_CORE_BOARD_PROVIDED_IF_H
#define _POSIX_CORE_BOARD_PROVIDED_IF_H
#include "zephyr/types.h"
#include <zephyr/types.h>
/*
* This file lists the functions the posix "inf_clock" soc

View file

@ -15,7 +15,7 @@
#include <zephyr/bluetooth/bluetooth.h>
#include <zephyr/bluetooth/conn.h>
#include <zephyr/bluetooth/gatt.h>
#include "zephyr/bluetooth/iso.h"
#include <zephyr/bluetooth/iso.h>
#include <zephyr/bluetooth/audio/audio.h>
#include <zephyr/bluetooth/audio/bap.h>
#include <zephyr/bluetooth/audio/pacs.h>

View file

@ -19,7 +19,7 @@
#include "audio_internal.h"
#include "vocs_internal.h"
#include "zephyr/bluetooth/audio/audio.h"
#include <zephyr/bluetooth/audio/audio.h>
#define LOG_LEVEL CONFIG_BT_VOCS_LOG_LEVEL
#include <zephyr/logging/log.h>

View file

@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include "zephyr/kernel.h"
#include <zephyr/kernel.h>
#include <stdbool.h>
#include <zephyr/rtio/rtio.h>
#include <zephyr/syscall_handler.h>

View file

@ -5,7 +5,7 @@
#include <zephyr/ztest.h>
#include "zephyr/arch/arm64/arm-smccc.h"
#include <zephyr/arch/arm64/arm-smccc.h>
/* SMC function IDs for Standard Service queries */
#define ARM_STD_SMC_CALL_COUNT 0x8400ff00UL

View file

@ -2,7 +2,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include "zephyr/ztest_assert.h"
#include <zephyr/ztest_assert.h>
#include <stdint.h>
#include <string.h>

View file

@ -5,8 +5,8 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include "zephyr/types.h"
#include "zephyr/ztest.h"
#include <zephyr/types.h>
#include <zephyr/ztest.h>
#include <zephyr/bluetooth/hci.h>
#include <zephyr/sys/byteorder.h>

View file

@ -5,8 +5,8 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include "zephyr/types.h"
#include "zephyr/ztest.h"
#include <zephyr/types.h>
#include <zephyr/ztest.h>
#include <stdlib.h>
#include <zephyr/bluetooth/hci.h>

View file

@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include "zephyr/types.h"
#include <zephyr/types.h>
#include <zephyr/ztest.h>
#include "util/util.h"
#include "util/mem.h"

View file

@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include "zephyr/types.h"
#include <zephyr/types.h>
#include <zephyr/ztest.h>
#include "util/util.h"
#include "util/mem.h"

View file

@ -6,7 +6,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include "zephyr/bluetooth/services/ias.h"
#include <zephyr/bluetooth/services/ias.h>
#include <stdint.h>
/* events */

View file

@ -8,7 +8,7 @@
#include <zephyr/bluetooth/audio/csip.h>
#include "btp/btp.h"
#include "zephyr/sys/byteorder.h"
#include <zephyr/sys/byteorder.h>
#include <zephyr/logging/log.h>
#define LOG_MODULE_NAME bttester_csis

View file

@ -8,8 +8,8 @@
#include <zephyr/bluetooth/audio/has.h>
#include "btp/btp.h"
#include "zephyr/sys/byteorder.h"
#include "zephyr/arch/common/ffs.h"
#include <zephyr/sys/byteorder.h>
#include <zephyr/arch/common/ffs.h>
#include <stdint.h>
#include <zephyr/logging/log.h>

View file

@ -8,7 +8,7 @@
#include <zephyr/bluetooth/services/ias.h>
#include "btp/btp.h"
#include "zephyr/sys/byteorder.h"
#include <zephyr/sys/byteorder.h>
#include <stdint.h>
#include <zephyr/logging/log.h>

View file

@ -12,8 +12,8 @@
#include <zephyr/bluetooth/testing.h>
#include <zephyr/bluetooth/audio/vcp.h>
#include <zephyr/bluetooth/audio/aics.h>
#include "zephyr/bluetooth/audio/vocs.h"
#include "zephyr/sys/util.h"
#include <zephyr/bluetooth/audio/vocs.h>
#include <zephyr/sys/util.h>
#include <../../subsys/bluetooth/audio/micp_internal.h>
#include <../../subsys/bluetooth/audio/aics_internal.h>

View file

@ -7,7 +7,7 @@
#include <stdint.h>
#ifdef CONFIG_BT_IAS_CLIENT
#include "zephyr/bluetooth/services/ias.h"
#include <zephyr/bluetooth/services/ias.h>
#include "common.h"
extern enum bst_result_t bst_result;

View file

@ -10,7 +10,7 @@
#include "bs_types.h"
#include "bstests.h"
#include "time_machine.h"
#include "zephyr/sys/__assert.h"
#include <zephyr/sys/__assert.h>
#include <errno.h>

View file

@ -5,10 +5,10 @@
*/
#include "bs_bt_utils.h"
#include "zephyr/bluetooth/addr.h"
#include "zephyr/bluetooth/bluetooth.h"
#include "zephyr/bluetooth/conn.h"
#include "zephyr/toolchain/gcc.h"
#include <zephyr/bluetooth/addr.h>
#include <zephyr/bluetooth/bluetooth.h>
#include <zephyr/bluetooth/conn.h>
#include <zephyr/toolchain/gcc.h>
#include <stdint.h>
#include <string.h>

View file

@ -5,8 +5,8 @@
*/
#include "bs_bt_utils.h"
#include "zephyr/bluetooth/addr.h"
#include "zephyr/bluetooth/conn.h"
#include <zephyr/bluetooth/addr.h>
#include <zephyr/bluetooth/conn.h>
#include <stdint.h>

View file

@ -11,7 +11,7 @@
#include <zephyr/kernel.h>
#include <zephyr/settings/settings.h>
#include "zephyr/types.h"
#include <zephyr/types.h>
#include "errno.h"
#include "argparse.h"

View file

@ -5,8 +5,8 @@
*/
#include "bs_bt_utils.h"
#include "zephyr/bluetooth/addr.h"
#include "zephyr/bluetooth/conn.h"
#include <zephyr/bluetooth/addr.h>
#include <zephyr/bluetooth/conn.h>
#include <stdint.h>
#include <zephyr/bluetooth/bluetooth.h>

View file

@ -5,8 +5,8 @@
*/
#include "bs_bt_utils.h"
#include "zephyr/bluetooth/addr.h"
#include "zephyr/bluetooth/conn.h"
#include <zephyr/bluetooth/addr.h>
#include <zephyr/bluetooth/conn.h>
#include <stdint.h>
#include <zephyr/bluetooth/bluetooth.h>

View file

@ -10,7 +10,7 @@
#include "bs_types.h"
#include "bstests.h"
#include "time_machine.h"
#include "zephyr/sys/__assert.h"
#include <zephyr/sys/__assert.h>
#include <errno.h>
#include <stddef.h>

View file

@ -5,8 +5,8 @@
*/
#include "bs_bt_utils.h"
#include "zephyr/bluetooth/addr.h"
#include "zephyr/bluetooth/conn.h"
#include <zephyr/bluetooth/addr.h>
#include <zephyr/bluetooth/conn.h>
#include <stdint.h>

View file

@ -5,10 +5,10 @@
*/
#include "bs_bt_utils.h"
#include "zephyr/bluetooth/addr.h"
#include "zephyr/bluetooth/bluetooth.h"
#include "zephyr/bluetooth/conn.h"
#include "zephyr/toolchain/gcc.h"
#include <zephyr/bluetooth/addr.h>
#include <zephyr/bluetooth/bluetooth.h>
#include <zephyr/bluetooth/conn.h>
#include <zephyr/toolchain/gcc.h>
#include <stdint.h>
#include <string.h>

View file

@ -10,7 +10,7 @@
#include "bs_types.h"
#include "bstests.h"
#include "time_machine.h"
#include "zephyr/sys/__assert.h"
#include <zephyr/sys/__assert.h>
#include <errno.h>
#include <stddef.h>

View file

@ -5,8 +5,8 @@
*/
#include "bs_bt_utils.h"
#include "zephyr/bluetooth/addr.h"
#include "zephyr/bluetooth/conn.h"
#include <zephyr/bluetooth/addr.h>
#include <zephyr/bluetooth/conn.h>
#include <stdint.h>

View file

@ -5,10 +5,10 @@
*/
#include "bs_bt_utils.h"
#include "zephyr/bluetooth/addr.h"
#include "zephyr/bluetooth/bluetooth.h"
#include "zephyr/bluetooth/conn.h"
#include "zephyr/toolchain/gcc.h"
#include <zephyr/bluetooth/addr.h>
#include <zephyr/bluetooth/bluetooth.h>
#include <zephyr/bluetooth/conn.h>
#include <zephyr/toolchain/gcc.h>
#include <stdint.h>
#include <string.h>

View file

@ -10,7 +10,7 @@
#include "bs_types.h"
#include "bstests.h"
#include "time_machine.h"
#include "zephyr/sys/__assert.h"
#include <zephyr/sys/__assert.h>
#include <errno.h>
#include <stddef.h>

View file

@ -5,8 +5,8 @@
*/
#include "bs_bt_utils.h"
#include "zephyr/bluetooth/addr.h"
#include "zephyr/bluetooth/conn.h"
#include <zephyr/bluetooth/addr.h>
#include <zephyr/bluetooth/conn.h>
#include <stdint.h>

View file

@ -5,10 +5,10 @@
*/
#include "bs_bt_utils.h"
#include "zephyr/bluetooth/addr.h"
#include "zephyr/bluetooth/bluetooth.h"
#include "zephyr/bluetooth/conn.h"
#include "zephyr/toolchain/gcc.h"
#include <zephyr/bluetooth/addr.h>
#include <zephyr/bluetooth/bluetooth.h>
#include <zephyr/bluetooth/conn.h>
#include <zephyr/toolchain/gcc.h>
#include <stdint.h>
#include <string.h>

View file

@ -6,8 +6,8 @@
#include "bs_bt_utils.h"
#include "utils.h"
#include "zephyr/bluetooth/addr.h"
#include "zephyr/bluetooth/conn.h"
#include <zephyr/bluetooth/addr.h>
#include <zephyr/bluetooth/conn.h>
#include <stdint.h>

View file

@ -10,7 +10,7 @@
#include "bs_types.h"
#include "bstests.h"
#include "time_machine.h"
#include "zephyr/sys/__assert.h"
#include <zephyr/sys/__assert.h>
#include <errno.h>
#include <stddef.h>

View file

@ -6,10 +6,10 @@
#include "bs_bt_utils.h"
#include "utils.h"
#include "zephyr/bluetooth/addr.h"
#include "zephyr/bluetooth/bluetooth.h"
#include "zephyr/bluetooth/conn.h"
#include "zephyr/toolchain/gcc.h"
#include <zephyr/bluetooth/addr.h>
#include <zephyr/bluetooth/bluetooth.h>
#include <zephyr/bluetooth/conn.h>
#include <zephyr/toolchain/gcc.h>
#include <stdint.h>
#include <string.h>

View file

@ -10,7 +10,7 @@
#include <stdlib.h>
#include <stdbool.h>
#include "zephyr/types.h"
#include <zephyr/types.h>
#define EDTTT_NONBLOCK 0
#define EDTTT_BLOCK 1

View file

@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include "zephyr/sys/util.h"
#include <zephyr/sys/util.h>
#include <zephyr/device.h>
#include <zephyr/drivers/gpio/gpio_emul.h>
#include <zephyr/kernel.h>

View file

@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include "zephyr/devicetree.h"
#include <zephyr/devicetree.h>
#define LOG_LEVEL CONFIG_LOG_DEFAULT_LEVEL
#include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(spi_rtio_loopback);

View file

@ -3,7 +3,7 @@
*
* SPDX-License-Identifier: Apache-2.0
*/
#include "zephyr/ztest_test_new.h"
#include <zephyr/ztest_test_new.h>
#include <zephyr/kernel.h>
#include <zephyr/ztest.h>
#include <zephyr/spinlock.h>

View file

@ -11,8 +11,8 @@
#include <zephyr/kernel.h>
#include <zephyr/net/net_if.h>
#include <zephyr/net/net_pkt.h>
#include "zephyr/net/net_l2.h"
#include "zephyr/net/ppp.h"
#include <zephyr/net/net_l2.h>
#include <zephyr/net/ppp.h>
#include <zephyr/sys/crc.h>
#include <string.h>