diff --git a/boards/arm/actinius_icarus/actinius_icarus.yaml b/boards/arm/actinius_icarus/actinius_icarus.yaml index baaf3b50ae9174..52ce305bed16c5 100644 --- a/boards/arm/actinius_icarus/actinius_icarus.yaml +++ b/boards/arm/actinius_icarus/actinius_icarus.yaml @@ -12,3 +12,4 @@ supported: - i2c - pwm - watchdog + - counter diff --git a/boards/arm/nrf9160dk_nrf9160/nrf9160dk_nrf9160.yaml b/boards/arm/nrf9160dk_nrf9160/nrf9160dk_nrf9160.yaml index e5f5fb3e0da753..888a5000c1c85a 100644 --- a/boards/arm/nrf9160dk_nrf9160/nrf9160dk_nrf9160.yaml +++ b/boards/arm/nrf9160dk_nrf9160/nrf9160dk_nrf9160.yaml @@ -12,3 +12,4 @@ supported: - i2c - pwm - watchdog + - counter diff --git a/tests/drivers/counter/counter_basic_api/boards/nrf9160dk_nrf9160.conf b/tests/drivers/counter/counter_basic_api/boards/nrf9160dk_nrf9160.conf new file mode 100644 index 00000000000000..25d7ba83ed083e --- /dev/null +++ b/tests/drivers/counter/counter_basic_api/boards/nrf9160dk_nrf9160.conf @@ -0,0 +1,4 @@ +CONFIG_COUNTER_TIMER0=y +CONFIG_COUNTER_TIMER1=y +CONFIG_COUNTER_TIMER2=y +CONFIG_COUNTER_RTC0=y diff --git a/tests/drivers/counter/counter_basic_api/boards/nrf9160dk_nrf9160.overlay b/tests/drivers/counter/counter_basic_api/boards/nrf9160dk_nrf9160.overlay new file mode 100644 index 00000000000000..ee8a3cd10eec7c --- /dev/null +++ b/tests/drivers/counter/counter_basic_api/boards/nrf9160dk_nrf9160.overlay @@ -0,0 +1,11 @@ +&timer0 { + prescaler = <4>; +}; + +&timer1 { + prescaler = <4>; +}; + +&timer2 { + prescaler = <4>; +};