[bsp][lpc55s69]update:drv_hwtimer (#7385)

This commit is contained in:
Shicheng Chu authored and GitHub committed 2023-04-28 17:44:40 +08:00
1 parent 18c452e4dd
commit 2b9a095c77
9 files changed
+100 -128

No files matched your search

File diff suppressed because it is too large. Load diff
+29 -2
View File
@@ -14,7 +14,34 @@
#include <rtthread.h>
#include <rtdevice.h>
int rt_hw_wdt_init(void);
#ifdef BSP_USING_CTIMER0
#define TIM1_CONFIG \
{ \
.tim_handle = CTIMER0, \
.tim_irqn = CTIMER0_IRQn, \
.name = "timer1", \
}
#endif /* TIM1_CONFIG */
#endif
#ifdef BSP_USING_CTIMER3
#define TIM3_CONFIG \
{ \
.tim_handle = CTIMER3, \
.tim_irqn = CTIMER3_IRQn, \
.name = "timer2", \
}
#endif /* TIM3_CONFIG */
#ifdef BSP_USING_CTIMER4
#define TIM4_CONFIG \
{ \
.tim_handle = CTIMER4, \
.tim_irqn = CTIMER4_IRQn, \
.name = "timer3", \
}
#endif /* TIM4_CONFIG */
int rt_hw_hwtimer_init(void);
#endif /* __DRV_HWTIMER_H__ */
+1 -1
View File
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2006-2022, RT-Thread Development Team
* Copyright (c) 2006-2023, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
@@ -24,7 +24,7 @@
/* Notice: PIO1_9(sck) --> 10; PIO0_18(miso) --> 56; PIO1_10(mosi) --> 40 */
#define BSP_S_SPI2_SCK_PIN GET_PINS(1,9)
#define BSP_S_SPI2_SCK_PIN GET_PINS(1,9)
#define BSP_S_SPI2_MISO_PIN GET_PINS(0,18)
#define BSP_S_SPI2_MOSI_PIN GET_PINS(1,10)
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2006-2022, RT-Thread Development Team
* Copyright (c) 2006-2023, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
+1 -1
View File
@@ -14,7 +14,7 @@
#include <rtdevice.h>
int rt_hw_hwtimer_init(void);
int rt_hw_wdt_init(void);
#endif /* __DRV_WDT_H__ */
+5
View File
@@ -178,6 +178,11 @@ msh />
| SDIO | yes | Operate the SD card |
| I2S | no | |
## 5.Notes
- Please use env (v1.3.5) [download](https://github.com/RT-Thread/env-windows/releases/tag/v1.3.5)
- Please use the version is higher than 5.3 keil
## 6. Maintained By
* magicoe@163.com
@@ -178,6 +178,11 @@ msh />
| SDIO | 支持 | 操作SD卡 |
| I2S | 不支持 | 暂不支持 |
## 5.注意事项
- env环境需要使用最新版本(v1.3.5) [下载地址](https://github.com/RT-Thread/env-windows/releases/tag/v1.3.5)
- 如使用keil开发,建议5.30版本以上
## 6. 联系人信息
维护人:
@@ -225,10 +225,6 @@ menu "On-chip Peripheral Drivers"
bool "Enable CIMER0"
default y
config BSP_USING_CTIMER1
bool "Enable CIMER1"
default n
config BSP_USING_CTIMER3
bool "Enable CIMER3"
default n