Skip to content

Commit

Permalink
[target] SIRMIXALOT add gyro, baro, flash (#543)
Browse files Browse the repository at this point in the history
* [target] SIRMIXALOT add gyro, baro, flash

* Update configs/SIRMIXALOT/config.h

Co-authored-by: Mark Haslinghuis <[email protected]>

* baro i2c

* Update configs/SIRMIXALOT/config.h

Co-authored-by: ot0tot <[email protected]>

* Update configs/SIRMIXALOT/config.h

Co-authored-by: ot0tot <[email protected]>

* Add baro CS pin define

---------

Co-authored-by: Mark Haslinghuis <[email protected]>
Co-authored-by: ot0tot <[email protected]>
  • Loading branch information
3 people authored Sep 13, 2024
1 parent 9215ab0 commit 0e29fcb
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions configs/SIRMIXALOT/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,16 @@
#define BOARD_NAME SIRMIXALOT
#define MANUFACTURER_ID CUST

#define USE_ACC
#define USE_ACC_SPI_ICM20602
#define USE_GYRO
#define USE_GYRO_SPI_ICM20602
#define USE_FLASH
#define USE_FLASH_W25N01G
#define USE_BARO
#define USE_BARO_SPI_BMP280
#define USE_MAX7456

#define BEEPER_PIN PC11
#define MOTOR1_PIN PB6
#define MOTOR2_PIN PB7
Expand Down Expand Up @@ -61,6 +71,7 @@
#define ADC_VBAT_PIN PC2
#define ADC_RSSI_PIN PC3
#define ADC_CURR_PIN PC1
#define BARO_CS_PIN PB9
#define FLASH_CS_PIN PC0
#define MAX7456_SPI_CS_PIN PC14
#define GYRO_1_EXTI_PIN PC4
Expand All @@ -79,6 +90,7 @@

//TODO #define SERIALRX_INVERTED ON
//TODO #define SERIALRX_HALFDUPLEX ON
#define BARO_SPI_INSTANCE SPI3
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH
#define DEFAULT_DSHOT_BURST DSHOT_DMAR_ON
#define DEFAULT_DSHOT_TELEMETRY DSHOT_TELEMETRY_OFF
Expand Down

0 comments on commit 0e29fcb

Please sign in to comment.