mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-26 01:35:41 +03:00
Add flash module support
This commit is contained in:
parent
9e26a9822b
commit
1cbb41cda7
2 changed files with 7 additions and 1 deletions
|
@ -93,6 +93,12 @@
|
|||
#define SPI2_MISO_PIN PB14
|
||||
#define SPI2_MOSI_PIN PB15
|
||||
|
||||
#define USE_FLASHFS
|
||||
#define USE_FLASH_M25P16
|
||||
#define M25P16_SPI_INSTANCE SPI1
|
||||
#define M25P16_CS_PIN PA15
|
||||
#define ENABLE_BLACKBOX_LOGGING_ON_SPIFLASH_BY_DEFAULT
|
||||
|
||||
#define USE_ADC
|
||||
#define CURRENT_METER_ADC_PIN NONE // PA6 Available from TP33
|
||||
#define VBAT_ADC_PIN PA5 // 11:1 (10K + 1K) divider
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
F411_TARGETS += $(TARGET)
|
||||
FEATURES += VCP
|
||||
FEATURES += VCP ONBOARDFLASH
|
||||
TARGET_SRC = \
|
||||
drivers/accgyro/accgyro_mpu6500.c \
|
||||
drivers/accgyro/accgyro_spi_mpu6500.c \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue