Skip to content

Commit 112e48e

Browse files
msobkowskicarlescufi
authored andcommitted
samples: alarm: Add support for apollo4p_evb
Add support for apollo4p_evb to the counter alarm sample. Signed-off-by: Mateusz Sierszulski <[email protected]> Signed-off-by: Maciej Sobkowski <[email protected]>
1 parent 5a71c35 commit 112e48e

File tree

1 file changed

+2
-0
lines changed
  • samples/drivers/counter/alarm/src

1 file changed

+2
-0
lines changed

samples/drivers/counter/alarm/src/main.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ struct counter_alarm_cfg alarm_cfg;
4747
#define TIMER DT_NODELABEL(stimer0)
4848
#elif defined(CONFIG_COUNTER_INFINEON_CAT1)
4949
#define TIMER DT_NODELABEL(counter0_0)
50+
#elif defined(CONFIG_COUNTER_AMBIQ)
51+
#define TIMER DT_NODELABEL(counter0)
5052
#endif
5153

5254
static void test_counter_interrupt_fn(const struct device *counter_dev,

0 commit comments

Comments
 (0)