-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: drivers: counter: Add nrf9160_pca10090 board
Add board with nrf9160 to counter tests. Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
- Loading branch information
1 parent
58dcfd5
commit 2c54ea4
Showing
4 changed files
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,4 @@ supported: | |
- i2c | ||
- pwm | ||
- watchdog | ||
- counter |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,4 @@ supported: | |
- i2c | ||
- pwm | ||
- watchdog | ||
- counter |
4 changes: 4 additions & 0 deletions
4
tests/drivers/counter/counter_basic_api/boards/nrf9160dk_nrf9160.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
CONFIG_COUNTER_TIMER0=y | ||
CONFIG_COUNTER_TIMER1=y | ||
CONFIG_COUNTER_TIMER2=y | ||
CONFIG_COUNTER_RTC0=y |
11 changes: 11 additions & 0 deletions
11
tests/drivers/counter/counter_basic_api/boards/nrf9160dk_nrf9160.overlay
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
&timer0 { | ||
prescaler = <4>; | ||
}; | ||
|
||
&timer1 { | ||
prescaler = <4>; | ||
}; | ||
|
||
&timer2 { | ||
prescaler = <4>; | ||
}; |