Skip to content

Commit 5a76d45

Browse files
committed
include kernel.h instead of zephyr.h
- zephyr.h is already deprecated, hence using kernel.h instead of it. - fix #47 - affects cores/ and variants/ dirs Signed-off-by: Dhruva Gole <[email protected]>
1 parent 696cd5a commit 5a76d45

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

cores/arduino/Arduino.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#include "api/ArduinoAPI.h"
88

99
#include <zephyr/drivers/gpio.h>
10-
#include <zephyr/zephyr.h>
10+
#include <zephyr/kernel.h>
1111

1212
#include <variants.h>
13-
#include <zephyrSerial.h>
13+
#include <zephyrSerial.h>

variants/arduino_nano_33_ble/arduino_nano_33_ble_pinmap.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
/* All the pins that are 100 + x are gpio1 pins and < 100 are in gpio0 */
88
#pragma once
99
#include <zephyr/drivers/gpio.h>
10-
#include <zephyr/zephyr.h>
10+
#include <zephyr/kernel.h>
1111
#include <zephyr/drivers/i2c.h>
1212
#include <zephyr/device.h>
1313

variants/arduino_nano_33_ble_sense/arduino_nano_33_ble_sense_pinmap.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
/* All the pins that are 100 + x are gpio1 pins and < 100 are in gpio0 */
88
#pragma once
99
#include <zephyr/drivers/gpio.h>
10-
#include <zephyr/zephyr.h>
10+
#include <zephyr/kernel.h>
1111
#include <zephyr/drivers/i2c.h>
1212
#include <zephyr/device.h>
1313

variants/arduino_nano_33_iot/arduino_nano_33_iot_pinmap.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
/* All the pins that are 100 + x are gpio1 pins and < 100 are in gpio0 */
88
#pragma once
99
#include <zephyr/drivers/gpio.h>
10-
#include <zephyr/zephyr.h>
10+
#include <zephyr/kernel.h>
1111
#include <zephyr/drivers/i2c.h>
1212
#include <zephyr/device.h>
1313

variants/nrf52840dk_nrf52840/nrf52840dk_nrf52840_pinmap.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
#include <zephyr/drivers/gpio.h>
1111
#include <zephyr/drivers/i2c.h>
12-
#include <zephyr/zephyr.h>
12+
#include <zephyr/kernel.h>
1313

1414
#define LED_BUILTIN 22
1515

0 commit comments

Comments
 (0)