1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-15 12:25:20 +03:00
Commit graph

14581 commits

Author SHA1 Message Date
ctzsnooze
241e9a9b94
Angle and Horizon Mode improvements (#12231)
* Angle and Horizon Update for 4.5

* BugFix FF noise Angle Mode on yaw and in level _race mode

* use time constant in ms for angle feedforward smoothing

* refactor to remove unnecessary definition

---------

Co-authored-by: ChrisRosser <chrisrosser91@gmail.com>
2023-03-15 09:46:24 +11:00
nerdCopter
d6ed53ecdf
CONFIG: add BMP280 to SKYSTARSH7HD (#12518) 2023-03-14 22:23:17 +01:00
Hans Christian Olaussen
9b4e6136d9
Exclude MSP_OSD_CONFIG if USE_OSD not defined (#12513) 2023-03-14 12:38:32 +01:00
Homer
515e55ef0a
Rename FAKE to VIRTUAL (#12493)
* use_fake_xyz to use_virtual_xyz

* xyz_fake to xyz_virtual

* other fake to virtual

* all files fake to vrtual

* last touch on fake to virtual
2023-03-14 12:35:39 +01:00
Mark Haslinghuis
4f5b99d34c
CONFIG: Update FOXEERH743 (#12494) 2023-03-14 16:50:31 +11:00
J Blackman
f69fe363c8
Remove SPEK1024 as the default RX (set to NONE) (#12500) 2023-03-13 20:21:03 +11:00
Mark Haslinghuis
53dbad7e1a
CONFIG: Fix blackbox (#12511)
* CONFIG: Fix blackbox

* Remove blackbox from MATEKH743
2023-03-13 20:15:32 +11:00
howels
5a2aad53ad
Prevent SPRACINGH7RF accidentally using external storage for logging when required for EXST (#12495) 2023-03-12 08:14:10 +11:00
J Blackman
50de91730f
FIX: Missing USE_BLACKBOX (#12504) 2023-03-11 19:46:08 +11:00
Mark Haslinghuis
33f258d967
Fix RX protocol config (#12497)
* Fix RX protocol config
* Fixes per review
2023-03-11 10:36:03 +11:00
J Blackman
5c43f369f2
FIX CONFIG: Adding USE_FLASH as a permanent fixture for those targets with flash (#12498) 2023-03-11 10:29:13 +11:00
J Blackman
43f1c74c64
FIX: CRSF no active serial port and telem causing hardfault (#12496)
* FIX: no active serial port and telem causing hardfault
2023-03-11 06:50:45 +11:00
Homer
6d4921e5bf
FIX CONFIG: MATEKF405TE /MINI (#12492)
* FIX CONFIG: MATEKF405TE /MINI

* changes as requested
2023-03-10 20:17:02 +01:00
Brian White
2efc895cf9
Debug 8 columns (#12445) 2023-03-10 14:39:40 +11:00
J Blackman
38372c3dbd
FIX: SPI PIN defaults cleanup #2 (#12487) 2023-03-10 12:16:52 +11:00
tbolin
0c7061016f
Make dyn idle startup increase configurable (#12432)
* Make dyn idle startup increase configurable

Replace fixed 5 percent max increase from dynamic idle
when airmode is active with a configurable value.

-Default value is still 5.0 percent (50 in cli)
-Add dyn_idle_start_increase cli setting
-Add dyn_idle_start_increase BB header field

* Increse PG reset to ver 6 for pidProfile

* Indentation

---------

Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
2023-03-09 23:21:14 +01:00
Mark Haslinghuis
4e4b63b0e6
CONFIG: Add BMP280 to GEPRCF722 (#12491) 2023-03-10 06:39:35 +11:00
howels
567298895c
Add 42688p gyro to JHEF411 (#12490) 2023-03-10 06:39:00 +11:00
J Blackman
804bc16475
FIX: ESCSERIAL_PIN not mapped correctly (#12486) 2023-03-10 06:38:00 +11:00
J Blackman
44bfbda40d
FIX: If local config applied, do not include all drivers. (#12483) 2023-03-10 06:37:43 +11:00
Mark Haslinghuis
ccffbbb555
FIX CONFIG (#12480) 2023-03-10 06:36:27 +11:00
Mark Haslinghuis
035888f37b
CONFIG: Fix SDCARD CS (#12488) 2023-03-10 06:34:31 +11:00
J Blackman
43bda54f90
FIX: RX SPI modules not correctly activating (incorrect CS pin definition) (#12482) 2023-03-09 21:34:21 +11:00
J Blackman
8e85029b00
FIX: SPI Pins, and I2C pins should be configured in config.h (#12484)
* FIX: SPI Pins, and I2C pins should be configured in config.h

* Set defaults to none.
2023-03-09 20:41:34 +11:00
J Blackman
5def26485b
FIX CONFIG: Incorrect inverter pin definition (#12485) 2023-03-09 19:59:57 +11:00
James
c5f3f86413
AT32 initial dshot support (#12464)
* AT32 dshot part1

Just enough dshot implementation to do timer pwm dshot output only.
Still to do:
  telemetry, burst mode, bitbang

* AT32 Implement dshot telemetry

Enables bidir dshot for telemetry on AT32. Only timer-pwm is
supported, without burst mode.

* Updates for target.h and config.h

Removed a conflicting definition from target.h and added the PA9/10 uart pins
for the at-link serial connection, but these don't seem to be active until
added from the cli.

* Wrap erpmToRpm in #def

Hopefully fix problems with unit tests by making erpmToRpm conditionally
compiled again.

---------

Co-authored-by: J Blackman <blckmn@users.noreply.github.com>
2023-03-09 18:20:35 +11:00
J Blackman
7434e0134f
FIX CONFIG: SDCARD Inversion (#12478)
* FIX CONFIG: SDCARD Inversion

* Adding check for SDIO_DEVICE being defined
2023-03-09 18:18:10 +11:00
AJ92
2c71c1fc5b
added fake barometer sensor name to cli lookup table, fixes cli status crash for SITL (#12474) 2023-03-09 18:17:03 +11:00
J Blackman
c224c075f8
Cleanup of USB drivers for AT32F4 (#12441)
* Cleanup of USB drivers for AT32F4
* F4 has different directories
2023-03-09 18:14:16 +11:00
Mark Haslinghuis
deeebb4c1c
FIX CONFIG: BARO (#12476) 2023-03-08 23:58:23 +01:00
Mark Haslinghuis
977e470a48
FIX CONFIG: GYRO (#12475)
* FIX CONFIG: GYRO

* Rename GYRO_CONFIG_USE_GYRO_DEFAULT to DEFAULT_GYRO_TO_USE
2023-03-08 20:52:04 +01:00
J Blackman
80e9cfb998
Removing Brushed ESC auto detect (#12479)
- minimise pin "activation" on init.
2023-03-08 20:46:04 +01:00
ctzsnooze
e957f0dfa6
Improve GPS Rescue Pitch smoothing and disarming (#12343) 2023-03-08 16:10:25 +11:00
J Blackman
f0e7b21264
FIX CONFIG: Adding DSHOT default settings (#12473) 2023-03-08 16:09:04 +11:00
J Blackman
4ef252c51a
FIX CONFIG: Dashboard I2C bus instance (#12470) 2023-03-08 13:02:59 +11:00
Mark Haslinghuis
ee2ee56eba
Rename MOSI and MISO to SDO and SDI (#12469)
Rename MOSI/MISO
2023-03-08 04:33:48 +11:00
J Blackman
4d7092d215
FIX CONFIG: PIN IO CONFIG, PIN IO BOX (#12467) 2023-03-07 13:24:56 +01:00
Mark Haslinghuis
f41b3e911d
FIX CONFIG: MATEKF405TEMINI SPI3 + CONFIG DEFAULT_VOLTAGE_METER_SCALE + SYSTEM_HSE_MHZ (#12468)
* Fix MATEKF405TEMINI

* Add VBAT_SCALE

* Fix SYSTEM_HSE_MHZ
2023-03-07 04:49:23 +01:00
Mark Haslinghuis
b2b134b2c1
Add configuration (#12463) 2023-03-06 19:29:21 +11:00
J Blackman
629ed30e3a
FIX CONFIG: LED INVERSION (#12459)
RX_SPI LED Inversion define for ON.
2023-03-06 09:28:16 +01:00
J Blackman
4cb26fe13a
FIX CONFIG: ESC and NONE for current meters (#12458) 2023-03-06 09:27:02 +01:00
tbolin
9ce8d9c8e5
Fix ICM426XX AA filter (#12444)
* Change ICM426XX gyro initialization

- Shut down Acc and Gyro before setting non-GYRO_ODR, ACCEL_ODR, GYRO_FS_SEL, ACCEL_FS_SEL, GYRO_MODE, ACCEL_MODE registers
- Set correct User Bank before writing to registers

* Change ICM426XX GYRO_ACCEL_CONFIG0 to 15 from 14

* Remove unneeded delay commands
2023-03-06 15:41:53 +11:00
Mark Haslinghuis
58346417a1
FIX: update & clean configuration (#12451) 2023-03-06 11:10:49 +11:00
J Blackman
ca9dd3dc9c
FIX CONFIG: Enabling DSHOT BURST (#12457) 2023-03-06 00:39:53 +01:00
J Blackman
a6752a0d1c
FIX CONFIG: Further config.h mappings - CURR, BATT, BARO and BLACKBOX (#12453)
* FIX: Further config.h mappings

- current meter
- voltage meter
- adding USE_BARO
- black box device default

* Adding: ADC, BARO and CURRENT_METER_SCALE_DEFAULT
* Adding ACC, GYRO and BARO (where previously missed).
* Renamed CURRENT_METER_SCALE_DEFAULT to DEFAULT_CURRENT_METER_SCALE for consistency
2023-03-06 10:02:47 +11:00
Steve Evans
ab2088dc24
AT32F435 BlackBox FLASH support (#12431)
Add FLASH support to AT32
2023-03-05 20:03:50 +01:00
J Blackman
bc773d8a49
Adding SERIAL provider defaults. Removing auto-generation comment (#12449)
Merging so as to continue work on config.h to bring 4.5.0-zulu back to operational
2023-03-05 16:08:11 +11:00
Mark Haslinghuis
1588db5e79
Fix Config (#12448) 2023-03-04 13:16:47 +11:00
Mark Haslinghuis
c92601b611
Fix Matek H743 (#12447) 2023-03-04 13:15:39 +11:00
J Blackman
799e0c1e50
FIX: Multi gyro and SDIO hard fault (#12446) 2023-03-04 12:43:25 +11:00