boards: migrate includes to <zephyr/...>

In order to bring consistency in-tree, migrate all boards code to the
new prefix <zephyr/...>. Note that the conversion has been scripted,
refer to zephyrproject-rtos#45388 for more details.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
Gerard Marull-Paretas 2022-05-06 10:56:39 +02:00 committed by Carles Cufí
parent 0d85931315
commit db508379c2
129 changed files with 250 additions and 250 deletions

View file

@ -4,10 +4,10 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <devicetree.h>
#include <zephyr/devicetree.h>
#include <soc.h>
#include <arch/arc/v2/mpu/arc_mpu.h>
#include <linker/linker-defs.h>
#include <zephyr/arch/arc/v2/mpu/arc_mpu.h>
#include <zephyr/linker/linker-defs.h>
/*
* for secure firmware, MPU entries are only set up for secure world.

View file

@ -5,7 +5,7 @@
*/
#include <soc.h>
#include <init.h>
#include <zephyr/init.h>
#define PMODMUX_BASE_ADDR 0xF0000000

View file

@ -4,10 +4,10 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <devicetree.h>
#include <zephyr/devicetree.h>
#include <soc.h>
#include <arch/arc/v2/mpu/arc_mpu.h>
#include <linker/linker-defs.h>
#include <zephyr/arch/arc/v2/mpu/arc_mpu.h>
#include <zephyr/linker/linker-defs.h>
static struct arc_mpu_region mpu_regions[] = {
/* Region ICCM */

View file

@ -5,8 +5,8 @@
*/
#include <soc.h>
#include <init.h>
#include <drivers/pinmux.h>
#include <zephyr/init.h>
#include <zephyr/drivers/pinmux.h>
static int board_pinmux_init(const struct device *dev)
{

View file

@ -4,10 +4,10 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <devicetree.h>
#include <zephyr/devicetree.h>
#include <soc.h>
#include <arch/arc/v2/mpu/arc_mpu.h>
#include <linker/linker-defs.h>
#include <zephyr/arch/arc/v2/mpu/arc_mpu.h>
#include <zephyr/linker/linker-defs.h>
static struct arc_mpu_region mpu_regions[] = {
/* Region ICCM */

View file

@ -4,10 +4,10 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <devicetree.h>
#include <zephyr/devicetree.h>
#include <soc.h>
#include <arch/arc/v2/mpu/arc_mpu.h>
#include <linker/linker-defs.h>
#include <zephyr/arch/arc/v2/mpu/arc_mpu.h>
#include <zephyr/linker/linker-defs.h>
/*
* for secure firmware, MPU entries are only set up for secure world.

View file

@ -4,10 +4,10 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <devicetree.h>
#include <zephyr/devicetree.h>
#include <soc.h>
#include <arch/arc/v2/mpu/arc_mpu.h>
#include <linker/linker-defs.h>
#include <zephyr/arch/arc/v2/mpu/arc_mpu.h>
#include <zephyr/linker/linker-defs.h>
/*
* for secure firmware, MPU entries are only set up for secure world.

View file

@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <init.h>
#include <zephyr/init.h>
#include "device_imx.h"
static int meerakt96_pinmux_init(const struct device *dev)

View file

@ -4,8 +4,8 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <drivers/gpio.h>
#include <init.h>
#include <zephyr/drivers/gpio.h>
#include <zephyr/init.h>
static int rf_init(const struct device *dev)
{

View file

@ -4,10 +4,10 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <init.h>
#include <drivers/gpio.h>
#include <zephyr/init.h>
#include <zephyr/drivers/gpio.h>
#include <logging/log.h>
#include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(board_control, CONFIG_BOARD_ICARUS_LOG_LEVEL);
#define SIM_SELECT_PIN 8

View file

@ -4,10 +4,10 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <init.h>
#include <drivers/gpio.h>
#include <zephyr/init.h>
#include <zephyr/drivers/gpio.h>
#include <logging/log.h>
#include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(board_control, CONFIG_BOARD_ICARUS_BEE_LOG_LEVEL);
#define SIM_SELECT_PIN 12

View file

@ -4,10 +4,10 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <init.h>
#include <drivers/gpio.h>
#include <zephyr/init.h>
#include <zephyr/drivers/gpio.h>
#include <logging/log.h>
#include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(board_control, CONFIG_BOARD_ICARUS_SOM_LOG_LEVEL);
#define SIM_SELECT_PIN 12

View file

@ -4,8 +4,8 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <init.h>
#include <drivers/gpio.h>
#include <zephyr/init.h>
#include <zephyr/drivers/gpio.h>
static int board_init(const struct device *dev)
{

View file

@ -4,12 +4,12 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <arch/arm/aarch32/cortex_m/cmsis.h>
#include <device.h>
#include <devicetree.h>
#include <drivers/gpio.h>
#include <init.h>
#include <logging/log.h>
#include <zephyr/arch/arm/aarch32/cortex_m/cmsis.h>
#include <zephyr/device.h>
#include <zephyr/devicetree.h>
#include <zephyr/drivers/gpio.h>
#include <zephyr/init.h>
#include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(board, CONFIG_LOG_DEFAULT_LEVEL);
#include "board.h"

View file

@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <dt-bindings/gpio/gpio.h>
#include <zephyr/dt-bindings/gpio/gpio.h>
#include <mem.h>
/ {

View file

@ -5,9 +5,9 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <zephyr.h>
#include <init.h>
#include <logging/log.h>
#include <zephyr/zephyr.h>
#include <zephyr/init.h>
#include <zephyr/logging/log.h>
#include <soc.h>

View file

@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <dt-bindings/pinctrl/cc13xx_cc26xx-pinctrl.h>
#include <zephyr/dt-bindings/pinctrl/cc13xx_cc26xx-pinctrl.h>
&pinctrl {
/* UART0 */

View file

@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <dt-bindings/pinctrl/cc13xx_cc26xx-pinctrl.h>
#include <zephyr/dt-bindings/pinctrl/cc13xx_cc26xx-pinctrl.h>
&pinctrl {
/* UART0 */

View file

@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <dt-bindings/pinctrl/cc13xx_cc26xx-pinctrl.h>
#include <zephyr/dt-bindings/pinctrl/cc13xx_cc26xx-pinctrl.h>
&pinctrl {
/* UART0 */

View file

@ -55,9 +55,9 @@
* at runtime.
*/
#include <init.h>
#include <zephyr/init.h>
#include <drivers/pinmux.h>
#include <zephyr/drivers/pinmux.h>
#include <inc/hw_types.h>
#include <inc/hw_memmap.h>

View file

@ -30,9 +30,9 @@
* at runtime.
*/
#include <init.h>
#include <zephyr/init.h>
#include <drivers/pinmux.h>
#include <zephyr/drivers/pinmux.h>
#include <inc/hw_types.h>
#include <inc/hw_memmap.h>

View file

@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <init.h>
#include <zephyr/init.h>
#include "device_imx.h"
static int colibri_imx7d_m4_pinmux_init(const struct device *dev)

View file

@ -6,9 +6,9 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <init.h>
#include <drivers/gpio.h>
#include <sys/printk.h>
#include <zephyr/init.h>
#include <zephyr/drivers/gpio.h>
#include <zephyr/sys/printk.h>
#include "em_cmu.h"
#include "board.h"

View file

@ -5,10 +5,10 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <init.h>
#include <zephyr/init.h>
#include "board.h"
#include <drivers/gpio.h>
#include <sys/printk.h>
#include <zephyr/drivers/gpio.h>
#include <zephyr/sys/printk.h>
#include "em_cmu.h"
static int efm32gg_stk3701a_init(const struct device *dev)

View file

@ -4,10 +4,10 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <init.h>
#include <zephyr/init.h>
#include "board.h"
#include <drivers/gpio.h>
#include <sys/printk.h>
#include <zephyr/drivers/gpio.h>
#include <zephyr/sys/printk.h>
static int efm32hg_slstk3400a_init(const struct device *dev)
{

View file

@ -4,10 +4,10 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <init.h>
#include <zephyr/init.h>
#include "board.h"
#include <drivers/gpio.h>
#include <sys/printk.h>
#include <zephyr/drivers/gpio.h>
#include <zephyr/sys/printk.h>
static int efm32pg_stk3401a_init(const struct device *dev)
{

View file

@ -4,10 +4,10 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <init.h>
#include <zephyr/init.h>
#include "board.h"
#include <drivers/gpio.h>
#include <sys/printk.h>
#include <zephyr/drivers/gpio.h>
#include <zephyr/sys/printk.h>
static int efm32pg_stk3402a_init(const struct device *dev)
{

View file

@ -4,10 +4,10 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <init.h>
#include <zephyr/init.h>
#include "board.h"
#include <drivers/gpio.h>
#include <sys/printk.h>
#include <zephyr/drivers/gpio.h>
#include <zephyr/sys/printk.h>
static int efm32wg_stk3800_init(const struct device *dev)
{

View file

@ -4,9 +4,9 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <init.h>
#include <drivers/gpio.h>
#include <sys/printk.h>
#include <zephyr/init.h>
#include <zephyr/drivers/gpio.h>
#include <zephyr/sys/printk.h>
/* This pin is used to enable the serial port using the board controller */
#ifdef CONFIG_BOARD_EFR32_RADIO_BRD4180A

View file

@ -4,9 +4,9 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <init.h>
#include <drivers/gpio.h>
#include <sys/printk.h>
#include <zephyr/init.h>
#include <zephyr/drivers/gpio.h>
#include <zephyr/sys/printk.h>
struct supply_cfg {
const struct device *gpio;

View file

@ -7,8 +7,8 @@
/dts-v1/;
#include <nxp/nxp_lpc11u67.dtsi>
#include <dt-bindings/pinctrl/lpc11u6x-pinctrl.h>
#include <dt-bindings/led/led.h>
#include <zephyr/dt-bindings/pinctrl/lpc11u6x-pinctrl.h>
#include <zephyr/dt-bindings/led/led.h>
/ {
model = "Seagate FireCuda Gaming SSD (FaZe)";

View file

@ -7,7 +7,7 @@
/dts-v1/;
#include <nxp/nxp_k2x.dtsi>
#include <dt-bindings/pwm/pwm.h>
#include <zephyr/dt-bindings/pwm/pwm.h>
#include "frdm_k22f-pinctrl.dtsi"
/ {

View file

@ -8,7 +8,7 @@
#include <mem.h>
#include <nxp/nxp_k82fn256vxx15.dtsi>
#include <dt-bindings/pwm/pwm.h>
#include <zephyr/dt-bindings/pwm/pwm.h>
#include "frdm_k82f-pinctrl.dtsi"
/ {

View file

@ -3,7 +3,7 @@
/dts-v1/;
#include <nxp/nxp_k6x.dtsi>
#include <dt-bindings/pwm/pwm.h>
#include <zephyr/dt-bindings/pwm/pwm.h>
#include "hexiwear_k64-pinctrl.dtsi"
/ {

View file

@ -7,8 +7,8 @@
/dts-v1/;
#include <st/f0/stm32f070Xb.dtsi>
#include <st/f0/stm32f070cbtx-pinctrl.dtsi>
#include <dt-bindings/led/led.h>
#include <dt-bindings/led/seagate_legend_b1414.h>
#include <zephyr/dt-bindings/led/led.h>
#include <zephyr/dt-bindings/led/seagate_legend_b1414.h>
/ {
chosen {

View file

@ -7,7 +7,7 @@
/dts-v1/;
#include <nxp/nxp_lpc11u68.dtsi>
#include <dt-bindings/pinctrl/lpc11u6x-pinctrl.h>
#include <zephyr/dt-bindings/pinctrl/lpc11u6x-pinctrl.h>
/ {
model = "NXP LPCXPRESSO11U68 board";

View file

@ -8,7 +8,7 @@
#include <nxp/nxp_lpc55S6x.dtsi>
#include "lpcxpresso55s69.dtsi"
#include <dt-bindings/pwm/pwm.h>
#include <zephyr/dt-bindings/pwm/pwm.h>
/ {
model = "NXP LPCXpresso55S69 board";

View file

@ -3,8 +3,8 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <init.h>
#include <drivers/pinmux.h>
#include <zephyr/init.h>
#include <zephyr/drivers/pinmux.h>
#include <fsl_common.h>
#include <fsl_iocon.h>
#include <soc.h>

View file

@ -4,10 +4,10 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <device.h>
#include <init.h>
#include <kernel.h>
#include <drivers/pinmux.h>
#include <zephyr/device.h>
#include <zephyr/init.h>
#include <zephyr/kernel.h>
#include <zephyr/drivers/pinmux.h>
#include "soc.h"

View file

@ -4,10 +4,10 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <device.h>
#include <init.h>
#include <kernel.h>
#include <drivers/pinmux.h>
#include <zephyr/device.h>
#include <zephyr/init.h>
#include <zephyr/kernel.h>
#include <zephyr/drivers/pinmux.h>
#include "soc.h"

View file

@ -4,9 +4,9 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <device.h>
#include <init.h>
#include <kernel.h>
#include <zephyr/device.h>
#include <zephyr/init.h>
#include <zephyr/kernel.h>
#include "soc.h"

View file

@ -3,7 +3,7 @@
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <init.h>
#include <zephyr/init.h>
#define MIO_PIN_18 0xff180048
#define MIO_PIN_19 0xff18004c
#define MIO_PIN_38 0xff180098

View file

@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <init.h>
#include <zephyr/init.h>
#include <fsl_iomuxc.h>
static int mimx8mm_evk_pinmux_init(const struct device *dev)

View file

@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <init.h>
#include <zephyr/init.h>
#include <fsl_iomuxc.h>
static int mimx8mp_evk_pinmux_init(const struct device *dev)

View file

@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <init.h>
#include <zephyr/init.h>
#include <fsl_iomuxc.h>
static int mimx8mq_evk_pinmux_init(const struct device *dev)

View file

@ -7,8 +7,8 @@
/dts-v1/;
#include <nxp/nxp_rt6xx.dtsi>
#include <dt-bindings/pwm/pwm.h>
#include <dt-bindings/regulator/pca9420_i2c.h>
#include <zephyr/dt-bindings/pwm/pwm.h>
#include <zephyr/dt-bindings/regulator/pca9420_i2c.h>
#include "mimxrt685_evk_cm33-pinctrl.dtsi"

View file

@ -3,7 +3,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <init.h>
#include <zephyr/init.h>
#include <fsl_iopctl.h>
#include <soc.h>

View file

@ -3,7 +3,7 @@
/dts-v1/;
#include <arm/armv7-m.dtsi>
#include <dt-bindings/i2c/i2c.h>
#include <zephyr/dt-bindings/i2c/i2c.h>
/ {
compatible = "arm,mps2";

View file

@ -4,12 +4,12 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <device.h>
#include <init.h>
#include <kernel.h>
#include <drivers/pinmux.h>
#include <zephyr/device.h>
#include <zephyr/init.h>
#include <zephyr/kernel.h>
#include <zephyr/drivers/pinmux.h>
#include <soc.h>
#include <sys/sys_io.h>
#include <zephyr/sys/sys_io.h>
#include <gpio/gpio_cmsdk_ahb.h>
/**

View file

@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <zephyr.h>
#include <zephyr/zephyr.h>
extern void wakeup_cpu1(void);

View file

@ -8,7 +8,7 @@
#include <mem.h>
#include <arm/armv8-m.dtsi>
#include <dt-bindings/i2c/i2c.h>
#include <zephyr/dt-bindings/i2c/i2c.h>
/ {
compatible = "arm,mps2";

View file

@ -8,7 +8,7 @@
#include <mem.h>
#include <arm/armv8-m.dtsi>
#include <dt-bindings/i2c/i2c.h>
#include <zephyr/dt-bindings/i2c/i2c.h>
/ {
compatible = "arm,mps2";

View file

@ -8,7 +8,7 @@
#include <mem.h>
#include <arm/armv8-m.dtsi>
#include <dt-bindings/i2c/i2c.h>
#include <zephyr/dt-bindings/i2c/i2c.h>
/ {
compatible = "arm,mps2";

View file

@ -4,12 +4,12 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <device.h>
#include <init.h>
#include <kernel.h>
#include <drivers/pinmux.h>
#include <zephyr/device.h>
#include <zephyr/init.h>
#include <zephyr/kernel.h>
#include <zephyr/drivers/pinmux.h>
#include <soc.h>
#include <sys/sys_io.h>
#include <zephyr/sys/sys_io.h>
#include <gpio/gpio_cmsdk_ahb.h>
/**

View file

@ -7,7 +7,7 @@
/dts-v1/;
#include <arm/armv8.1-m.dtsi>
#include <dt-bindings/i2c/i2c.h>
#include <zephyr/dt-bindings/i2c/i2c.h>
#include <mem.h>
/ {

View file

@ -7,7 +7,7 @@
/dts-v1/;
#include <arm/armv8.1-m.dtsi>
#include <dt-bindings/i2c/i2c.h>
#include <zephyr/dt-bindings/i2c/i2c.h>
#include <mem.h>
/ {

View file

@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <init.h>
#include <zephyr/init.h>
#include <hal/nrf_power.h>
static int board_nrf52840dongle_nrf52840_init(const struct device *dev)

View file

@ -4,9 +4,9 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <zephyr.h>
#include <init.h>
#include <logging/log.h>
#include <zephyr/zephyr.h>
#include <zephyr/init.h>
#include <zephyr/logging/log.h>
#include <soc.h>
#include <soc_secure.h>

View file

@ -4,8 +4,8 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <init.h>
#include <drivers/gpio.h>
#include <zephyr/init.h>
#include <zephyr/drivers/gpio.h>
#define VDD_3V3_PWR_CTRL_GPIO_PIN 12 /* ENABLE_3V3_SENSOR --> i2c sensors */
#define VDD_5V0_PWR_CTRL_GPIO_PIN 21 /* ENABLE_5V0_BOOST --> speed sensor */

View file

@ -4,8 +4,8 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <init.h>
#include <drivers/gpio.h>
#include <zephyr/init.h>
#include <zephyr/drivers/gpio.h>
#define VDD_5V0_PWR_CTRL_GPIO_PIN 21 /* ENABLE_5V0_BOOST --> speed sensor */

View file

@ -4,11 +4,11 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <zephyr.h>
#include <init.h>
#include <drivers/gpio.h>
#include <devicetree.h>
#include <logging/log.h>
#include <zephyr/zephyr.h>
#include <zephyr/init.h>
#include <zephyr/drivers/gpio.h>
#include <zephyr/devicetree.h>
#include <zephyr/logging/log.h>
#include <hal/nrf_gpio.h>
LOG_MODULE_REGISTER(board_control, CONFIG_BOARD_NRF9160DK_LOG_LEVEL);

View file

@ -4,10 +4,10 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <drivers/gpio.h>
#include <drivers/uart.h>
#include <device.h>
#include <devicetree.h>
#include <zephyr/drivers/gpio.h>
#include <zephyr/drivers/uart.h>
#include <zephyr/device.h>
#include <zephyr/devicetree.h>
#define RESET_NODE DT_NODELABEL(nrf52840_reset)

View file

@ -5,8 +5,8 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <init.h>
#include <drivers/gpio.h>
#include <zephyr/init.h>
#include <zephyr/drivers/gpio.h>
#include "board.h"
static inline void external_antenna(bool on)

View file

@ -5,8 +5,8 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <init.h>
#include <drivers/gpio.h>
#include <zephyr/init.h>
#include <zephyr/drivers/gpio.h>
#include "board.h"
static inline void external_antenna(bool on)

View file

@ -6,7 +6,7 @@
/dts-v1/;
#include <nordic/nrf52840_qiaa.dtsi>
#include <dt-bindings/gpio/gpio.h>
#include <zephyr/dt-bindings/gpio/gpio.h>
#include "mesh_feather.dtsi"
#include "particle_boron-pinctrl.dtsi"

View file

@ -5,8 +5,8 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <init.h>
#include <drivers/gpio.h>
#include <zephyr/init.h>
#include <zephyr/drivers/gpio.h>
#include "board.h"
static inline void external_antenna(bool on)

View file

@ -5,7 +5,7 @@
*/
#include <init.h>
#include <zephyr/init.h>
#include "device_imx.h"
static int pico_pi_m4_pinmux_init(const struct device *dev)

View file

@ -4,8 +4,8 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <drivers/gpio.h>
#include <logging/log.h>
#include <zephyr/drivers/gpio.h>
#include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(pine64_pinetime_key_out);

View file

@ -6,7 +6,7 @@
/dts-v1/;
#include <xilinx/zynq7000.dtsi>
#include <dt-bindings/ethernet/xlnx_gem.h>
#include <zephyr/dt-bindings/ethernet/xlnx_gem.h>
/ {
model = "QEMU Cortex-A9";

View file

@ -6,12 +6,12 @@
*/
#include <soc.h>
#include <drivers/clock_control.h>
#include <drivers/clock_control/nrf_clock_control.h>
#include <drivers/timer/system_timer.h>
#include <sys_clock.h>
#include <zephyr/drivers/clock_control.h>
#include <zephyr/drivers/clock_control/nrf_clock_control.h>
#include <zephyr/drivers/timer/system_timer.h>
#include <zephyr/sys_clock.h>
#include <hal/nrf_timer.h>
#include <spinlock.h>
#include <zephyr/spinlock.h>
#define TIMER NRF_TIMER0

View file

@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <init.h>
#include <zephyr/init.h>
#include <soc.h>
#include <board.h>

View file

@ -6,7 +6,7 @@
/dts-v1/;
#include <nordic/nrf52840_qiaa.dtsi>
#include <dt-bindings/lora/sx126x.h>
#include <zephyr/dt-bindings/lora/sx126x.h>
#include "rak4631_nrf52840-pinctrl.dtsi"
/ {

View file

@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <dt-bindings/pinctrl/renesas/pinctrl-r8a77951.h>
#include <zephyr/dt-bindings/pinctrl/renesas/pinctrl-r8a77951.h>
&pfc {
can0_data_a_tx_default: can0_data_a_tx_default {

View file

@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <dt-bindings/pinctrl/renesas/pinctrl-r8a77951.h>
#include <zephyr/dt-bindings/pinctrl/renesas/pinctrl-r8a77951.h>
&pfc {
can0_data_a_tx_default: can0_data_a_tx_default {

View file

@ -7,7 +7,7 @@
/dts-v1/;
#include <nxp/nxp_k66.dtsi>
#include <dt-bindings/pwm/pwm.h>
#include <zephyr/dt-bindings/pwm/pwm.h>
#include "rddrone_fmuk66-pinctrl.dtsi"
/ {

View file

@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <init.h>
#include <zephyr/init.h>
#include <soc.h>
/* Peripheral voltage ON/OFF GPIO */

View file

@ -3,7 +3,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <dt-bindings/pinctrl/rpi-pico-rp2040-pinctrl.h>
#include <zephyr/dt-bindings/pinctrl/rpi-pico-rp2040-pinctrl.h>
&pinctrl {
uart0_default: uart0_default {

View file

@ -9,7 +9,7 @@
#include <rpi_pico/rp2040.dtsi>
#include "rpi_pico-pinctrl.dtsi"
#include <dt-bindings/i2c/i2c.h>
#include <zephyr/dt-bindings/i2c/i2c.h>
/ {
chosen {

View file

@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <init.h>
#include <zephyr/init.h>
static int sam4e_xpro_init(const struct device *dev)
{

View file

@ -4,8 +4,8 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <init.h>
#include <drivers/gpio.h>
#include <zephyr/init.h>
#include <zephyr/drivers/gpio.h>
#define GPIO0 DT_LABEL(DT_NODELABEL(gpio0))
#define POWER_LATCH_PIN 31

View file

@ -7,8 +7,8 @@
/dts-v1/;
#include <st/f4/stm32f429Xi.dtsi>
#include <st/f4/stm32f429zitx-pinctrl.dtsi>
#include <dt-bindings/display/stm32_ltdc.h>
#include <dt-bindings/display/ili9xxx.h>
#include <zephyr/dt-bindings/display/stm32_ltdc.h>
#include <zephyr/dt-bindings/display/ili9xxx.h>
/ {
model = "STMicroelectronics STM32F429I_DISC1 board";

View file

@ -7,7 +7,7 @@
/dts-v1/;
#include <st/g0/stm32g071Xb.dtsi>
#include <st/g0/stm32g071r(6-8-b)tx-pinctrl.dtsi>
#include <dt-bindings/sensor/ina230.h>
#include <zephyr/dt-bindings/sensor/ina230.h>
/ {
model = "STM32G071B DEMO board";

View file

@ -7,7 +7,7 @@
/dts-v1/;
#include <st/h7/stm32h7b3Xi.dtsi>
#include <st/h7/stm32h7b3lihxq-pinctrl.dtsi>
#include <dt-bindings/display/stm32_ltdc.h>
#include <zephyr/dt-bindings/display/stm32_ltdc.h>
#include "arduino_r3_connector.dtsi"
/ {

View file

@ -3,10 +3,10 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <zephyr.h>
#include <init.h>
#include <zephyr/zephyr.h>
#include <zephyr/init.h>
#include <stm32_ll_adc.h>
#include <devicetree.h>
#include <zephyr/devicetree.h>
static int enable_adc_reference(const struct device *dev)
{

View file

@ -4,9 +4,9 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <init.h>
#include <drivers/gpio.h>
#include <sys/printk.h>
#include <zephyr/init.h>
#include <zephyr/drivers/gpio.h>
#include <zephyr/sys/printk.h>
#define VDD_PWR_CTRL_GPIO_PIN 30
#define CCS_VDD_PWR_CTRL_GPIO_PIN 10

View file

@ -4,13 +4,13 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <init.h>
#include <zephyr/init.h>
#include <hal/nrf_gpio.h>
#include <nrfx.h>
#include <device.h>
#include <drivers/gpio.h>
#include <zephyr/device.h>
#include <zephyr/drivers/gpio.h>
#include <logging/log.h>
#include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(thingy53_board_init);
#define ADXL362_NODE DT_NODELABEL(adxl362)

View file

@ -5,8 +5,8 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <init.h>
#include <drivers/pinctrl.h>
#include <zephyr/init.h>
#include <zephyr/drivers/pinctrl.h>
static int twr_ke18f_pinmux_init(const struct device *dev)
{

View file

@ -7,8 +7,8 @@
/dts-v1/;
#include <nxp/nxp_ke18f512vlx16.dtsi>
#include <dt-bindings/clock/kinetis_scg.h>
#include <dt-bindings/pwm/pwm.h>
#include <zephyr/dt-bindings/clock/kinetis_scg.h>
#include <zephyr/dt-bindings/pwm/pwm.h>
#include "twr_ke18f-pinctrl.dtsi"
/ {

View file

@ -5,8 +5,8 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <device.h>
#include <drivers/gpio.h>
#include <zephyr/device.h>
#include <zephyr/drivers/gpio.h>
#define MODE_PIN 4 /* P1.04 */
#define A_SEL_PIN 2 /* P1.02 */

View file

@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <init.h>
#include <zephyr/init.h>
#include "device_imx.h"
static int udoo_neo_full_m4_init(const struct device *dev)

View file

@ -4,12 +4,12 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <device.h>
#include <init.h>
#include <kernel.h>
#include <drivers/pinmux.h>
#include <zephyr/device.h>
#include <zephyr/init.h>
#include <zephyr/kernel.h>
#include <zephyr/drivers/pinmux.h>
#include <soc.h>
#include <sys/sys_io.h>
#include <zephyr/sys/sys_io.h>
#include <gpio/gpio_cmsdk_ahb.h>
/**

View file

@ -4,12 +4,12 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <device.h>
#include <init.h>
#include <kernel.h>
#include <drivers/pinmux.h>
#include <zephyr/device.h>
#include <zephyr/init.h>
#include <zephyr/kernel.h>
#include <zephyr/drivers/pinmux.h>
#include <soc.h>
#include <sys/sys_io.h>
#include <zephyr/sys/sys_io.h>
#define IOMUX_MAIN_INSEL (0x68 >> 2)
#define IOMUX_MAIN_OUTSEL (0x70 >> 2)

View file

@ -4,12 +4,12 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <device.h>
#include <init.h>
#include <kernel.h>
#include <drivers/pinmux.h>
#include <zephyr/device.h>
#include <zephyr/init.h>
#include <zephyr/kernel.h>
#include <zephyr/drivers/pinmux.h>
#include <soc.h>
#include <sys/sys_io.h>
#include <zephyr/sys/sys_io.h>
#define IOMUX_MAIN_INSEL (0x868 >> 2)
#define IOMUX_MAIN_OUTSEL (0x870 >> 2)

View file

@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <init.h>
#include <zephyr/init.h>
#include "device_imx.h"
static int warp7_m4_pinmux_init(const struct device *dev)

View file

@ -7,7 +7,7 @@
#include <mem.h>
#include <arm64/armv8-a.dtsi>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <zephyr/dt-bindings/interrupt-controller/arm-gic.h>
/ {
model = "FVP Base RevC 2xAEMv8A";

View file

@ -15,7 +15,7 @@
#include <mem.h>
#include <arm64/armv8-a.dtsi>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <zephyr/dt-bindings/interrupt-controller/arm-gic.h>
/ {
model = "XENVM-4.15";

View file

@ -13,7 +13,7 @@
#include "timer_model.h"
#include "cmdline.h"
#include "toolchain.h"
#include <arch/posix/posix_trace.h>
#include <zephyr/arch/posix/posix_trace.h>
#include "native_tracing.h"
static int s_argc, test_argc;

View file

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

View file

@ -6,7 +6,7 @@
#include <stdbool.h>
#include "timer_model.h"
#include <arch/posix/posix_soc_if.h>
#include <zephyr/arch/posix/posix_soc_if.h>
#include <posix_board_if.h>
#include <posix_soc.h>

View file

@ -19,10 +19,10 @@
#include "irq_ctrl.h"
#include "posix_board_if.h"
#include "hw_counter.h"
#include <arch/posix/posix_soc_if.h>
#include <zephyr/arch/posix/posix_soc_if.h>
#include "posix_arch_internal.h"
#include "sdl_events.h"
#include <sys/util.h>
#include <zephyr/sys/util.h>
static uint64_t simu_time; /* The actual time as known by the HW models */

Some files were not shown because too many files have changed in this diff Show more