gimbal/User/bsp/bsp_config.yaml

76 lines
1.2 KiB
YAML

can:
devices:
- instance: CAN1
name: '1'
- instance: CAN2
name: '2'
enabled: true
gpio:
configs:
- custom_name: USER_KEY
has_exti: true
ioc_label: USER_KEY
pin: PA0-WKUP
type: EXTI
- custom_name: ACCL_CS
has_exti: false
ioc_label: ACCL_CS
pin: PA4
type: OUTPUT
- custom_name: GYRO_CS
has_exti: false
ioc_label: GYRO_CS
pin: PB0
type: OUTPUT
- custom_name: ACCL_INT
has_exti: true
ioc_label: ACCL_INT
pin: PC4
type: EXTI
- custom_name: GYRO_INT
has_exti: true
ioc_label: GYRO_INT
pin: PC5
type: EXTI
- custom_name: CMPS_INT
has_exti: true
ioc_label: CMPS_INT
pin: PG3
type: EXTI
- custom_name: CMPS_RST
has_exti: false
ioc_label: CMPS_RST
pin: PG6
type: OUTPUT
enabled: true
i2c:
devices:
- instance: I2C1
name: '1'
- instance: I2C2
name: '2'
enabled: true
mm:
enabled: true
pwm:
configs:
- channel: TIM_CHANNEL_1
custom_name: IMU_HEAT
label: TIM10_CH1
timer: TIM10
enabled: true
spi:
devices:
- instance: SPI1
name: BMI088
- instance: SPI2
name: '2'
enabled: true
time:
enabled: true
uart:
devices:
- instance: USART3
name: '3'
enabled: true