[stm32l475][RTduino] support tone timer
This commit is contained in:
parent
9295bc78ea
commit
4f1f96bbce
|
@ -66,6 +66,8 @@
|
||||||
/* Serial2 - PA2-TX PA3-RX */
|
/* Serial2 - PA2-TX PA3-RX */
|
||||||
#define RTDUINO_SERIAL2_DEVICE_NAME "uart2"
|
#define RTDUINO_SERIAL2_DEVICE_NAME "uart2"
|
||||||
|
|
||||||
|
#define RTDUINO_TONE_HWTIMER_DEVICE_NAME "timer7"
|
||||||
|
|
||||||
/* I2C */
|
/* I2C */
|
||||||
#if defined(BSP_USING_ARDUINO_AHT10)
|
#if defined(BSP_USING_ARDUINO_AHT10)
|
||||||
#define RTDUINO_DEFAULT_IIC_BUS_NAME "i2c4" /* i2c4 - AHT10 (On Board) */
|
#define RTDUINO_DEFAULT_IIC_BUS_NAME "i2c4" /* i2c4 - AHT10 (On Board) */
|
||||||
|
|
|
@ -24,6 +24,8 @@ menu "Onboard Peripheral Drivers"
|
||||||
select PKG_USING_RTDUINO
|
select PKG_USING_RTDUINO
|
||||||
select BSP_USING_STLINK_TO_USART
|
select BSP_USING_STLINK_TO_USART
|
||||||
select BSP_USING_GPIO
|
select BSP_USING_GPIO
|
||||||
|
select BSP_USING_TIM
|
||||||
|
select BSP_USING_TIM7
|
||||||
select BSP_USING_PWM
|
select BSP_USING_PWM
|
||||||
select BSP_USING_PWM1
|
select BSP_USING_PWM1
|
||||||
select BSP_USING_PWM1_CH1
|
select BSP_USING_PWM1_CH1
|
||||||
|
|
Loading…
Reference in New Issue