Introduce new sized integer typedefs
This is a start to move away from the C99 {u}int{8,16,32,64}_t types to Zephyr defined u{8,16,32,64}_t and s{8,16,32,64}_t. This allows Zephyr to define the sized types in a consistent manor across all the architectures we support and not conflict with what various compilers and libc might do with regards to the C99 types. We introduce <zephyr/types.h> as part of this and have it include <stdint.h> for now until we transition all the code away from the C99 types. We go with u{8,16,32,64}_t and s{8,16,32,64}_t as there are some existing variables defined u8 & u16 as well as to be consistent with Zephyr naming conventions. Jira: ZEP-2051 Change-Id: I451fed0623b029d65866622e478225dfab2c0ca8 Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
01e9646638
commit
789081673f
204 changed files with 233 additions and 204 deletions
|
@ -16,7 +16,7 @@
|
||||||
* initialization is performed.
|
* initialization is performed.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
#include <toolchain.h>
|
#include <toolchain.h>
|
||||||
#include <linker-defs.h>
|
#include <linker-defs.h>
|
||||||
#include <arch/arc/v2/aux_regs.h>
|
#include <arch/arc/v2/aux_regs.h>
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
* swapped.
|
* swapped.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
#include <toolchain.h>
|
#include <toolchain.h>
|
||||||
#include "vector_table.h"
|
#include "vector_table.h"
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,7 @@ extern "C" {
|
||||||
#ifndef _ASMLANGUAGE
|
#ifndef _ASMLANGUAGE
|
||||||
#include <kernel.h>
|
#include <kernel.h>
|
||||||
#include <nano_internal.h>
|
#include <nano_internal.h>
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
#include <misc/util.h>
|
#include <misc/util.h>
|
||||||
#include <misc/dlist.h>
|
#include <misc/dlist.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <kernel.h>
|
#include <kernel.h>
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
#include <toolchain.h>
|
#include <toolchain.h>
|
||||||
#include <linker-defs.h>
|
#include <linker-defs.h>
|
||||||
#include <nano_internal.h>
|
#include <nano_internal.h>
|
||||||
|
|
|
@ -31,7 +31,7 @@ extern "C" {
|
||||||
#ifndef _ASMLANGUAGE
|
#ifndef _ASMLANGUAGE
|
||||||
#include <kernel.h>
|
#include <kernel.h>
|
||||||
#include <nano_internal.h>
|
#include <nano_internal.h>
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
#include <misc/dlist.h>
|
#include <misc/dlist.h>
|
||||||
#include <atomic.h>
|
#include <atomic.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
#define _ARM_MPS2_REGS_H_
|
#define _ARM_MPS2_REGS_H_
|
||||||
|
|
||||||
#include <misc/util.h>
|
#include <misc/util.h>
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
|
|
||||||
/* System Control Register (SYSCON) */
|
/* System Control Register (SYSCON) */
|
||||||
struct mps2_syscon {
|
struct mps2_syscon {
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
#ifndef _ATMEL_SAM_SOC_GPIO_H_
|
#ifndef _ATMEL_SAM_SOC_GPIO_H_
|
||||||
#define _ATMEL_SAM_SOC_GPIO_H_
|
#define _ATMEL_SAM_SOC_GPIO_H_
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
#include <soc.h>
|
#include <soc.h>
|
||||||
#include <gpio.h>
|
#include <gpio.h>
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
#ifndef _ATMEL_SAM_SOC_PMC_H_
|
#ifndef _ATMEL_SAM_SOC_PMC_H_
|
||||||
#define _ATMEL_SAM_SOC_PMC_H_
|
#define _ATMEL_SAM_SOC_PMC_H_
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Enable the clock of specified peripheral module.
|
* @brief Enable the clock of specified peripheral module.
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
#ifndef _STM32F3X_FLASH_REGISTERS_H_
|
#ifndef _STM32F3X_FLASH_REGISTERS_H_
|
||||||
#define _STM32F3X_FLASH_REGISTERS_H_
|
#define _STM32F3X_FLASH_REGISTERS_H_
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief
|
* @brief
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
* Currently, only enabling the main OSC with default value is implemented.
|
* Currently, only enabling the main OSC with default value is implemented.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
#include <toolchain.h>
|
#include <toolchain.h>
|
||||||
#include <sections.h>
|
#include <sections.h>
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
#ifndef _SCP_H_
|
#ifndef _SCP_H_
|
||||||
#define _SCP_H_
|
#define _SCP_H_
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* initialization is performed.
|
* initialization is performed.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
#include <toolchain.h>
|
#include <toolchain.h>
|
||||||
#include <linker-defs.h>
|
#include <linker-defs.h>
|
||||||
#include <kernel_structs.h>
|
#include <kernel_structs.h>
|
||||||
|
|
|
@ -32,7 +32,7 @@ extern "C" {
|
||||||
#ifndef _ASMLANGUAGE
|
#ifndef _ASMLANGUAGE
|
||||||
#include <kernel.h>
|
#include <kernel.h>
|
||||||
#include <nano_internal.h>
|
#include <nano_internal.h>
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
#include <misc/util.h>
|
#include <misc/util.h>
|
||||||
#include <misc/dlist.h>
|
#include <misc/dlist.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -25,7 +25,7 @@ extern "C" {
|
||||||
|
|
||||||
#ifndef _ASMLANGUAGE
|
#ifndef _ASMLANGUAGE
|
||||||
#include <kernel.h>
|
#include <kernel.h>
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
#include <misc/util.h>
|
#include <misc/util.h>
|
||||||
#include <misc/dlist.h>
|
#include <misc/dlist.h>
|
||||||
#include <nano_internal.h>
|
#include <nano_internal.h>
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
#ifndef _ASMLANGUAGE
|
#ifndef _ASMLANGUAGE
|
||||||
#include <kernel.h>
|
#include <kernel.h>
|
||||||
#include <nano_internal.h>
|
#include <nano_internal.h>
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
#include <misc/dlist.h>
|
#include <misc/dlist.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
#ifndef __SOC_H_
|
#ifndef __SOC_H_
|
||||||
#define __SOC_H_
|
#define __SOC_H_
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
#include <misc/util.h>
|
#include <misc/util.h>
|
||||||
#include <uart.h>
|
#include <uart.h>
|
||||||
#include <drivers/ioapic.h>
|
#include <drivers/ioapic.h>
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
#ifndef __SOC_H_
|
#ifndef __SOC_H_
|
||||||
#define __SOC_H_
|
#define __SOC_H_
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
#include <misc/util.h>
|
#include <misc/util.h>
|
||||||
#include <uart.h>
|
#include <uart.h>
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
#include <device.h>
|
#include <device.h>
|
||||||
#include <init.h>
|
#include <init.h>
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <xtensa_api.h>
|
#include <xtensa_api.h>
|
||||||
#include <kernel_arch_data.h>
|
#include <kernel_arch_data.h>
|
||||||
|
|
|
@ -32,7 +32,7 @@ extern "C" {
|
||||||
#if !defined(_ASMLANGUAGE) && !defined(__ASSEMBLER__)
|
#if !defined(_ASMLANGUAGE) && !defined(__ASSEMBLER__)
|
||||||
#include <kernel.h> /* public kernel API */
|
#include <kernel.h> /* public kernel API */
|
||||||
#include <nano_internal.h>
|
#include <nano_internal.h>
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
#include <misc/dlist.h>
|
#include <misc/dlist.h>
|
||||||
#include <misc/util.h>
|
#include <misc/util.h>
|
||||||
|
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
#ifndef DW_ADC_H_
|
#ifndef DW_ADC_H_
|
||||||
#define DW_ADC_H_
|
#define DW_ADC_H_
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
#include <adc.h>
|
#include <adc.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
#include <net/buf.h>
|
#include <net/buf.h>
|
||||||
|
|
||||||
/** Identifiers of the signature supported by the RPC */
|
/** Identifiers of the signature supported by the RPC */
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
#include <arch/cpu.h>
|
#include <arch/cpu.h>
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
#ifndef _ETH_SAM_GMAC_PRIV_H_
|
#ifndef _ETH_SAM_GMAC_PRIV_H_
|
||||||
#define _ETH_SAM_GMAC_PRIV_H_
|
#define _ETH_SAM_GMAC_PRIV_H_
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
|
|
||||||
#define GMAC_MTU 1500
|
#define GMAC_MTU 1500
|
||||||
#define GMAC_FRAME_SIZE_MAX (GMAC_MTU + 18)
|
#define GMAC_FRAME_SIZE_MAX (GMAC_MTU + 18)
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
#ifndef _PHY_SAM_GMAC_H_
|
#ifndef _PHY_SAM_GMAC_H_
|
||||||
#define _PHY_SAM_GMAC_H_
|
#define _PHY_SAM_GMAC_H_
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
#include <soc.h>
|
#include <soc.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
#ifndef _GPIO_DW_H_
|
#ifndef _GPIO_DW_H_
|
||||||
#define _GPIO_DW_H_
|
#define _GPIO_DW_H_
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
#include <gpio.h>
|
#include <gpio.h>
|
||||||
#include "gpio_dw_registers.h"
|
#include "gpio_dw_registers.h"
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
#ifndef __GPIO_SCH_H__
|
#ifndef __GPIO_SCH_H__
|
||||||
#define __GPIO_SCH_H__
|
#define __GPIO_SCH_H__
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
#include <kernel.h>
|
#include <kernel.h>
|
||||||
#include <gpio.h>
|
#include <gpio.h>
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
*/
|
*/
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
#ifndef _STM32_EXTI_H_
|
#ifndef _STM32_EXTI_H_
|
||||||
#define _STM32_EXTI_H_
|
#define _STM32_EXTI_H_
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
|
|
||||||
/* device name */
|
/* device name */
|
||||||
#define STM32_EXTI_NAME "stm32-exti"
|
#define STM32_EXTI_NAME "stm32-exti"
|
||||||
|
|
|
@ -79,7 +79,7 @@
|
||||||
|
|
||||||
#include <kernel.h>
|
#include <kernel.h>
|
||||||
#include <arch/cpu.h>
|
#include <arch/cpu.h>
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <misc/__assert.h>
|
#include <misc/__assert.h>
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <kernel.h>
|
#include <kernel.h>
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <device.h>
|
#include <device.h>
|
||||||
#include <init.h>
|
#include <init.h>
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
#ifndef __DRIVERS_PINMUX_H
|
#ifndef __DRIVERS_PINMUX_H
|
||||||
#define __DRIVERS_PINMUX_H
|
#define __DRIVERS_PINMUX_H
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
#include <device.h>
|
#include <device.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
#ifndef _STM32_PINMUX_H_
|
#ifndef _STM32_PINMUX_H_
|
||||||
#define _STM32_PINMUX_H_
|
#define _STM32_PINMUX_H_
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <clock_control.h>
|
#include <clock_control.h>
|
||||||
#include "pinmux/pinmux.h"
|
#include "pinmux/pinmux.h"
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
#ifndef __SENSOR_ADXL362_H__
|
#ifndef __SENSOR_ADXL362_H__
|
||||||
#define __SENSOR_ADXL362_H__
|
#define __SENSOR_ADXL362_H__
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
#include <device.h>
|
#include <device.h>
|
||||||
|
|
||||||
#define ADXL362_SLAVE_ID 1
|
#define ADXL362_SLAVE_ID 1
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
#include <device.h>
|
#include <device.h>
|
||||||
#include <misc/util.h>
|
#include <misc/util.h>
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
#include <gpio.h>
|
#include <gpio.h>
|
||||||
|
|
||||||
#define BMA280_I2C_ADDRESS CONFIG_BMA280_I2C_ADDR
|
#define BMA280_I2C_ADDRESS CONFIG_BMA280_I2C_ADDR
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
#ifndef __SENSOR_BMC150_MAGN_H__
|
#ifndef __SENSOR_BMC150_MAGN_H__
|
||||||
#define __SENSOR_BMC150_MAGN_H__
|
#define __SENSOR_BMC150_MAGN_H__
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
#include <i2c.h>
|
#include <i2c.h>
|
||||||
#include <misc/util.h>
|
#include <misc/util.h>
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
#ifndef __SENSOR_BME280_H__
|
#ifndef __SENSOR_BME280_H__
|
||||||
#define __SENSOR_BME280_H__
|
#define __SENSOR_BME280_H__
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
#include <device.h>
|
#include <device.h>
|
||||||
|
|
||||||
#define BME280_REG_PRESS_MSB 0xF7
|
#define BME280_REG_PRESS_MSB 0xF7
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
#include <device.h>
|
#include <device.h>
|
||||||
#include <misc/util.h>
|
#include <misc/util.h>
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
#include <gpio.h>
|
#include <gpio.h>
|
||||||
|
|
||||||
#define SYS_LOG_DOMAIN "HMC5883L"
|
#define SYS_LOG_DOMAIN "HMC5883L"
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
#include <device.h>
|
#include <device.h>
|
||||||
#include <misc/util.h>
|
#include <misc/util.h>
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
#include <gpio.h>
|
#include <gpio.h>
|
||||||
|
|
||||||
#define SYS_LOG_DOMAIN "HTS221"
|
#define SYS_LOG_DOMAIN "HTS221"
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
#include <device.h>
|
#include <device.h>
|
||||||
#include <misc/util.h>
|
#include <misc/util.h>
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
#include <gpio.h>
|
#include <gpio.h>
|
||||||
|
|
||||||
#define LIS3DH_I2C_ADDRESS CONFIG_LIS3DH_I2C_ADDR
|
#define LIS3DH_I2C_ADDRESS CONFIG_LIS3DH_I2C_ADDR
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
#include <device.h>
|
#include <device.h>
|
||||||
#include <misc/util.h>
|
#include <misc/util.h>
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
#include <gpio.h>
|
#include <gpio.h>
|
||||||
|
|
||||||
#define SYS_LOG_DOMAIN "LIS3MDL"
|
#define SYS_LOG_DOMAIN "LIS3MDL"
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
#ifndef __SENSOR_LPS25HB_H__
|
#ifndef __SENSOR_LPS25HB_H__
|
||||||
#define __SENSOR_LPS25HB_H__
|
#define __SENSOR_LPS25HB_H__
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
#include <i2c.h>
|
#include <i2c.h>
|
||||||
#include <misc/util.h>
|
#include <misc/util.h>
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
#ifndef __SENSOR_LSM6DS0_H__
|
#ifndef __SENSOR_LSM6DS0_H__
|
||||||
#define __SENSOR_LSM6DS0_H__
|
#define __SENSOR_LSM6DS0_H__
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
#include <i2c.h>
|
#include <i2c.h>
|
||||||
#include <misc/util.h>
|
#include <misc/util.h>
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
#ifndef __SENSOR_LSM9DS0_GYRO_H__
|
#ifndef __SENSOR_LSM9DS0_GYRO_H__
|
||||||
#define __SENSOR_LSM9DS0_GYRO_H__
|
#define __SENSOR_LSM9DS0_GYRO_H__
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
#include <i2c.h>
|
#include <i2c.h>
|
||||||
#include <misc/util.h>
|
#include <misc/util.h>
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
#ifndef __SENSOR_LSM9DS0_MFD_H__
|
#ifndef __SENSOR_LSM9DS0_MFD_H__
|
||||||
#define __SENSOR_LSM9DS0_MFD_H__
|
#define __SENSOR_LSM9DS0_MFD_H__
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
#include <misc/util.h>
|
#include <misc/util.h>
|
||||||
|
|
||||||
#define LSM9DS0_MFD_REG_OUT_TEMP_L_XM 0x05
|
#define LSM9DS0_MFD_REG_OUT_TEMP_L_XM 0x05
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
#include <device.h>
|
#include <device.h>
|
||||||
#include <sensor.h>
|
#include <sensor.h>
|
||||||
#include <misc/util.h>
|
#include <misc/util.h>
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
#include <device.h>
|
#include <device.h>
|
||||||
#include <gpio.h>
|
#include <gpio.h>
|
||||||
#include <misc/util.h>
|
#include <misc/util.h>
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
|
|
||||||
#define SYS_LOG_DOMAIN "MPU6050"
|
#define SYS_LOG_DOMAIN "MPU6050"
|
||||||
#define SYS_LOG_LEVEL CONFIG_SYS_LOG_SENSOR_LEVEL
|
#define SYS_LOG_LEVEL CONFIG_SYS_LOG_SENSOR_LEVEL
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
#ifndef __SENSOR_SX9500_H__
|
#ifndef __SENSOR_SX9500_H__
|
||||||
#define __SENSOR_SX9500_H__
|
#define __SENSOR_SX9500_H__
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
#include <device.h>
|
#include <device.h>
|
||||||
|
|
||||||
#define SX9500_REG_IRQ_SRC 0x00
|
#define SX9500_REG_IRQ_SRC 0x00
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
|
|
||||||
#include <kernel.h>
|
#include <kernel.h>
|
||||||
#include <arch/cpu.h>
|
#include <arch/cpu.h>
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
|
|
||||||
#include <board.h>
|
#include <board.h>
|
||||||
#include <init.h>
|
#include <init.h>
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
#include <arch/cpu.h>
|
#include <arch/cpu.h>
|
||||||
#include <sections.h>
|
#include <sections.h>
|
||||||
#include <misc/__assert.h>
|
#include <misc/__assert.h>
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
#include <misc/util.h>
|
#include <misc/util.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <board.h>
|
#include <board.h>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <kernel.h>
|
#include <kernel.h>
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
#include <system_timer.h>
|
#include <system_timer.h>
|
||||||
#include <xtensa_rtos.h>
|
#include <xtensa_rtos.h>
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
#ifndef _STM32_IWDG_H_
|
#ifndef _STM32_IWDG_H_
|
||||||
#define _STM32_IWDG_H_
|
#define _STM32_IWDG_H_
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Driver for Independent Watchdog (IWDG) for STM32 MCUs
|
* @brief Driver for Independent Watchdog (IWDG) for STM32 MCUs
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
#ifndef __INCLUDE_ADC_H__
|
#ifndef __INCLUDE_ADC_H__
|
||||||
#define __INCLUDE_ADC_H__
|
#define __INCLUDE_ADC_H__
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
#include <device.h>
|
#include <device.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
|
|
@ -18,7 +18,7 @@ extern "C" {
|
||||||
#include <sys_io.h>
|
#include <sys_io.h>
|
||||||
#include <arch/arc/v2/aux_regs.h>
|
#include <arch/arc/v2/aux_regs.h>
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -112,7 +112,7 @@ extern "C" {
|
||||||
#ifndef _ASMLANGUAGE
|
#ifndef _ASMLANGUAGE
|
||||||
#if defined(__GNUC__)
|
#if defined(__GNUC__)
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
#define _arc_v2_aux_reg_read(reg) __builtin_arc_lr((volatile uint32_t)reg)
|
#define _arc_v2_aux_reg_read(reg) __builtin_arc_lr((volatile uint32_t)reg)
|
||||||
#define _arc_v2_aux_reg_write(reg, val) __builtin_arc_sr((unsigned int)val, (volatile uint32_t)reg)
|
#define _arc_v2_aux_reg_write(reg, val) __builtin_arc_sr((unsigned int)val, (volatile uint32_t)reg)
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,7 @@ extern "C" {
|
||||||
|
|
||||||
#ifndef _ASMLANGUAGE
|
#ifndef _ASMLANGUAGE
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
|
|
@ -29,7 +29,7 @@ extern "C" {
|
||||||
#define _SCS_ICSR_RETTOBASE (1 << 11)
|
#define _SCS_ICSR_RETTOBASE (1 << 11)
|
||||||
|
|
||||||
#else /* !_ASMLANGUAGE */
|
#else /* !_ASMLANGUAGE */
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
#include <arch/arm/cortex_m/exc.h>
|
#include <arch/arm/cortex_m/exc.h>
|
||||||
#include <irq.h>
|
#include <irq.h>
|
||||||
|
|
||||||
|
|
|
@ -43,7 +43,7 @@ extern "C" {
|
||||||
#ifdef _ASMLANGUAGE
|
#ifdef _ASMLANGUAGE
|
||||||
GTEXT(_ExcExit);
|
GTEXT(_ExcExit);
|
||||||
#else
|
#else
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
|
|
||||||
struct __esf {
|
struct __esf {
|
||||||
sys_define_gpr_with_alias(a1, r0);
|
sys_define_gpr_with_alias(a1, r0);
|
||||||
|
|
|
@ -36,7 +36,7 @@ extern "C" {
|
||||||
#define SIZEOFUNIT_TO_OCTET(X) (X)
|
#define SIZEOFUNIT_TO_OCTET(X) (X)
|
||||||
|
|
||||||
#ifndef _ASMLANGUAGE
|
#ifndef _ASMLANGUAGE
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
#include <irq.h>
|
#include <irq.h>
|
||||||
#include <sw_isr_table.h>
|
#include <sw_isr_table.h>
|
||||||
|
|
||||||
|
|
|
@ -51,7 +51,7 @@ extern "C"
|
||||||
|
|
||||||
#ifndef _ASMLANGUAGE
|
#ifndef _ASMLANGUAGE
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
#include <arch/cpu.h>
|
#include <arch/cpu.h>
|
||||||
#include <sys_io.h>
|
#include <sys_io.h>
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@ extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef _ASMLANGUAGE
|
#ifndef _ASMLANGUAGE
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
#include <toolchain.h>
|
#include <toolchain.h>
|
||||||
|
|
||||||
struct __esf {
|
struct __esf {
|
||||||
|
|
|
@ -23,7 +23,7 @@ extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef _ASMLANGUAGE
|
#ifndef _ASMLANGUAGE
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
#ifndef _SEGMENTATION_H
|
#ifndef _SEGMENTATION_H
|
||||||
#define _SEGMENTATION_H
|
#define _SEGMENTATION_H
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
|
|
||||||
/* Host gen_idt uses this header as well, don't depend on toolchain.h */
|
/* Host gen_idt uses this header as well, don't depend on toolchain.h */
|
||||||
#ifndef __packed
|
#ifndef __packed
|
||||||
|
|
|
@ -21,7 +21,7 @@ extern "C" {
|
||||||
|
|
||||||
#if !defined(_ASMLANGUAGE) && !defined(__ASSEMBLER__)
|
#if !defined(_ASMLANGUAGE) && !defined(__ASSEMBLER__)
|
||||||
#include "sys_io.h" /* Include from the very same folder of this file */
|
#include "sys_io.h" /* Include from the very same folder of this file */
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
#include <sw_isr_table.h>
|
#include <sw_isr_table.h>
|
||||||
#include <arch/xtensa/xtensa_irq.h>
|
#include <arch/xtensa/xtensa_irq.h>
|
||||||
#include <xtensa/config/core.h>
|
#include <xtensa/config/core.h>
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
* @{
|
* @{
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
#include <net/buf.h>
|
#include <net/buf.h>
|
||||||
#include <bluetooth/hci.h>
|
#include <bluetooth/hci.h>
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
#define __BT_HCI_H
|
#define __BT_HCI_H
|
||||||
|
|
||||||
#include <toolchain.h>
|
#include <toolchain.h>
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <misc/util.h>
|
#include <misc/util.h>
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
#ifndef __CLOCK_CONTROL_H__
|
#ifndef __CLOCK_CONTROL_H__
|
||||||
#define __CLOCK_CONTROL_H__
|
#define __CLOCK_CONTROL_H__
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <device.h>
|
#include <device.h>
|
||||||
#include <misc/__assert.h>
|
#include <misc/__assert.h>
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
* @{
|
* @{
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <device.h>
|
#include <device.h>
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
#ifndef __CRC16_H
|
#ifndef __CRC16_H
|
||||||
#define __CRC16_H
|
#define __CRC16_H
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
* @{
|
* @{
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
#ifndef _DISK_ACCESS_H_
|
#ifndef _DISK_ACCESS_H_
|
||||||
#define _DISK_ACCESS_H_
|
#define _DISK_ACCESS_H_
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include <misc/util.h>
|
#include <misc/util.h>
|
||||||
#include <toolchain.h>
|
#include <toolchain.h>
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
#include <device.h>
|
#include <device.h>
|
||||||
#include <gpio.h>
|
#include <gpio.h>
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
|
|
||||||
struct gpio_mmio32_config {
|
struct gpio_mmio32_config {
|
||||||
volatile uint32_t *reg;
|
volatile uint32_t *reg;
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
#ifndef _K20SIM_H_
|
#ifndef _K20SIM_H_
|
||||||
#define _K20SIM_H_
|
#define _K20SIM_H_
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
#include <misc/__assert.h>
|
#include <misc/__assert.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
|
|
@ -47,7 +47,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _ASMLANGUAGE
|
#ifndef _ASMLANGUAGE
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
|
|
||||||
/* Implementation of irq_controller.h interface */
|
/* Implementation of irq_controller.h interface */
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
#ifndef __INCrand32h
|
#ifndef __INCrand32h
|
||||||
#define __INCrand32h
|
#define __INCrand32h
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
* @{
|
* @{
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <device.h>
|
#include <device.h>
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
#include <misc/__assert.h>
|
#include <misc/__assert.h>
|
||||||
#include <misc/slist.h>
|
#include <misc/slist.h>
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <device.h>
|
#include <device.h>
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
#include <device.h>
|
#include <device.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -15,8 +15,7 @@
|
||||||
|
|
||||||
#if !defined(_ASMLANGUAGE)
|
#if !defined(_ASMLANGUAGE)
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
#include <inttypes.h>
|
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
#include <toolchain.h>
|
#include <toolchain.h>
|
||||||
#include <sections.h>
|
#include <sections.h>
|
||||||
|
|
|
@ -135,7 +135,7 @@ GDATA(__data_num_words)
|
||||||
|
|
||||||
#else /* ! _ASMLANGUAGE */
|
#else /* ! _ASMLANGUAGE */
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
extern char __bss_start[];
|
extern char __bss_start[];
|
||||||
extern char __bss_end[];
|
extern char __bss_end[];
|
||||||
#ifdef CONFIG_XIP
|
#ifdef CONFIG_XIP
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
#ifndef __BYTEORDER_H__
|
#ifndef __BYTEORDER_H__
|
||||||
#define __BYTEORDER_H__
|
#define __BYTEORDER_H__
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <misc/__assert.h>
|
#include <misc/__assert.h>
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,7 @@ extern "C" {
|
||||||
|
|
||||||
#ifndef _ASMLANGUAGE
|
#ifndef _ASMLANGUAGE
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
|
|
||||||
/* Helper to pass a int as a pointer or vice-versa.
|
/* Helper to pass a int as a pointer or vice-versa.
|
||||||
* Those are available for 32 bits architectures:
|
* Those are available for 32 bits architectures:
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
#define __NET_BUF_H
|
#define __NET_BUF_H
|
||||||
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
#include <misc/util.h>
|
#include <misc/util.h>
|
||||||
#include <zephyr.h>
|
#include <zephyr.h>
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <misc/slist.h>
|
#include <misc/slist.h>
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
|
|
||||||
/** Current state of DHCPv4 client address negotiation.
|
/** Current state of DHCPv4 client address negotiation.
|
||||||
*
|
*
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
#ifndef __ETHERNET_H
|
#ifndef __ETHERNET_H
|
||||||
#define __ETHERNET_H
|
#define __ETHERNET_H
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
|
||||||
#include <net/net_ip.h>
|
#include <net/net_ip.h>
|
||||||
|
|
|
@ -43,7 +43,7 @@ typedef unsigned __int32 uint32_t;
|
||||||
typedef __int64 int64_t;
|
typedef __int64 int64_t;
|
||||||
typedef unsigned __int64 uint64_t;
|
typedef unsigned __int64 uint64_t;
|
||||||
#else
|
#else
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
#ifndef _MQTT_TYPES_H_
|
#ifndef _MQTT_TYPES_H_
|
||||||
#define _MQTT_TYPES_H_
|
#define _MQTT_TYPES_H_
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief MQTT library
|
* @brief MQTT library
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
#ifndef __NBUF_H
|
#ifndef __NBUF_H
|
||||||
#define __NBUF_H
|
#define __NBUF_H
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
|
||||||
#include <net/buf.h>
|
#include <net/buf.h>
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include <misc/byteorder.h>
|
#include <misc/byteorder.h>
|
||||||
#include <toolchain.h>
|
#include <toolchain.h>
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
#ifndef __NET_LINKADDR_H__
|
#ifndef __NET_LINKADDR_H__
|
||||||
#define __NET_LINKADDR_H__
|
#define __NET_LINKADDR_H__
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
#ifndef __NET_STATS_H
|
#ifndef __NET_STATS_H
|
||||||
#define __NET_STATS_H
|
#define __NET_STATS_H
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
#define __TRICKLE_H
|
#define __TRICKLE_H
|
||||||
|
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
|
|
||||||
#include <kernel.h>
|
#include <kernel.h>
|
||||||
#include <net/net_core.h>
|
#include <net/net_core.h>
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
#ifndef __ZOAP_H__
|
#ifndef __ZOAP_H__
|
||||||
#define __ZOAP_H__
|
#define __ZOAP_H__
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
* @{
|
* @{
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
#include <device.h>
|
#include <device.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
|
|
@ -27,7 +27,7 @@ extern "C" {
|
||||||
#define PWM_ACCESS_ALL 1
|
#define PWM_ACCESS_ALL 1
|
||||||
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <device.h>
|
#include <device.h>
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
#include <device.h>
|
#include <device.h>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
#ifndef _RTC_H_
|
#ifndef _RTC_H_
|
||||||
#define _RTC_H_
|
#define _RTC_H_
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
#include <device.h>
|
#include <device.h>
|
||||||
#include <misc/util.h>
|
#include <misc/util.h>
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
#include <device.h>
|
#include <device.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
* @{
|
* @{
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <zephyr/types.h>
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <device.h>
|
#include <device.h>
|
||||||
|
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue