samples: subsys: shell: add timer support for shell

adding shell support for app dw timer

Signed-off-by: Balsundar Ponnusamy <balsundar.ponnusamy@intel.com>
This commit is contained in:
Balsundar Ponnusamy 2023-08-12 06:59:47 +00:00 committed by Carles Cufí
commit 5b533a1aa8
2 changed files with 22 additions and 0 deletions

View file

@ -13,3 +13,9 @@ CONFIG_SHELL_ARGC_MAX=12
# Enable the Zephyr boot banner # Enable the Zephyr boot banner
CONFIG_BOOT_BANNER=y CONFIG_BOOT_BANNER=y
# Enable timer driver
CONFIG_COUNTER=y
# Enable Timer shell commands
CONFIG_COUNTER_SHELL=y

View file

@ -10,3 +10,19 @@
* *
* Nothing here as of now. * Nothing here as of now.
*/ */
&timer0 {
status = "okay";
};
&timer1 {
status = "okay";
};
&timer2 {
status = "okay";
};
&timer3 {
status = "okay";
};