Skip to content

Commit

Permalink
Reordering
Browse files Browse the repository at this point in the history
  • Loading branch information
haslinghuis authored Nov 24, 2024
1 parent 8b83ce7 commit f77f008
Showing 1 changed file with 7 additions and 15 deletions.
22 changes: 7 additions & 15 deletions configs/SEQUREH7V2/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,9 @@
*
* If not, see <http://www.gnu.org/licenses/>.
*/


#pragma once


#define FC_TARGET_MCU STM32H743

#define BOARD_NAME SEQUREH7V2
#define MANUFACTURER_ID SQRE

Expand Down Expand Up @@ -126,31 +122,27 @@
#define TIMUP4_DMA_OPT 0
#define TIMUP8_DMA_OPT 0

#define DEFAULT_DSHOT_BURST DSHOT_DMAR_ON
#define ADC_INSTANCE ADC1

#define SERIALRX_UART SERIAL_PORT_USART1
#define GPS_UART SERIAL_PORT_USART6
#define MSP_DISPLAYPORT_UART SERIAL_PORT_USART7
#define ESC_SENSOR_UART SERIAL_PORT_USART8

#define MAG_I2C_INSTANCE (I2CDEV_1)
#define BARO_I2C_INSTANCE (I2CDEV_1)
#define BARO_I2C_INSTANCE I2CDEV_1
#define MAG_I2C_INSTANCE I2CDEV_1

#define ADC_INSTANCE ADC1
#define FLASH_SPI_INSTANCE SPI3
#define GYRO_1_SPI_INSTANCE SPI2
#define MAX7456_SPI_INSTANCE SPI1

#define DEFAULT_DSHOT_BURST DSHOT_DMAR_ON
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH

#define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ADC
#define DEFAULT_CURRENT_METER_SCALE 1052

#define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC
#define DEFAULT_VOLTAGE_METER_SCALE 110

#define BEEPER_INVERTED

#define MAX7456_SPI_INSTANCE SPI1

#define GYRO_1_SPI_INSTANCE SPI2
#define GYRO_1_ALIGN CW90_DEG

#define FLASH_SPI_INSTANCE SPI3

0 comments on commit f77f008

Please sign in to comment.