Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions configs/BRAHMA_F405/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -79,15 +79,13 @@
#define TIMER_PIN_MAPPING \
TIMER_PIN_MAP( 0, PB1 , 1, 1 ) \
TIMER_PIN_MAP( 1, PB0 , 1, 0 ) \
TIMER_PIN_MAP( 2, PA3 , 1, 0 ) \
TIMER_PIN_MAP( 3, PA2 , 1, 0 ) \
TIMER_PIN_MAP( 2, PA3 , 2, 0 ) \
TIMER_PIN_MAP( 3, PA2 , 2, 0 ) \
TIMER_PIN_MAP( 4, PB9 , 1, -1 ) \
TIMER_PIN_MAP( 5, PB4 , 1, 0 ) \
TIMER_PIN_MAP( 6, PB5 , 1, 0 ) \
TIMER_PIN_MAP( 7, PC9 , 1, 0 ) \
TIMER_PIN_MAP( 8, PC8 , 1, 0 ) \

// ##timer A15 NONE ### please Add
TIMER_PIN_MAP( 7, PC9 , 2, 0 ) \
TIMER_PIN_MAP( 8, PC8 , 2, 0 )

#define ADC1_DMA_OPT 0

Expand All @@ -96,11 +94,12 @@
#define DEFAULT_BARO_I2C_ADDRESS 119
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH
#define DEFAULT_DSHOT_BURST DSHOT_DMAR_ON
#define MOTOR_PWM_PROTOCOL DSHOT300
#define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ADC
#define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC
#define DEFAULT_CURRENT_METER_SCALE 270
#define BEEPER_INVERTED
#define SYSTEM_HSE_MHZ 8
#define MAX7456_SPI_INSTANCE SPI1
#define FLASH_SPI_INSTANCE SPI2
#define USE_SPI_GYRO
#define GYRO_1_SPI_INSTANCE SPI3