Skip to content

Commit cb1d3ac

Browse files
authored
DAKEFPVF405/DAKEFPVF722 add PINIO2,DAKEFPVF405 add CAMERA_CONTROL (#625)
* DAKEFPVF405/DAKEFPVF722 Add PINIO2 * DAKEFPVF405 add CAMERA_CONTROL
1 parent 278bd5b commit cb1d3ac

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

configs/DAKEFPVF405/config.h

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@
4343
#define USE_FLASH_M25P16
4444
#define USE_MAX7456
4545

46+
#ifndef USE_CAMERA_CONTROL
47+
#define USE_CAMERA_CONTROL
48+
#endif
49+
4650
#define BEEPER_PIN PC3
4751
#define MOTOR1_PIN PC8
4852
#define MOTOR2_PIN PC9
@@ -76,11 +80,13 @@
7680
#define SPI1_SDO_PIN PA7
7781
#define SPI2_SDO_PIN PB15
7882
#define SPI3_SDO_PIN PB5
83+
#define CAMERA_CONTROL_PIN PA8
7984
#define ADC_VBAT_PIN PC1
8085
#define ADC_RSSI_PIN PC2
8186
#define ADC_CURR_PIN PC0
8287
#define BARO_CS_PIN PC13
8388
#define PINIO1_PIN PC5
89+
#define PINIO2_PIN PB4
8490
#define FLASH_CS_PIN PA15
8591
#define MAX7456_SPI_CS_PIN PB12
8692
#define GYRO_1_EXTI_PIN PC4
@@ -97,7 +103,8 @@
97103
TIMER_PIN_MAP( 7, PB6 , 1, 0) \
98104
TIMER_PIN_MAP( 8, PB7 , 1, 0) \
99105
TIMER_PIN_MAP( 9, PC8 , 2, 0) \
100-
TIMER_PIN_MAP(10, PC9 , 2, 0)
106+
TIMER_PIN_MAP(10, PC9 , 2, 0) \
107+
TIMER_PIN_MAP(11, PA8 , 1, -1)
101108

102109

103110

@@ -113,7 +120,9 @@
113120
#define BEEPER_INVERTED
114121
#define MAX7456_SPI_INSTANCE SPI2
115122
#define PINIO1_CONFIG 129
123+
#define PINIO2_CONFIG 129
116124
#define PINIO1_BOX 40
125+
#define PINIO2_BOX 41
117126
#define FLASH_SPI_INSTANCE SPI3
118127
#define GYRO_1_SPI_INSTANCE SPI1
119128
#define GYRO_1_ALIGN CW90_DEG

configs/DAKEFPVF722/config.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@
8484
#define ADC_CURR_PIN PC0
8585
#define BARO_CS_PIN PA13
8686
#define PINIO1_PIN PA14
87+
#define PINIO2_PIN PA8
8788
#define FLASH_CS_PIN PA15
8889
#define MAX7456_SPI_CS_PIN PB12
8990
#define GYRO_1_EXTI_PIN PC4
@@ -119,7 +120,9 @@
119120

120121
#define BEEPER_INVERTED
121122
#define PINIO1_CONFIG 129
123+
#define PINIO2_CONFIG 129
122124
#define PINIO1_BOX 40
125+
#define PINIO2_BOX 41
123126

124127
#define GYRO_1_SPI_INSTANCE SPI1
125128
#define GYRO_1_ALIGN CW90_DEG

0 commit comments

Comments
 (0)