summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorMaureen Helm <maureen.helm@intel.com>2022-09-16 14:10:53 -0500
committerDamien George <damien@micropython.org>2024-10-02 00:07:46 +1000
commit3a3dbf524b4248832c025d5f988a8216d7d79014 (patch)
tree81993b6da0f07afa5fd986948ed61122e6d7f608
parent17d82344581ad3a76033fae54c5d3304e17f185f (diff)
downloadmicropython-3a3dbf524b4248832c025d5f988a8216d7d79014.tar.gz
micropython-3a3dbf524b4248832c025d5f988a8216d7d79014.zip
zephyr: Update include paths to use the zephyr namespace.
Zephyr v3.1.0 moved all public headers to include/zephyr. Updates a few Zephyr include paths that were missed in 4fd54a475661953946e9e3c3f962b20619c82240. Signed-off-by: Maureen Helm <maureen.helm@intel.com>
-rw-r--r--ports/zephyr/modbluetooth_zephyr.c4
-rw-r--r--ports/zephyr/mpconfigport_minimal.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/ports/zephyr/modbluetooth_zephyr.c b/ports/zephyr/modbluetooth_zephyr.c
index b427a6cd98..8947bdf535 100644
--- a/ports/zephyr/modbluetooth_zephyr.c
+++ b/ports/zephyr/modbluetooth_zephyr.c
@@ -31,8 +31,8 @@
#if MICROPY_PY_BLUETOOTH
-#include <bluetooth/bluetooth.h>
-#include <bluetooth/hci.h>
+#include <zephyr/bluetooth/bluetooth.h>
+#include <zephyr/bluetooth/hci.h>
#include "extmod/modbluetooth.h"
#define DEBUG_printf(...) // printk("BLE: " __VA_ARGS__)
diff --git a/ports/zephyr/mpconfigport_minimal.h b/ports/zephyr/mpconfigport_minimal.h
index 6c7a4c6b81..d81e007e03 100644
--- a/ports/zephyr/mpconfigport_minimal.h
+++ b/ports/zephyr/mpconfigport_minimal.h
@@ -28,7 +28,7 @@
// 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 <zephyr/zephyr.h>
// Usually passed from Makefile
#ifndef MICROPY_HEAP_SIZE