includes: remove duplicated entries in zephyr-tree
Remove duplicated #include directives within the same preprocessor scope across the Zephyr tree. Duplicates inside different #ifdef branches are preserved as they may be intentional. Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
This commit is contained in:
committed by
Anas Nashif
parent
6d5754978c
commit
f8d2e00a0e
@@ -20,7 +20,6 @@
|
||||
#include <kernel_internal.h>
|
||||
#include <mmu.h>
|
||||
#include <zephyr/drivers/interrupt_controller/loapic.h>
|
||||
#include <mmu.h>
|
||||
#include <zephyr/arch/x86/memmap.h>
|
||||
|
||||
LOG_MODULE_DECLARE(os, CONFIG_KERNEL_LOG_LEVEL);
|
||||
|
||||
@@ -53,7 +53,6 @@
|
||||
|
||||
#ifndef _ASMLANGUAGE
|
||||
|
||||
#include <zephyr/sys/util.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
@@ -16,7 +16,6 @@
|
||||
#include <zephyr/zsr.h>
|
||||
#include <zephyr/arch/common/exc_handle.h>
|
||||
|
||||
#include <kernel_internal.h>
|
||||
#include <xtensa_internal.h>
|
||||
#include <xtensa_stack.h>
|
||||
|
||||
|
||||
@@ -35,7 +35,6 @@
|
||||
#ifdef CONFIG_ADC_STM32_DMA
|
||||
#include <zephyr/drivers/dma/dma_stm32.h>
|
||||
#include <zephyr/drivers/dma.h>
|
||||
#include <zephyr/toolchain.h>
|
||||
#include <stm32_ll_dma.h>
|
||||
#endif
|
||||
|
||||
@@ -54,7 +53,6 @@ LOG_MODULE_REGISTER(adc_stm32);
|
||||
|
||||
#if defined(CONFIG_SOC_SERIES_STM32H7X) || defined(CONFIG_SOC_SERIES_STM32H7RSX)
|
||||
#include <zephyr/dt-bindings/memory-attr/memory-attr-arm.h>
|
||||
#include <stm32_ll_system.h>
|
||||
#endif
|
||||
|
||||
#include <zephyr/linker/linker-defs.h>
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
|
||||
#include <zephyr/device.h>
|
||||
#include <zephyr/drivers/i2c.h>
|
||||
#include <zephyr/sys/util.h>
|
||||
#include <zephyr/audio/codec.h>
|
||||
#include <zephyr/drivers/clock_control.h>
|
||||
#include "tlv320aic3110.h"
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
#include <zephyr/device.h>
|
||||
#include <zephyr/drivers/i2c.h>
|
||||
#include <zephyr/drivers/gpio.h>
|
||||
#include <zephyr/sys/util.h>
|
||||
#include <zephyr/audio/codec.h>
|
||||
#include "tlv320dac310x.h"
|
||||
|
||||
|
||||
@@ -72,7 +72,6 @@
|
||||
#include "cyhal_syspm.h"
|
||||
|
||||
#define LOG_LEVEL CONFIG_BT_HCI_DRIVER_LOG_LEVEL
|
||||
#include <zephyr/logging/log.h>
|
||||
LOG_MODULE_REGISTER(cyw208xx);
|
||||
|
||||
#define DT_DRV_COMPAT infineon_cyw208xx_hci
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
#include <zephyr/logging/log.h>
|
||||
|
||||
#define LOG_LEVEL CONFIG_BT_HCI_DRIVER_LOG_LEVEL
|
||||
#include <zephyr/logging/log.h>
|
||||
LOG_MODULE_REGISTER(psoc6_bless);
|
||||
|
||||
#include "cy_ble_stack_pvt.h"
|
||||
|
||||
@@ -15,7 +15,6 @@
|
||||
#include <zephyr/irq.h>
|
||||
#include <soc.h>
|
||||
#include <zephyr/drivers/clock_control/arm_clock_control.h>
|
||||
#include <zephyr/irq.h>
|
||||
|
||||
#include "dualtimer_cmsdk_apb.h"
|
||||
|
||||
|
||||
@@ -14,7 +14,6 @@
|
||||
#include <zephyr/logging/log.h>
|
||||
LOG_MODULE_REGISTER(dma_bflb, CONFIG_DMA_LOG_LEVEL);
|
||||
|
||||
#include <soc.h>
|
||||
#include <bflb_soc.h>
|
||||
#include <glb_reg.h>
|
||||
#include <common_defines.h>
|
||||
|
||||
@@ -18,8 +18,6 @@ LOG_MODULE_REGISTER(eth_adin2111, CONFIG_ETHERNET_LOG_LEVEL);
|
||||
#include <errno.h>
|
||||
|
||||
#include <zephyr/net/net_if.h>
|
||||
#include <zephyr/net/ethernet.h>
|
||||
#include <zephyr/net/phy.h>
|
||||
#include <zephyr/drivers/ethernet/eth_adin2111.h>
|
||||
|
||||
#include "phy/phy_adin2111_priv.h"
|
||||
|
||||
@@ -16,8 +16,6 @@ LOG_MODULE_REGISTER(eth_lan865x, CONFIG_ETHERNET_LOG_LEVEL);
|
||||
#include <errno.h>
|
||||
|
||||
#include <zephyr/net/net_if.h>
|
||||
#include <zephyr/net/ethernet.h>
|
||||
#include <zephyr/net/phy.h>
|
||||
#include <zephyr/drivers/ethernet/eth_lan865x.h>
|
||||
|
||||
#include "eth_lan865x_priv.h"
|
||||
|
||||
@@ -24,12 +24,13 @@
|
||||
#include <zephyr/kernel.h>
|
||||
#include <zephyr/device.h>
|
||||
#include <zephyr/devicetree.h>
|
||||
#include <zephyr/sys/util.h>
|
||||
#include <stddef.h>
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
#include <stdint.h>
|
||||
#include <zephyr/drivers/flash.h>
|
||||
#include <soc.h>
|
||||
|
||||
#ifdef CONFIG_ESP_FLASH_ASYNC_IPM
|
||||
#include <zephyr/drivers/ipm.h>
|
||||
#endif
|
||||
@@ -131,12 +132,6 @@ static inline void flash_esp32_sem_give(const struct device *dev)
|
||||
|
||||
#endif /* CONFIG_MULTITHREADING && !CONFIG_ESP_FLASH_ASYNC */
|
||||
|
||||
#include <zephyr/kernel.h>
|
||||
#include <zephyr/logging/log.h>
|
||||
#include <zephyr/sys/util.h>
|
||||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
|
||||
#ifdef CONFIG_ESP_FLASH_HOST
|
||||
#ifndef CONFIG_MCUBOOT
|
||||
static int flash_esp32_read_check_enc(off_t address, void *buffer, size_t length)
|
||||
|
||||
@@ -8,7 +8,6 @@
|
||||
|
||||
#include <string.h>
|
||||
#include <stdarg.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
#include "gnss_nmea0183.h"
|
||||
#include "gnss_parse.h"
|
||||
|
||||
@@ -28,9 +28,6 @@
|
||||
#endif
|
||||
#include <fsl_gpio.h>
|
||||
#include <fsl_device_registers.h>
|
||||
#ifdef MCI_IO_MUX
|
||||
#include <zephyr/drivers/pinctrl.h>
|
||||
#endif
|
||||
|
||||
/* Interrupt sources, matching int-source enum in DTS binding definition */
|
||||
#define INT_SOURCE_PINT 0
|
||||
|
||||
@@ -14,7 +14,6 @@
|
||||
#include <zephyr/sys/errno_private.h>
|
||||
#include <zephyr/dt-bindings/gpio/renesas-rzt2m-gpio.h>
|
||||
#include <soc.h>
|
||||
#include <zephyr/drivers/gpio/gpio_utils.h>
|
||||
#include <zephyr/irq.h>
|
||||
|
||||
static const struct device *const ns_portnf_md_dev = DEVICE_DT_GET(DT_NODELABEL(ns_portnf_md));
|
||||
|
||||
@@ -14,7 +14,6 @@
|
||||
#include <zephyr/drivers/spi.h>
|
||||
#include <zephyr/kernel.h>
|
||||
#include <zephyr/device.h>
|
||||
#include <zephyr/kernel.h>
|
||||
#include <zephyr/sys/byteorder.h>
|
||||
#include <zephyr/sys/util.h>
|
||||
|
||||
|
||||
@@ -21,7 +21,6 @@
|
||||
#include <zephyr/kernel.h>
|
||||
#include <zephyr/init.h>
|
||||
#include <zephyr/pm/device.h>
|
||||
#include <zephyr/arch/cpu.h>
|
||||
#include <zephyr/irq.h>
|
||||
#include <string.h>
|
||||
|
||||
@@ -50,7 +49,6 @@
|
||||
#include "i2c_dw_registers.h"
|
||||
#define LOG_LEVEL CONFIG_I2C_LOG_LEVEL
|
||||
#include <zephyr/logging/log.h>
|
||||
#include <zephyr/irq.h>
|
||||
LOG_MODULE_REGISTER(i2c_dw);
|
||||
|
||||
#include "i2c-priv.h"
|
||||
|
||||
@@ -15,7 +15,6 @@
|
||||
#include <zephyr/drivers/pinctrl.h>
|
||||
#include <cyhal_i2c.h>
|
||||
#include <cyhal_utils_impl.h>
|
||||
#include <cyhal_utils_impl.h>
|
||||
#include <cyhal_scb_common.h>
|
||||
|
||||
#include <zephyr/logging/log.h>
|
||||
|
||||
@@ -21,7 +21,6 @@
|
||||
#include <zephyr/drivers/i2c.h>
|
||||
#include <zephyr/pm/device.h>
|
||||
#include <zephyr/pm/device_runtime.h>
|
||||
#include <stm32_cache.h>
|
||||
#include <zephyr/cache.h>
|
||||
#include <zephyr/linker/linker-defs.h>
|
||||
#include <zephyr/mem_mgmt/mem_attr.h>
|
||||
|
||||
@@ -26,7 +26,6 @@
|
||||
#endif
|
||||
|
||||
#include <zephyr/sys/barrier.h>
|
||||
#include <zephyr/device.h>
|
||||
#include <soc.h>
|
||||
|
||||
#include <fsl_sai.h>
|
||||
|
||||
@@ -26,7 +26,6 @@
|
||||
#include "rsi_power_save.h"
|
||||
#include "rsi_pll.h"
|
||||
#include "rsi_ulpss_clk.h"
|
||||
#include "clock_update.h"
|
||||
|
||||
#define DMA_MAX_TRANSFER_COUNT 1024
|
||||
#define I2S_SIWX91X_UNSUPPORTED_OPTIONS \
|
||||
|
||||
@@ -19,7 +19,6 @@ LOG_MODULE_REGISTER(dw1000, LOG_LEVEL_INF);
|
||||
#include <zephyr/sys/byteorder.h>
|
||||
#include <string.h>
|
||||
#include <zephyr/random/random.h>
|
||||
#include <zephyr/debug/stack.h>
|
||||
#include <math.h>
|
||||
|
||||
#include <zephyr/drivers/gpio.h>
|
||||
|
||||
@@ -26,7 +26,6 @@ LOG_MODULE_REGISTER(LOG_MODULE_NAME);
|
||||
|
||||
#include <zephyr/device.h>
|
||||
#include <zephyr/init.h>
|
||||
#include <zephyr/debug/stack.h>
|
||||
#include <zephyr/net/net_if.h>
|
||||
#include <zephyr/net/net_pkt.h>
|
||||
|
||||
|
||||
@@ -28,7 +28,6 @@ LOG_MODULE_REGISTER(LOG_MODULE_NAME);
|
||||
#include <zephyr/sys/byteorder.h>
|
||||
#include <string.h>
|
||||
#include <zephyr/random/random.h>
|
||||
#include <zephyr/debug/stack.h>
|
||||
|
||||
#include <zephyr/drivers/gpio.h>
|
||||
|
||||
|
||||
@@ -34,7 +34,6 @@ LOG_MODULE_REGISTER(LOG_MODULE_NAME);
|
||||
|
||||
#include <zephyr/device.h>
|
||||
#include <zephyr/init.h>
|
||||
#include <zephyr/debug/stack.h>
|
||||
#include <zephyr/net/net_if.h>
|
||||
#include <zephyr/net/net_pkt.h>
|
||||
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
#include <zephyr/input/input.h>
|
||||
#include <zephyr/input/input_kbd_matrix.h>
|
||||
#include <zephyr/kernel.h>
|
||||
#include <zephyr/kernel.h>
|
||||
#include <zephyr/logging/log.h>
|
||||
#include <zephyr/pm/device.h>
|
||||
#include <zephyr/pm/device_runtime.h>
|
||||
|
||||
@@ -19,7 +19,6 @@
|
||||
#include <zephyr/kernel.h>
|
||||
#include <zephyr/arch/cpu.h>
|
||||
#include <zephyr/device.h>
|
||||
#include <zephyr/device.h>
|
||||
|
||||
#define DT_DRV_COMPAT snps_arcv2_intc
|
||||
|
||||
|
||||
@@ -17,7 +17,6 @@
|
||||
#include <zephyr/modem/backend/uart.h>
|
||||
#include <zephyr/net/ppp.h>
|
||||
#include <zephyr/pm/device.h>
|
||||
#include <zephyr/pm/device.h>
|
||||
#include <zephyr/pm/device_runtime.h>
|
||||
#include <zephyr/sys/atomic.h>
|
||||
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
#include <zephyr/kernel.h>
|
||||
#include <errno.h>
|
||||
#include <zephyr/device.h>
|
||||
#include <zephyr/drivers/peci.h>
|
||||
#include <soc.h>
|
||||
#include <soc_dt.h>
|
||||
#include <zephyr/logging/log.h>
|
||||
|
||||
@@ -10,10 +10,6 @@
|
||||
#include <adsp_shim.h>
|
||||
#include <adsp_power.h>
|
||||
|
||||
#if CONFIG_SOC_INTEL_ACE15_MTPM
|
||||
#include <adsp_power.h>
|
||||
#endif /* CONFIG_SOC_INTEL_ACE15_MTPM */
|
||||
|
||||
#include <zephyr/logging/log.h>
|
||||
LOG_MODULE_REGISTER(power_domain_intel_adsp, LOG_LEVEL_INF);
|
||||
|
||||
|
||||
@@ -28,7 +28,6 @@
|
||||
#if DT_ANY_INST_ON_BUS_STATUS_OKAY(spi)
|
||||
#include <zephyr/drivers/spi.h>
|
||||
#endif
|
||||
#include <zephyr/sys/util.h>
|
||||
|
||||
/* ADXL345 communication commands */
|
||||
#define ADXL345_WRITE_CMD 0x00
|
||||
|
||||
@@ -52,13 +52,10 @@ extern const struct bmm150_bus_io bmm150_bus_io_spi;
|
||||
extern const struct bmm150_bus_io bmm150_bus_io_i2c;
|
||||
#endif
|
||||
|
||||
#include <zephyr/types.h>
|
||||
#include <zephyr/drivers/i2c.h>
|
||||
#include <stdint.h>
|
||||
#include <zephyr/sys/util.h>
|
||||
|
||||
#include <zephyr/kernel.h>
|
||||
#include <zephyr/device.h>
|
||||
#include <zephyr/drivers/sensor.h>
|
||||
#include <zephyr/pm/device.h>
|
||||
#include <zephyr/sys/byteorder.h>
|
||||
|
||||
@@ -56,12 +56,9 @@ struct bmm350_bus_io {
|
||||
|
||||
extern const struct bmm350_bus_io bmm350_bus_rtio;
|
||||
|
||||
#include <zephyr/types.h>
|
||||
#include <zephyr/drivers/i2c.h>
|
||||
#include <zephyr/sys/util.h>
|
||||
|
||||
#include <zephyr/kernel.h>
|
||||
#include <zephyr/device.h>
|
||||
#include <zephyr/drivers/sensor.h>
|
||||
#include <zephyr/pm/device.h>
|
||||
#include <zephyr/sys/byteorder.h>
|
||||
|
||||
@@ -17,7 +17,6 @@
|
||||
#include <zephyr/drivers/i2c.h>
|
||||
#include <zephyr/sys/util.h>
|
||||
#include <zephyr/kernel.h>
|
||||
#include <zephyr/device.h>
|
||||
#include <zephyr/drivers/sensor.h>
|
||||
#include <zephyr/sys/__assert.h>
|
||||
#include <zephyr/drivers/gpio.h>
|
||||
|
||||
@@ -15,7 +15,6 @@
|
||||
#include <zephyr/drivers/pinctrl.h>
|
||||
#include <zephyr/irq.h>
|
||||
#include <zephyr/drivers/sensor/mcux_lpcmp.h>
|
||||
#include <fsl_lpcmp.h>
|
||||
|
||||
LOG_MODULE_REGISTER(mcux_lpcmp, CONFIG_SENSOR_LOG_LEVEL);
|
||||
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
#include <zephyr/logging/log.h>
|
||||
#include "lis2dux12.h"
|
||||
|
||||
#include "lis2dux12.h"
|
||||
#include "lis2dux12_rtio.h"
|
||||
|
||||
LOG_MODULE_DECLARE(LIS2DUX12, CONFIG_SENSOR_LOG_LEVEL);
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
#ifndef ZEPHYR_DRIVERS_SENSOR_LIS2DW12_LIS2DW12_H_
|
||||
#define ZEPHYR_DRIVERS_SENSOR_LIS2DW12_LIS2DW12_H_
|
||||
|
||||
#include <zephyr/drivers/spi.h>
|
||||
#include <zephyr/drivers/gpio.h>
|
||||
#include <zephyr/sys/util.h>
|
||||
#include <zephyr/drivers/sensor.h>
|
||||
|
||||
@@ -14,7 +14,6 @@
|
||||
#include <zephyr/drivers/sensor.h>
|
||||
#include <zephyr/types.h>
|
||||
#include <zephyr/drivers/gpio.h>
|
||||
#include <zephyr/drivers/spi.h>
|
||||
#include <zephyr/sys/util.h>
|
||||
#include <stmemsc.h>
|
||||
#include "lsm6dso_reg.h"
|
||||
|
||||
@@ -21,7 +21,6 @@
|
||||
#include <fcntl.h>
|
||||
#include <poll.h>
|
||||
#include <unistd.h>
|
||||
#include <poll.h>
|
||||
#include <nsi_tracing.h>
|
||||
|
||||
#define ERROR nsi_print_error_and_exit
|
||||
|
||||
@@ -20,7 +20,6 @@
|
||||
#include <zephyr/rtio/rtio.h>
|
||||
#include <zephyr/sys/__assert.h>
|
||||
#include <zephyr/sys/util.h>
|
||||
#include <zephyr/drivers/spi/rtio.h>
|
||||
|
||||
#include <wrap_max32_spi.h>
|
||||
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
#include <string.h>
|
||||
#include <zephyr/drivers/usb/usb_dc.h>
|
||||
#include <zephyr/usb/usb_device.h>
|
||||
#include <soc.h>
|
||||
#include <zephyr/init.h>
|
||||
#include <zephyr/kernel.h>
|
||||
#include <zephyr/drivers/pinctrl.h>
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
#include <zephyr/sys/util.h>
|
||||
#include <zephyr/kernel.h>
|
||||
#include <zephyr/drivers/usb/udc.h>
|
||||
#include <zephyr/sys/util.h>
|
||||
#include <zephyr/drivers/gpio.h>
|
||||
#include <zephyr/drivers/pinctrl.h>
|
||||
#include <zephyr/cache.h>
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
#include <zephyr/kernel.h>
|
||||
#include <zephyr/sys/byteorder.h>
|
||||
#include <zephyr/init.h>
|
||||
#include <zephyr/sys/byteorder.h>
|
||||
#include <zephyr/drivers/usb/uhc.h>
|
||||
|
||||
#include "uhc_common.h"
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
#include <zephyr/kernel.h>
|
||||
#include <zephyr/sys/byteorder.h>
|
||||
#include <zephyr/init.h>
|
||||
#include <zephyr/sys/byteorder.h>
|
||||
#include <zephyr/drivers/usb/uhc.h>
|
||||
#include <zephyr/drivers/pinctrl.h>
|
||||
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
#include <zephyr/kernel.h>
|
||||
#include <zephyr/sys/byteorder.h>
|
||||
#include <zephyr/init.h>
|
||||
#include <zephyr/sys/byteorder.h>
|
||||
#include <zephyr/drivers/usb/uhc.h>
|
||||
#include <zephyr/drivers/pinctrl.h>
|
||||
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
#include <zephyr/kernel.h>
|
||||
#include <zephyr/sys/byteorder.h>
|
||||
#include <zephyr/init.h>
|
||||
#include <zephyr/sys/byteorder.h>
|
||||
#include <zephyr/drivers/usb/uhc.h>
|
||||
#include <zephyr/drivers/pinctrl.h>
|
||||
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
#include <zephyr/kernel.h>
|
||||
#include <zephyr/sys/byteorder.h>
|
||||
#include <zephyr/init.h>
|
||||
#include <zephyr/sys/byteorder.h>
|
||||
#include <zephyr/drivers/usb/uhc.h>
|
||||
#include <zephyr/drivers/pinctrl.h>
|
||||
|
||||
|
||||
@@ -14,7 +14,6 @@
|
||||
#include <em_cmu.h>
|
||||
|
||||
#include <zephyr/logging/log.h>
|
||||
#include <zephyr/irq.h>
|
||||
LOG_MODULE_REGISTER(wdt_gecko, CONFIG_WDT_LOG_LEVEL);
|
||||
|
||||
#ifdef cmuClock_CORELE
|
||||
|
||||
@@ -30,7 +30,6 @@ LOG_MODULE_REGISTER(LOG_MODULE_NAME);
|
||||
#include <zephyr/net/ethernet.h>
|
||||
#include <net_private.h>
|
||||
#include <zephyr/net/net_core.h>
|
||||
#include <zephyr/net/net_pkt.h>
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
@@ -38,7 +38,6 @@
|
||||
#endif /* CONFIG_NRF70_STA_MODE */
|
||||
|
||||
#include <system/fmac_api.h>
|
||||
#include <zephyr/net/conn_mgr_connectivity.h>
|
||||
#else
|
||||
#include <radio_test/fmac_api.h>
|
||||
#endif /* !CONFIG_NRF70_RADIO_TEST */
|
||||
|
||||
@@ -108,8 +108,6 @@ typedef struct {
|
||||
struct sockaddr_in strRemoteAddr;
|
||||
} tstrSocketRecvMsg;
|
||||
|
||||
#include <driver/include/m2m_wifi.h>
|
||||
#include <socket/include/m2m_socket_host_if.h>
|
||||
|
||||
#if defined(CONFIG_WIFI_WINC1500_REGION_NORTH_AMERICA)
|
||||
#define WINC1500_REGION NORTH_AMERICA
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
|
||||
#include <zephyr/drivers/timer/arm_arch_timer.h>
|
||||
#include <zephyr/types.h>
|
||||
#include <limits.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
@@ -35,7 +35,6 @@
|
||||
#include <zephyr/sys/atomic.h>
|
||||
#include <zephyr/sys/slist.h>
|
||||
#include <zephyr/sys/util_macro.h>
|
||||
#include <zephyr/sys/slist.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
#include <stdint.h>
|
||||
#include <errno.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <zephyr/kernel.h>
|
||||
#include <zephyr/spinlock.h>
|
||||
#include <zephyr/devicetree.h>
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
*/
|
||||
|
||||
#include <string.h>
|
||||
#include <string.h>
|
||||
|
||||
size_t strspn(const char *s,
|
||||
const char *accept)
|
||||
|
||||
@@ -20,10 +20,6 @@
|
||||
#include "../../spinel_base/spinel.h"
|
||||
#include "../../src/include/nrf_802154_spinel.h"
|
||||
|
||||
#if defined(CONFIG_SOC_NRF5340_CPUAPP)
|
||||
#include <nrf53_cpunet_mgmt.h>
|
||||
#endif
|
||||
|
||||
#define LOG_LEVEL LOG_LEVEL_INFO
|
||||
#define LOG_MODULE_NAME spinel_ipc_backend
|
||||
LOG_MODULE_REGISTER(LOG_MODULE_NAME);
|
||||
|
||||
@@ -43,7 +43,6 @@ static K_THREAD_STACK_DEFINE(iface_wq_stack, CONFIG_WIFI_NM_WPA_SUPPLICANT_WQ_ST
|
||||
#include "wpa_supplicant/config.h"
|
||||
#include "wpa_supplicant_i.h"
|
||||
#include "fst/fst.h"
|
||||
#include "includes.h"
|
||||
#include "wpa_cli_zephyr.h"
|
||||
#include "ctrl_iface_zephyr.h"
|
||||
#ifdef CONFIG_WIFI_NM_HOSTAPD_AP
|
||||
|
||||
@@ -21,11 +21,9 @@
|
||||
#include <zephyr/net/openthread.h>
|
||||
#include <zephyr/net/socket.h>
|
||||
#include <zephyr/net/socket_service.h>
|
||||
#include <zephyr/net/icmp.h>
|
||||
#include <icmpv6.h>
|
||||
|
||||
#if defined(CONFIG_OPENTHREAD_NAT64_TRANSLATOR)
|
||||
#include <zephyr/net/icmp.h>
|
||||
#include <zephyr/net/net_pkt_filter.h>
|
||||
#include <openthread/nat64.h>
|
||||
#endif /* CONFIG_OPENTHREAD_NAT64_TRANSLATOR */
|
||||
|
||||
@@ -19,7 +19,6 @@
|
||||
#include <zephyr/net/net_pkt.h>
|
||||
#include <zephyr/net/openthread.h>
|
||||
#include <zephyr/net/socket_service.h>
|
||||
#include <openthread/nat64.h>
|
||||
#include "sockets_internal.h"
|
||||
#include <errno.h>
|
||||
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
#include <errno.h>
|
||||
#include <errno.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
#include <errno.h>
|
||||
#include <errno.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
|
||||
@@ -17,7 +17,6 @@
|
||||
#include <zephyr/bluetooth/conn.h>
|
||||
#include <zephyr/bluetooth/uuid.h>
|
||||
#include <zephyr/bluetooth/gatt.h>
|
||||
#include <zephyr/bluetooth/hci.h>
|
||||
#include <zephyr/bluetooth/hci_vs.h>
|
||||
|
||||
/* Latency set to zero, to enforce PDU exchange every connection event */
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
#include <stddef.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <zephyr/kernel.h>
|
||||
#include <zephyr/arch/cpu.h>
|
||||
#include <zephyr/sys/byteorder.h>
|
||||
#include <zephyr/logging/log.h>
|
||||
|
||||
@@ -21,7 +21,6 @@
|
||||
#include <zephyr/bluetooth/conn.h>
|
||||
#include <zephyr/bluetooth/uuid.h>
|
||||
#include <zephyr/bluetooth/gatt.h>
|
||||
#include <zephyr/bluetooth/hci.h>
|
||||
#include <zephyr/bluetooth/services/bas.h>
|
||||
|
||||
#define CSC_SUPPORTED_LOCATIONS { CSC_LOC_OTHER, \
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <zephyr/kernel.h>
|
||||
#include <zephyr/kernel.h>
|
||||
#include <zephyr/devicetree/clocks.h>
|
||||
#include <zephyr/drivers/clock_control/nrf_clock_control.h>
|
||||
|
||||
@@ -8,7 +8,6 @@
|
||||
#include <zephyr/device.h>
|
||||
#include <zephyr/drivers/comparator.h>
|
||||
#include <zephyr/drivers/gpio.h>
|
||||
#include <zephyr/kernel.h>
|
||||
#include <zephyr/sys/util.h>
|
||||
#include <zephyr/sys/printk.h>
|
||||
#ifdef CONFIG_DAC_REFERENCE_SOURCE
|
||||
|
||||
@@ -8,7 +8,6 @@
|
||||
#include <zephyr/device.h>
|
||||
#include <zephyr/drivers/comparator.h>
|
||||
#include <zephyr/drivers/gpio.h>
|
||||
#include <zephyr/kernel.h>
|
||||
#include <zephyr/sys/util.h>
|
||||
#include <zephyr/sys/printk.h>
|
||||
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <zephyr/drivers/mbox.h>
|
||||
|
||||
|
||||
@@ -15,7 +15,6 @@
|
||||
#include <zephyr/sys/printk.h>
|
||||
LOG_MODULE_REGISTER(clock32k, CONFIG_CLOCK_CONTROL_LOG_LEVEL);
|
||||
|
||||
#include <soc.h>
|
||||
|
||||
#ifdef CONFIG_SOC_SERIES_MEC15XX
|
||||
static void pcr_clock_regs(void)
|
||||
|
||||
@@ -17,7 +17,6 @@
|
||||
#include <zephyr/net/net_core.h>
|
||||
#include <zephyr/net/net_l2.h>
|
||||
#include <zephyr/net/net_if.h>
|
||||
#include <zephyr/net/socket.h>
|
||||
#include <zephyr/net/ethernet.h>
|
||||
#include <zephyr/net/lldp.h>
|
||||
#include <errno.h>
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
|
||||
#include <zephyr/kernel.h>
|
||||
#include <zephyr/drivers/sensor.h>
|
||||
#include <zephyr/kernel.h>
|
||||
#include <zephyr/net/tls_credentials.h>
|
||||
#include <zephyr/net/http/server.h>
|
||||
#include <zephyr/net/http/service.h>
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
#include <zephyr/logging/log.h>
|
||||
LOG_MODULE_DECLARE(main, LOG_LEVEL_DBG);
|
||||
|
||||
#include <zephyr/kernel.h>
|
||||
#include <zephyr/kernel.h>
|
||||
#include <zephyr/net/tls_credentials.h>
|
||||
#include <zephyr/net/http/server.h>
|
||||
|
||||
@@ -54,7 +54,6 @@ struct http_resource_detail_static favicon_16x16_png_gz_resource_detail = {
|
||||
};
|
||||
|
||||
#if defined(CONFIG_NET_SAMPLE_HTTPS_SERVICE)
|
||||
#include <zephyr/net/tls_credentials.h>
|
||||
#include "../certificate.h"
|
||||
|
||||
static const sec_tag_t sec_tag_list_verify_none[] = {
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
|
||||
#ifdef CONFIG_GROVE_LCD_RGB
|
||||
#include <zephyr/drivers/misc/grove_lcd/grove_lcd.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#endif
|
||||
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
#include <zephyr/sys/util_macro.h>
|
||||
#include <zephyr/kernel.h>
|
||||
#include <zephyr/rtio/rtio.h>
|
||||
#include <zephyr/drivers/sensor.h>
|
||||
|
||||
#define STREAMDEV_ALIAS(i) DT_ALIAS(_CONCAT(stream, i))
|
||||
#define STREAMDEV_DEVICE(i, _) \
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <zephyr/drivers/ipm.h>
|
||||
|
||||
|
||||
@@ -85,7 +85,6 @@ osSemaphoreId forks[NUM_PHIL];
|
||||
#define PR_DEBUG(...)
|
||||
#endif
|
||||
|
||||
#include "phil_obj_abstract.h"
|
||||
|
||||
static void set_phil_state_pos(int id)
|
||||
{
|
||||
|
||||
@@ -115,7 +115,6 @@ static osThreadAttr_t thread_attr[] = {
|
||||
#define PR_DEBUG(...)
|
||||
#endif
|
||||
|
||||
#include "phil_obj_abstract.h"
|
||||
|
||||
static void set_phil_state_pos(int id)
|
||||
{
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
#include "cy_syslib.h"
|
||||
#include "cy_gpio.h"
|
||||
#include "cy_scb_uart.h"
|
||||
#include "cy_syslib.h"
|
||||
#include "cy_syspm.h"
|
||||
#include "cy_sysclk.h"
|
||||
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
#include <zephyr/init.h>
|
||||
#include <zephyr/kernel.h>
|
||||
#include <zephyr/pm/pm.h>
|
||||
#include <zephyr/device.h>
|
||||
#include <zephyr/cache.h>
|
||||
#include <cpu_init.h>
|
||||
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
#include <zephyr/sys/util.h>
|
||||
#include <adsp_shim.h>
|
||||
#include <adsp_memory.h>
|
||||
#include <adsp_shim.h>
|
||||
|
||||
/**
|
||||
* @brief HDA stream functionality for Intel ADSP
|
||||
|
||||
@@ -39,7 +39,6 @@
|
||||
#include <soc_pcr.h>
|
||||
#include <soc_pins.h>
|
||||
|
||||
#include <reg/mec_gpio.h>
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -21,7 +21,6 @@
|
||||
#include <zephyr/bluetooth/audio/audio.h>
|
||||
#include <zephyr/bluetooth/audio/bap.h>
|
||||
#include <zephyr/bluetooth/audio/pacs.h>
|
||||
#include <zephyr/bluetooth/audio/bap.h>
|
||||
#include <zephyr/bluetooth/hci_types.h>
|
||||
#include <zephyr/bluetooth/iso.h>
|
||||
#include <zephyr/bluetooth/uuid.h>
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
#include <stdbool.h>
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include <zephyr/autoconf.h>
|
||||
#include <zephyr/bluetooth/audio/audio.h>
|
||||
|
||||
@@ -28,7 +28,6 @@
|
||||
#include <zephyr/sys/util.h>
|
||||
#include <zephyr/types.h>
|
||||
#include <zephyr/kernel.h>
|
||||
#include <zephyr/types.h>
|
||||
#include <zephyr/shell/shell.h>
|
||||
|
||||
#include "host/shell/bt.h"
|
||||
|
||||
@@ -30,7 +30,6 @@
|
||||
#include "lll_df.h"
|
||||
#include "lll_df_internal.h"
|
||||
|
||||
#include <soc.h>
|
||||
#include "hal/debug.h"
|
||||
|
||||
/* Minimum number of antenna switch patterns required by Direction Finding Extension to be
|
||||
|
||||
@@ -18,7 +18,6 @@
|
||||
#include "util/util.h"
|
||||
#include "util/memq.h"
|
||||
#include "util/dbuf.h"
|
||||
#include "util/util.h"
|
||||
|
||||
#include "pdu_df.h"
|
||||
#include "pdu_vendor.h"
|
||||
|
||||
@@ -65,7 +65,6 @@
|
||||
#include "ull_llcp.h"
|
||||
#include "ll.h"
|
||||
|
||||
#include <soc.h>
|
||||
#include "hal/debug.h"
|
||||
|
||||
/* Check that timeout_reload member is at safe offset when ll_sync_set is
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
#include <zephyr/types.h>
|
||||
#include <zephyr/bluetooth/conn.h>
|
||||
|
||||
#include <zephyr/types.h>
|
||||
#include <zephyr/shell/shell.h>
|
||||
#include <zephyr/bluetooth/gatt.h>
|
||||
#include <zephyr/bluetooth/bluetooth.h>
|
||||
|
||||
@@ -19,7 +19,6 @@ LOG_MODULE_REGISTER(gdbstub);
|
||||
#include <string.h>
|
||||
#include <zephyr/toolchain.h>
|
||||
#include <sys/types.h>
|
||||
#include <zephyr/sys/util.h>
|
||||
|
||||
#include <zephyr/debug/gdbstub.h>
|
||||
#include "gdbstub_backend.h"
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
#include <kernel_internal.h>
|
||||
#include <zephyr/debug/thread_analyzer.h>
|
||||
#include <zephyr/debug/stack.h>
|
||||
#include <zephyr/kernel.h>
|
||||
#include <zephyr/logging/log.h>
|
||||
#include <stdio.h>
|
||||
#include <zephyr/init.h>
|
||||
|
||||
@@ -14,7 +14,6 @@
|
||||
#include <zephyr/devicetree.h>
|
||||
#include <zephyr/dfu/mcuboot.h>
|
||||
#include <zephyr/dfu/flash_img.h>
|
||||
#include <zephyr/dfu/mcuboot.h>
|
||||
#include <zephyr/storage/flash_map.h>
|
||||
#include <zephyr/storage/stream_flash.h>
|
||||
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
#include <zephyr/init.h>
|
||||
#include <zephyr/fs/fs.h>
|
||||
#include <zephyr/sd/sd_spec.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <inttypes.h>
|
||||
#include <limits.h>
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
#include <zephyr/sys/printk.h>
|
||||
#include <ctype.h>
|
||||
#include <zephyr/logging/log.h>
|
||||
#include <zephyr/sys/printk.h>
|
||||
#include <zephyr/llext/symbol.h>
|
||||
|
||||
#define HEXDUMP_BYTES_IN_LINE 8U
|
||||
|
||||
@@ -45,7 +45,6 @@
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_MCUMGR_GRP_OS_INFO) || defined(CONFIG_MCUMGR_GRP_OS_BOOTLOADER_INFO)
|
||||
#include <stdio.h>
|
||||
#include <zephyr/version.h>
|
||||
#if defined(CONFIG_MCUMGR_GRP_OS_INFO)
|
||||
#include <os_mgmt_processor.h>
|
||||
@@ -53,7 +52,6 @@
|
||||
#if defined(CONFIG_MCUMGR_GRP_OS_BOOTLOADER_INFO)
|
||||
#include <bootutil/boot_status.h>
|
||||
#endif
|
||||
#include <mgmt/mcumgr/util/zcbor_bulk.h>
|
||||
#if defined(CONFIG_NET_HOSTNAME_ENABLE)
|
||||
#include <zephyr/net/hostname.h>
|
||||
#elif defined(CONFIG_BT)
|
||||
|
||||
@@ -41,10 +41,6 @@ LOG_MODULE_REGISTER(net_ctx, CONFIG_NET_CONTEXT_LOG_LEVEL);
|
||||
#include "net_stats.h"
|
||||
#include "pmtu.h"
|
||||
|
||||
#if defined(CONFIG_NET_TCP)
|
||||
#include "tcp_internal.h"
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_NET_INITIAL_MCAST_TTL
|
||||
#define INITIAL_MCAST_TTL CONFIG_NET_INITIAL_MCAST_TTL
|
||||
#else
|
||||
|
||||
@@ -13,7 +13,6 @@ LOG_MODULE_DECLARE(net_shell);
|
||||
#include "net_shell_private.h"
|
||||
|
||||
#if defined(CONFIG_NET_L2_PPP)
|
||||
#include <zephyr/net/ppp.h>
|
||||
#include "ppp/ppp_internal.h"
|
||||
#endif
|
||||
|
||||
|
||||
@@ -409,7 +409,6 @@ void ztest_skip_failed_assumption(void)
|
||||
*/
|
||||
#include <setjmp.h> /* parasoft-suppress MISRAC2012-RULE_21_4-a MISRAC2012-RULE_21_4-b*/
|
||||
#include <signal.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#define FAIL_FAST 0
|
||||
|
||||
@@ -20,9 +20,7 @@
|
||||
#include <zephyr/drivers/video-controls.h>
|
||||
#include <zephyr/logging/log.h>
|
||||
|
||||
#include <zephyr/devicetree.h>
|
||||
#include <zephyr/sys/util.h>
|
||||
#include <zephyr/usb/usb_ch9.h>
|
||||
#include <zephyr/usb/class/usbd_uvc.h>
|
||||
|
||||
#include "usbd_uvc.h"
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user