samples: drivers: counter: Add support alarm for ek_ra4m1
Add support counter/alarm to run sample app on ek_ra4m1 Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
This commit is contained in:
parent
fc43629c6f
commit
f8d05ea9e9
1 changed files with 15 additions and 0 deletions
15
samples/drivers/counter/alarm/boards/ek_ra4m1.overlay
Normal file
15
samples/drivers/counter/alarm/boards/ek_ra4m1.overlay
Normal file
|
@ -0,0 +1,15 @@
|
|||
/*
|
||||
* Copyright (c) 2025 Renesas Electronics Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
&agt0 {
|
||||
status = "okay";
|
||||
interrupts = <30 1>, <31 1>;
|
||||
interrupt-names = "agti", "agtcmai";
|
||||
renesas,prescaler = <4>;
|
||||
counter0: counter {
|
||||
status = "okay";
|
||||
};
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue