Commit 10057d54 authored by TOKITA Hiroshi's avatar TOKITA Hiroshi Committed by Carles Cufi
Browse files

samples: drivers: counter: alarm: Add support for rpi_pico



Add the rpi_pico board to the supported boards for the counter
alarm sample

Signed-off-by: default avatarTOKITA Hiroshi <tokita.hiroshi@fujitsu.com>
parent 66857e70
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -25,6 +25,7 @@ tests:
      - gd32f470i_eval
      - stm32h735g_disco
      - stm32h573i_dk
      - rpi_pico
    integration_platforms:
      - nucleo_f746zg
    harness_config:
+2 −0
Original line number Diff line number Diff line
@@ -51,6 +51,8 @@ struct counter_alarm_cfg alarm_cfg;
#define TIMER DT_NODELABEL(counter0)
#elif defined(CONFIG_COUNTER_SNPS_DW)
#define TIMER DT_NODELABEL(timer0)
#elif defined(CONFIG_COUNTER_TIMER_RPI_PICO)
#define TIMER DT_NODELABEL(timer)
#endif

static void test_counter_interrupt_fn(const struct device *counter_dev,