Skip to content

Commit 517d51e

Browse files
aescolardleach02
authored andcommitted
drivers/timer native_posix: Allow without BOARD_NATIVE_POSIX
This driver works both with native_posix and native_sim. native_sim will eventually not set NATIVE_SIM_NATIVE_POSIX_COMPAT (i.e. not pretend to be native_posix) so let's correct the dependencies. Signed-off-by: Alberto Escolar Piedras <[email protected]>
1 parent f8299b6 commit 517d51e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/timer/Kconfig.native_posix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
config NATIVE_POSIX_TIMER
77
bool "(POSIX) native_sim/posix timer driver"
88
default y
9-
depends on BOARD_NATIVE_POSIX
9+
depends on BOARD_NATIVE_POSIX || BOARD_NATIVE_SIM
1010
select TICKLESS_CAPABLE
1111
select TIMER_HAS_64BIT_CYCLE_COUNTER
1212
select SYSTEM_TIMER_HAS_DISABLE_SUPPORT

0 commit comments

Comments
 (0)