mirror of
https://github.com/apache/nuttx.git
synced 2026-05-21 21:34:07 +08:00
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:
@@ -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)
|
||||
|
||||
/****************************************************************************
|
||||
|
||||
Reference in New Issue
Block a user