Skip to content

Commit 52ab40c

Browse files
committed
tests: counter: Enable nRF52810 testing
Enable the counter capability in the board and add a .conf file for the nRF52810 running on the PCA10040 board. Signed-off-by: Carles Cufi <[email protected]>
1 parent e7be378 commit 52ab40c

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

boards/arm/nrf52810_pca10040/nrf52810_pca10040.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,7 @@ toolchain:
66
- zephyr
77
- gnuarmemb
88
- xtools
9+
supported:
10+
- counter
911
ram: 24
1012
flash: 192
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
CONFIG_COUNTER_TIMER0=y
2+
CONFIG_COUNTER_TIMER0_PRESCALER=4
3+
CONFIG_COUNTER_TIMER1=y
4+
CONFIG_COUNTER_TIMER1_PRESCALER=4
5+
CONFIG_COUNTER_TIMER2=y
6+
CONFIG_COUNTER_TIMER2_PRESCALER=4
7+
CONFIG_COUNTER_RTC0=y

0 commit comments

Comments
 (0)