Updates Zephyr imports to use the <zephyr/...> prefix
See https://docs.zephyrproject.org/latest/releases/release-notes-3.2.html#api-changes
This commit is contained in:
parent
7c0b83e94e
commit
bc08c8284a
10 changed files with 19 additions and 19 deletions
|
|
@ -1,8 +1,8 @@
|
|||
#ifndef _PRST_LED_H_
|
||||
#define _PRST_LED_H_
|
||||
|
||||
#include <drivers/gpio.h>
|
||||
#include <logging/log.h>
|
||||
#include <zephyr/drivers/gpio.h>
|
||||
#include <zephyr/logging/log.h>
|
||||
|
||||
#include "prstlib/macros.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
#include "prstlib/adc.h"
|
||||
|
||||
#include <drivers/adc.h>
|
||||
#include <drivers/gpio.h>
|
||||
#include <drivers/pwm.h>
|
||||
#include <logging/log.h>
|
||||
#include <math.h>
|
||||
#include <zephyr/drivers/adc.h>
|
||||
#include <zephyr/drivers/gpio.h>
|
||||
#include <zephyr/drivers/pwm.h>
|
||||
#include <zephyr/logging/log.h>
|
||||
#include <zephyr/zephyr.h>
|
||||
|
||||
#include "prstlib/macros.h"
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
#include "prstlib/button.h"
|
||||
|
||||
#include <drivers/gpio.h>
|
||||
#include <logging/log.h>
|
||||
#include <zephyr/drivers/gpio.h>
|
||||
#include <zephyr/logging/log.h>
|
||||
|
||||
#include "prstlib/led.h"
|
||||
#include "prstlib/macros.h"
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
#include "prstlib/led.h"
|
||||
|
||||
#include <drivers/gpio.h>
|
||||
#include <zephyr/drivers/gpio.h>
|
||||
|
||||
#include "prstlib/macros.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
#include "prstlib/sensors.h"
|
||||
|
||||
#include <logging/log.h>
|
||||
#include <zephyr/logging/log.h>
|
||||
|
||||
#include "prstlib/adc.h"
|
||||
#include "prstlib/led.h"
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
#include "prstlib/shtc3.h"
|
||||
|
||||
#include <drivers/i2c.h>
|
||||
#include <logging/log.h>
|
||||
#include <zephyr/drivers/i2c.h>
|
||||
#include <zephyr/logging/log.h>
|
||||
#include <zephyr/zephyr.h>
|
||||
|
||||
#include "prstlib/macros.h"
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
#include "ble.h"
|
||||
|
||||
#include <logging/log.h>
|
||||
#include <prstlib/macros.h>
|
||||
#include <zephyr/bluetooth/bluetooth.h>
|
||||
#include <zephyr/logging/log.h>
|
||||
#include <zephyr/settings/settings.h>
|
||||
|
||||
#include "encoding.h"
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
#include "encoding.h"
|
||||
|
||||
#include <logging/log.h>
|
||||
#include <prstlib/macros.h>
|
||||
#include <zephyr/logging/log.h>
|
||||
|
||||
LOG_MODULE_DECLARE(ble, LOG_LEVEL_INF);
|
||||
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
#include <logging/log.h>
|
||||
#include <prstlib/adc.h>
|
||||
#include <prstlib/button.h>
|
||||
#include <prstlib/led.h>
|
||||
#include <prstlib/macros.h>
|
||||
#include <prstlib/sensors.h>
|
||||
#include <prstlib/shtc3.h>
|
||||
#include <zephyr/logging/log.h>
|
||||
#include <zephyr/pm/device.h>
|
||||
#include <zephyr/pm/pm.h>
|
||||
#include <zephyr/pm/policy.h>
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
#include <drivers/adc.h>
|
||||
#include <drivers/gpio.h>
|
||||
#include <drivers/pwm.h>
|
||||
#include <logging/log.h>
|
||||
#include <prstlib/macros.h>
|
||||
#include <zephyr/drivers/adc.h>
|
||||
#include <zephyr/drivers/gpio.h>
|
||||
#include <zephyr/drivers/pwm.h>
|
||||
#include <zephyr/logging/log.h>
|
||||
#include <zephyr/zephyr.h>
|
||||
|
||||
LOG_MODULE_REGISTER(main, LOG_LEVEL_DBG);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue