summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbigmagic <[email protected]>2020-02-28 18:05:33 +0800
committerbigmagic <[email protected]>2020-03-02 20:49:27 +0800
commit972f28476ce8c1b628c1cffcc8b81ff7389a032b (patch)
tree0e45678b64134638ac59f6f924b1c01dc6a6fcb7
parentff10eaed9c4df15a4ce89ef94fe0a22e65411cb0 (diff)
[bsp/raspi3-64]use hw timer1 and hw timer3
-rw-r--r--bsp/raspberry-pi/raspi3-64/.config2
-rw-r--r--bsp/raspberry-pi/raspi3-64/rtconfig.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/bsp/raspberry-pi/raspi3-64/.config b/bsp/raspberry-pi/raspi3-64/.config
index 1587f978ca..ab27804eb0 100644
--- a/bsp/raspberry-pi/raspi3-64/.config
+++ b/bsp/raspberry-pi/raspi3-64/.config
@@ -467,7 +467,7 @@ CONFIG_BSP_USING_PIN=y
CONFIG_BSP_USING_CORETIMER=y
CONFIG_BSP_USING_SYSTIMER=y
CONFIG_RT_USING_SYSTIMER1=y
-# CONFIG_RT_USING_SYSTIMER3 is not set
+CONFIG_RT_USING_SYSTIMER3=y
# CONFIG_BSP_USING_I2C is not set
# CONFIG_BSP_USING_SPI is not set
# CONFIG_BSP_USING_WDT is not set
diff --git a/bsp/raspberry-pi/raspi3-64/rtconfig.h b/bsp/raspberry-pi/raspi3-64/rtconfig.h
index 0dc44fcb15..0dbe07854c 100644
--- a/bsp/raspberry-pi/raspi3-64/rtconfig.h
+++ b/bsp/raspberry-pi/raspi3-64/rtconfig.h
@@ -196,6 +196,7 @@
#define BSP_USING_CORETIMER
#define BSP_USING_SYSTIMER
#define RT_USING_SYSTIMER1
+#define RT_USING_SYSTIMER3
#define BSP_USING_SDIO
#define BSP_USING_SDIO0