[stm32l475][RTduino] support tone timer

This commit is contained in:
Meco Man 2023-07-06 19:18:54 -04:00 committed by Man, Jianting (Meco)
parent 9295bc78ea
commit 4f1f96bbce
2 changed files with 4 additions and 0 deletions

View File

@ -66,6 +66,8 @@
/* Serial2 - PA2-TX PA3-RX */
#define RTDUINO_SERIAL2_DEVICE_NAME "uart2"
#define RTDUINO_TONE_HWTIMER_DEVICE_NAME "timer7"
/* I2C */
#if defined(BSP_USING_ARDUINO_AHT10)
#define RTDUINO_DEFAULT_IIC_BUS_NAME "i2c4" /* i2c4 - AHT10 (On Board) */

View File

@ -24,6 +24,8 @@ menu "Onboard Peripheral Drivers"
select PKG_USING_RTDUINO
select BSP_USING_STLINK_TO_USART
select BSP_USING_GPIO
select BSP_USING_TIM
select BSP_USING_TIM7
select BSP_USING_PWM
select BSP_USING_PWM1
select BSP_USING_PWM1_CH1