From 972f28476ce8c1b628c1cffcc8b81ff7389a032b Mon Sep 17 00:00:00 2001 From: bigmagic Date: Fri, 28 Feb 2020 18:05:33 +0800 Subject: [PATCH] [bsp/raspi3-64]use hw timer1 and hw timer3 --- bsp/raspberry-pi/raspi3-64/.config | 2 +- bsp/raspberry-pi/raspi3-64/rtconfig.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/bsp/raspberry-pi/raspi3-64/.config b/bsp/raspberry-pi/raspi3-64/.config index 1587f978c..ab27804eb 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 0dc44fcb1..0dbe07854 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 -- GitLab