boards/{nrf52840-dk| nrf52840-dk}: use TIMER1 as hardware timer

TIMER0 is reserved for SoftDevice and will be reserved for IEEE 802.15.4
so it's better to use another timer by default
This commit is contained in:
raiden00pl
2024-01-25 17:50:53 +01:00
committed by Xiang Xiao
parent 5e3326be68
commit 535a3dbb18
4 changed files with 4 additions and 4 deletions
@@ -25,7 +25,7 @@ CONFIG_FAT_LFN=y
CONFIG_FS_FAT=y
CONFIG_INIT_ENTRYPOINT="nsh_main"
CONFIG_MM_REGIONS=2
CONFIG_NRF52_TIMER0=y
CONFIG_NRF52_TIMER1=y
CONFIG_NRF52_UART0=y
CONFIG_NSH_ARCHINIT=y
CONFIG_NSH_BUILTIN_APPS=y
@@ -59,7 +59,7 @@
* Pre-processor Definitions
****************************************************************************/
#define NRF52_TIMER (0)
#define NRF52_TIMER (1)
/****************************************************************************
* Public Functions
@@ -26,7 +26,7 @@ CONFIG_FS_FAT=y
CONFIG_INIT_ENTRYPOINT="nsh_main"
CONFIG_MM_REGIONS=2
CONFIG_NRF52_RTC0=y
CONFIG_NRF52_TIMER0=y
CONFIG_NRF52_TIMER1=y
CONFIG_NRF52_UART0=y
CONFIG_NSH_ARCHINIT=y
CONFIG_NSH_BUILTIN_APPS=y
@@ -67,7 +67,7 @@
* Pre-processor Definitions
****************************************************************************/
#define NRF52_TIMER (0)
#define NRF52_TIMER (1)
#define LMS9DS1_I2CBUS (0)
/****************************************************************************