include: fix native_posix_counter includes.
Add limits.h and irq.h to fix build errors for boards/tests that include the zephyr,nativer-_posix-counter driver. Signed-off-by: Keith Short <keithshort@google.com>
This commit is contained in:
parent
e01bee5bcc
commit
a328bc0183
1 changed files with 2 additions and 0 deletions
|
@ -8,8 +8,10 @@
|
||||||
|
|
||||||
#include <zephyr/device.h>
|
#include <zephyr/device.h>
|
||||||
#include <zephyr/drivers/counter.h>
|
#include <zephyr/drivers/counter.h>
|
||||||
|
#include <zephyr/irq.h>
|
||||||
#include <soc.h>
|
#include <soc.h>
|
||||||
#include <hw_counter.h>
|
#include <hw_counter.h>
|
||||||
|
#include <limits.h>
|
||||||
|
|
||||||
#define DRIVER_CONFIG_INFO_FLAGS (COUNTER_CONFIG_INFO_COUNT_UP)
|
#define DRIVER_CONFIG_INFO_FLAGS (COUNTER_CONFIG_INFO_COUNT_UP)
|
||||||
#define DRIVER_CONFIG_INFO_CHANNELS 1
|
#define DRIVER_CONFIG_INFO_CHANNELS 1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue