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

18431 commits

Author SHA1 Message Date
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
J Blackman
3470fd5584
OSD is always enabled for SPRACINGH7RF and comments in config fix (#12440) 2023-03-04 12:43:08 +11:00
Steve Evans
3cc056f192
Rename ACC to ACC_REGS (#12429) 2023-03-03 20:20:21 +11:00
Hans Christian Olaussen
f59b7e791f
H7 Fix frozen ADC values (#12439)
H7 ADC buffer invalidate cache
2023-03-03 15:57:29 +11:00
J Blackman
ee77239db1
Removing Custom Defaults (#12425) 2023-03-02 19:39:44 +01:00
Steve Evans
68136910d0
Arrange all 192K of RAM in a single block on AT32F435 (#12435) 2023-03-01 17:57:09 +11:00
Steve Evans
97487905ee
Add AT32F435 I2C support (#12423) 2023-02-28 12:25:03 +11:00
J Blackman
6a8c365b9c
FIX: Autogeneration of config.h inadvertently used PNONE instead of NONE (#12430)
FIX: Autogeneration inadvertently used PNONE instead of NONE
2023-02-28 12:23:42 +11:00
SugarK
2e04129b90
increase FF smoothing max to suit elrs 1000hz link rate (#12426)
* increase FF smoothing max to suit elrs 1000hz link rate

first step to making an ERLS 1000hz preset

* changed CMS ff smoothing limit to 95 max

---------

Co-authored-by: Ivan Efimov <gendalf44@yandex.ru>
2023-02-28 12:22:51 +11:00
David O'Connor
29379a10c2
G4: Change SDA2 to PA8 (#12400) 2023-02-28 08:05:41 +11:00
J Blackman
fbca7f06f3
Remove GYRO defines from common_post_defaults (#12406) 2023-02-27 20:59:47 +11:00
J Blackman
eacbf0d548
Adding last of the settings in unified targets (#12414)
* Adding GYRO and MAG alignment from settings in unified targets
* I2C devices incorrectly specified, i.e. variance to how SPI is handled.
* Adding in remaining setting (where a mapping is yet to be verified)
* Adding check for comment in auto generation (so editing can be commenced).
* SYSTEM_HSE_MHZ now being set.
2023-02-27 20:18:11 +11:00
J Blackman
4fff1b3c42
FIX: Legacy drivers required for STM32F411DISCOVERY target (#12411) 2023-02-25 21:19:45 +01:00
J Blackman
7c6bf79777
FIX: Custom defaults - premature configuration (#12410) 2023-02-24 10:37:33 +11:00