Skip to content

Commit 5515401

Browse files
Merge pull request #2650 from AlienFlightINAV/F35
F35 Updates
2 parents a3d3930 + 55f230b commit 5515401

File tree

3 files changed

+47
-21
lines changed

3 files changed

+47
-21
lines changed

src/main/target/FF_F35_LIGHTNING/README.md

Lines changed: 30 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,34 @@
22

33
will be available at: http://furiousfpv.com
44

5-
# Features:
5+
# Features & Functionality:
6+
- Rugged & Robust Aluminum Case for Maximum Crash Protection
7+
- Exclusively Designed for INAV Firmware
8+
- Ultra Simplistic to Install with Standing USB Ports & Pads
9+
- Fully Supported iNav Firmware
10+
- Integrated OSD for Maximum Data Feedback
11+
- Built In Camera & VTx Port with Peripheral Pass
12+
- Maximum (6) Port UART Layout
13+
- Integrated SBUS and FrSky S.Port Inverter
14+
- Easy Access Vertical Standing USB and Accessory Ports
15+
- Maximum 2S - 6S Power Flexibility
16+
- Powerful 100A Integrated PDB
17+
- Anti Vibration via Integrated Silicone Soft Mount Dampers
18+
- High Performance MPU-9250 Gyroscope & Accelerometer
19+
- Digital Servo Ready via Powerful 5V / 3A BEC
20+
- Built In Buzzer Port / LED Port Functionality
21+
- Integrated Battery Monitor and Current Sensor
22+
- Altitude Control Capability via Integrated Barometer
23+
- Ultra High Performance MCU STM F4 Integrated Chip
24+
- Incredibly Precise MPU-9250 Magnetometer
25+
- Simplified & Ready with Plug & Play Functionality
626

7-
* MCU: STM32F405RGT6
8-
* Sensors: MPU9250, MS5611
9-
* OSD build-in
10-
* BEC 5V 5A
11-
* Build-in current sensor up 100A with scale 20mV/A
12-
* Voltage measurement, with 10k/1k divider
13-
* 5 Uarts available + VCP
14-
* 6 PWM output
15-
* Sbus, S.PORT inversion build-in
27+
# Specifications:
28+
- MCU: STM32 F4
29+
- Barometer: BMP280
30+
- Gyroscope: MPU-9250
31+
- Accelerometer: MPU-9250
32+
- Magnetometer: MPU-9250
33+
- Microcontroller: MCU STM F4
34+
- Voltage Range: 2S 7.4V - 6S 22.2V
35+
- UARTS: (6) - GPS, VTx, Bluetooth, TBSMicroRX, FrSky SBUS, FrSky S.Port* MCU: STM32F405RGT6

src/main/target/FF_F35_LIGHTNING/target.h

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@
4848
#define MAG_MPU9250_ALIGN CW90_DEG_FLIP
4949

5050
#define USE_BARO
51-
#define USE_BARO_MS5611
52-
#define MS5611_CS_PIN PC5
53-
#define MS5611_SPI_BUS BUS_SPI3
51+
#define USE_BARO_BMP280
52+
#define BMP280_CS_PIN PC5
53+
#define BMP280_SPI_BUS BUS_SPI3
5454

5555
#define USE_OSD
5656
#define USE_MAX7456
@@ -109,16 +109,21 @@
109109
#define SPI3_MOSI_PIN PB5
110110

111111
#define USE_I2C
112-
#define USE_I2C_DEVICE_2
113-
#define I2C2_SCL PB10
114-
#define I2C2_SDA PB11
112+
#define USE_I2C_DEVICE_1
113+
#define I2C1_SCL PB8
114+
#define I2C1_SDA PB7
115115

116116
#define BOARD_HAS_VOLTAGE_DIVIDER
117117
#define USE_ADC
118-
#define ADC_CHANNEL_1_PIN PC2
119-
#define ADC_CHANNEL_2_PIN PC1
120-
#define VBAT_ADC_CHANNEL ADC_CHN_2
121-
#define CURRENT_METER_ADC_CHANNEL ADC_CHN_1
118+
#define ADC_CHANNEL_1_PIN PC3
119+
#define ADC_CHANNEL_2_PIN PC2
120+
#define ADC_CHANNEL_3_PIN PC1
121+
#define AIRSPEED_ADC_CHANNEL ADC_CHN_1
122+
#define CURRENT_METER_ADC_CHANNEL ADC_CHN_2
123+
#define VBAT_ADC_CHANNEL ADC_CHN_3
124+
125+
#define USE_PITOT_MS4525
126+
#define PITOT_I2C_BUS BUS_I2C1
122127

123128
#define DEFAULT_FEATURES (FEATURE_VBAT | FEATURE_CURRENT_METER | FEATURE_OSD )
124129

src/main/target/FF_F35_LIGHTNING/target.mk

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@ TARGET_SRC = \
55
drivers/accgyro/accgyro_mpu6500.c \
66
drivers/accgyro/accgyro_mpu9250.c \
77
drivers/compass/compass_mpu9250.c \
8-
drivers/barometer/barometer_ms56xx.c \
8+
drivers/barometer/barometer_bmp280.c \
99
drivers/compass/compass_hmc5883l.c \
1010
drivers/rangefinder/rangefinder_hcsr04.c \
11+
drivers/pitotmeter_ms4525.c \
1112
drivers/serial_usb_vcp.c \
1213
drivers/max7456.c
1314

0 commit comments

Comments
 (0)