zephyr: Update include paths to use the zephyr namespace.

Zephyr v3.1.0 moved all public headers to include/zephyr.

Signed-off-by: Maureen Helm <maureen.helm@intel.com>
pull/8756/head
Maureen Helm 2022-05-23 14:43:13 -05:00 zatwierdzone przez Damien George
rodzic 49c23ac08f
commit 4fd54a4756
16 zmienionych plików z 38 dodań i 38 usunięć

Wyświetl plik

@ -29,8 +29,8 @@
#include <stdint.h>
#include <string.h>
#include <zephyr.h>
#include <drivers/i2c.h>
#include <zephyr/zephyr.h>
#include <zephyr/drivers/i2c.h>
#include "py/runtime.h"
#include "py/gc.h"

Wyświetl plik

@ -29,8 +29,8 @@
#include <stdint.h>
#include <string.h>
#include <zephyr.h>
#include <drivers/gpio.h>
#include <zephyr/zephyr.h>
#include <zephyr/drivers/gpio.h>
#include "py/runtime.h"
#include "py/gc.h"

Wyświetl plik

@ -28,8 +28,8 @@
#include <stdint.h>
#include <string.h>
#include <zephyr.h>
#include <drivers/spi.h>
#include <zephyr/zephyr.h>
#include <zephyr/drivers/spi.h>
#include "py/runtime.h"
#include "py/gc.h"

Wyświetl plik

@ -29,8 +29,8 @@
#include <stdint.h>
#include <string.h>
#include <zephyr.h>
#include <drivers/uart.h>
#include <zephyr/zephyr.h>
#include <zephyr/drivers/uart.h>
#include "py/runtime.h"
#include "py/stream.h"

Wyświetl plik

@ -29,16 +29,16 @@
#include <stdio.h>
#include <string.h>
#include <zephyr.h>
#include <zephyr/zephyr.h>
#ifdef CONFIG_NETWORKING
#include <net/net_context.h>
#include <zephyr/net/net_context.h>
#endif
#ifdef CONFIG_USB_DEVICE_STACK
#include <usb/usb_device.h>
#include <zephyr/usb/usb_device.h>
#endif
#include <storage/flash_map.h>
#include <zephyr/storage/flash_map.h>
#include "py/mperrno.h"
#include "py/builtin.h"

Wyświetl plik

@ -28,7 +28,7 @@
#include <stdint.h>
#include <stdio.h>
#include <sys/reboot.h>
#include <zephyr/sys/reboot.h>
#include "py/obj.h"
#include "py/runtime.h"

Wyświetl plik

@ -31,14 +31,14 @@
#include "py/stream.h"
#include <stdio.h>
#include <zephyr.h>
#include <zephyr/zephyr.h>
// Zephyr's generated version header
#include <version.h>
#include <net/net_context.h>
#include <net/net_pkt.h>
#include <net/dns_resolve.h>
#include <zephyr/net/net_context.h>
#include <zephyr/net/net_pkt.h>
#include <zephyr/net/dns_resolve.h>
#ifdef CONFIG_NET_SOCKETS
#include <net/socket.h>
#include <zephyr/net/socket.h>
#endif
#define DEBUG_PRINT 0

Wyświetl plik

@ -28,7 +28,7 @@
#include "py/mpconfig.h"
#if MICROPY_PY_UTIME
#include <zephyr.h>
#include <zephyr/zephyr.h>
#include "py/runtime.h"
#include "py/smallint.h"

Wyświetl plik

@ -29,10 +29,10 @@
#if MICROPY_PY_ZEPHYR
#include <stdio.h>
#include <zephyr.h>
#include <debug/thread_analyzer.h>
#include <shell/shell.h>
#include <shell/shell_uart.h>
#include <zephyr/zephyr.h>
#include <zephyr/debug/thread_analyzer.h>
#include <zephyr/shell/shell.h>
#include <zephyr/shell/shell_uart.h>
#include "modzephyr.h"
#include "py/runtime.h"

Wyświetl plik

@ -28,8 +28,8 @@
#include "py/runtime.h"
#include <zephyr.h>
#include <drivers/sensor.h>
#include <zephyr/zephyr.h>
#include <zephyr/drivers/sensor.h>
#if MICROPY_PY_ZSENSOR

Wyświetl plik

@ -28,8 +28,8 @@
// Include Zephyr's autoconf.h, which should be made first by Zephyr makefiles
#include "autoconf.h"
// Included here to get basic Zephyr environment (macros, etc.)
#include <zephyr.h>
#include <drivers/spi.h>
#include <zephyr/zephyr.h>
#include <zephyr/drivers/spi.h>
// Usually passed from Makefile
#ifndef MICROPY_HEAP_SIZE

Wyświetl plik

@ -1,4 +1,4 @@
#include <zephyr.h>
#include <zephyr/zephyr.h>
#include "shared/runtime/interrupt_char.h"
void mp_hal_init(void);

Wyświetl plik

@ -14,10 +14,10 @@
* limitations under the License.
*/
#include <zephyr.h>
#include <drivers/uart.h>
#include <drivers/console/uart_console.h>
#include <sys/printk.h>
#include <zephyr/zephyr.h>
#include <zephyr/drivers/uart.h>
#include <zephyr/drivers/console/uart_console.h>
#include <zephyr/sys/printk.h>
#include "zephyr_getchar.h"
extern int mp_interrupt_char;

Wyświetl plik

@ -23,8 +23,8 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
#include <zephyr.h>
#include <console/console.h>
#include <zephyr/zephyr.h>
#include <zephyr/console/console.h>
#include "zephyr_getchar.h"
int real_main(void);

Wyświetl plik

@ -27,8 +27,8 @@
#include "py/mpconfig.h"
#include "src/zephyr_getchar.h"
// Zephyr headers
#include <drivers/uart.h>
#include <console/console.h>
#include <zephyr/drivers/uart.h>
#include <zephyr/console/console.h>
/*
* Core UART functions to implement for a port

Wyświetl plik

@ -32,11 +32,11 @@
#endif
#ifdef CONFIG_DISK_ACCESS
#include <storage/disk_access.h>
#include <zephyr/storage/disk_access.h>
#endif
#ifdef CONFIG_FLASH_MAP
#include <storage/flash_map.h>
#include <zephyr/storage/flash_map.h>
#endif
#ifdef CONFIG_DISK_ACCESS