Skip to content

Commit

Permalink
samples: drivers: counter: Add support alarm for RA4E1 boards
Browse files Browse the repository at this point in the history
Add support sample counter/alarm for fpb_ra4e1 and
voice_ra4e1 boards

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
  • Loading branch information
khoa-nguyen-18 authored and kartben committed Jan 28, 2025
1 parent 507d81d commit 93aae03
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
15 changes: 15 additions & 0 deletions samples/drivers/counter/alarm/boards/fpb_ra4e1.overlay
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
/*
* Copyright (c) 2025 Renesas Electronics Corporation
*
* SPDX-License-Identifier: Apache-2.0
*/

&agt0 {
status = "okay";
interrupts = <83 1>, <84 1>;
interrupt-names = "agti", "agtcmai";
renesas,prescaler = <4>;
counter0: counter {
status = "okay";
};
};
15 changes: 15 additions & 0 deletions samples/drivers/counter/alarm/boards/voice_ra4e1.overlay
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
/*
* Copyright (c) 2025 Renesas Electronics Corporation
*
* SPDX-License-Identifier: Apache-2.0
*/

&agt0 {
status = "okay";
interrupts = <83 1>, <84 1>;
interrupt-names = "agti", "agtcmai";
renesas,prescaler = <4>;
counter0: counter {
status = "okay";
};
};

0 comments on commit 93aae03

Please sign in to comment.