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:
parent
dadbf281d0
commit
5b533a1aa8
2 changed files with 22 additions and 0 deletions
|
@ -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
|
||||||
|
|
|
@ -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";
|
||||||
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue