-
Notifications
You must be signed in to change notification settings - Fork 7.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drivers/counter/counter_native_sim: Rename from counter_native_posix
Including renaming the DTS binding and kconfig options deprecating the old one. Signed-off-by: Alberto Escolar Piedras <[email protected]>
- Loading branch information
Showing
10 changed files
with
57 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Copyright (c) 2020, Nordic Semiconductor ASA | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
config COUNTER_NATIVE_SIM | ||
bool "Counter on COUNTER_0" | ||
default y | ||
depends on (DT_HAS_ZEPHYR_NATIVE_SIM_COUNTER_ENABLED || DT_HAS_ZEPHYR_NATIVE_POSIX_COUNTER_ENABLED) | ||
|
||
config COUNTER_NATIVE_SIM_FREQUENCY | ||
int "native_sim counter frequency in Hz" | ||
default COUNTER_NATIVE_POSIX_FREQUENCY | ||
depends on COUNTER_NATIVE_SIM | ||
|
||
config COUNTER_NATIVE_SIM_NBR_CHANNELS | ||
int "native_sim counter: number of channels" | ||
default COUNTER_NATIVE_POSIX_NBR_CHANNELS | ||
depends on COUNTER_NATIVE_SIM | ||
|
||
config COUNTER_NATIVE_POSIX | ||
bool "Counter on COUNTER_0 (deprecated)" | ||
select DEPRECATED | ||
|
||
config COUNTER_NATIVE_POSIX_FREQUENCY | ||
int "native_posix counter frequency in Hz (deprecated)" | ||
default 1000 | ||
|
||
config COUNTER_NATIVE_POSIX_NBR_CHANNELS | ||
int "native counter, number of channels (deprecated)" | ||
default 4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Copyright (c) 2022, Kumar Gala <[email protected]> | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
description: Native_sim Counter | ||
|
||
compatible: "zephyr,native-sim-counter" | ||
|
||
include: base.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters