mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-02-27 23:47:05 +08:00
[arduino][stm32l475] enable i2c4 bus (#5608)
* [Arduino][stm32l475] enable i2c bus device * 增加默认i2c总线设备名称
This commit is contained in:
parent
9b6e75f90b
commit
2e98bc4e19
@ -18,6 +18,8 @@
|
||||
#define ARDUINO_PINOUT_ADC_MAX 6 /* Arduino UNO has 6 ADC pins */
|
||||
#define ARDUINO_PINOUT_PWM_MAX 5 /* Arduino UNO has 5 PWM pins */
|
||||
|
||||
#define ARDUINO_DEFAULT_IIC_BUS_NAME "i2c4"
|
||||
|
||||
#define A0 (14)
|
||||
#define A1 (15)
|
||||
#define A2 (16)
|
||||
|
@ -25,6 +25,8 @@ menu "Onboard Peripheral Drivers"
|
||||
select BSP_USING_PWM4_CH3
|
||||
select BSP_USING_ADC
|
||||
select BSP_USING_ADC1
|
||||
select BSP_USING_I2C
|
||||
select BSP_USING_I2C4
|
||||
default n
|
||||
|
||||
config BSP_USING_KEY
|
||||
|
Loading…
x
Reference in New Issue
Block a user