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

18415 commits

Author SHA1 Message Date
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
J Blackman
60369bcf4f
FIX: LED is zero based index (variance to resource command), ADC pins incorrectly mapped. (#12405) 2023-02-24 06:36:19 +11:00
J Blackman
6bbd49a3f9
Adding VMA address to config.h (#12386) 2023-02-23 22:58:28 +11:00
Mark Haslinghuis
099f2a9a9b
Enable cloud build features at runtime (#12388) 2023-02-22 23:28:36 +01:00
J Blackman
82566eb89a
REFACTOR: moving timer definitions to MCU locations. (#12397)
* REFACTOR: moving timer definitions to MCU locations.

* Now that the MCU directory needs to be included in the search path for includes, no need for target.h entry if filenaming is consistent.

* SITL needs the empty include.
2023-02-22 22:55:57 +01:00
J Blackman
c4ab98258e
FIX: Multi-gyro enabled but not configured at compile time. (#12404) 2023-02-22 22:36:18 +01:00
J Blackman
9d61e81b14
config.h patch from unified-targets 22-FEB-2023 (#12403) 2023-02-22 13:54:38 +11:00
J Blackman
0bf6a7443e
Auto generation of config.h from unified target repo (#12353)
* Auto generation of config.h from unified targets

 - resources,
 - timers,
 - dma
 - some settings

* Adding additional messaging.

* Updates from unified targets repo
2023-02-21 17:39:37 +01:00
Steve Evans
a7e4bf41eb
Add CMS support on TX for ELRS (#12308)
* Never block use of SWD pins

* Throttle CMS displayport traffic on CRSF to prevent ELRS overrun
2023-02-21 17:10:56 +01:00
Steve Evans
0736da8aa3
Move FLASH_PAGE_SIZE definition to CPU specific target.h files (#12394)
* Never block use of SWD pins

* Split the AT-START-F435 and REVO-AT configs out from AT32F435/target.h

* Move FLASH_PAGE_SIZE definition to CPU specific target.h files

---------

Co-authored-by: J Blackman <blckmn@users.noreply.github.com>
2023-02-22 02:06:40 +11:00
Dominic Clifton
c1c1f95578
Require explicit usage of firmware partition for EXST targets. (#12299)
Require explicit usage of firmware partition in preparation for memory
mapped EXST targets with a second flash chip for data storage and
config.
2023-02-21 13:30:18 +01:00
Steve Evans
1ff78c6aac
NEW TARGET: AT32 debug targets, ATSTARTF435 and REVO-AT (#12392)
* Never block use of SWD pins

* Split the AT-START-F435 and REVO-AT configs out from AT32F435/target.h
2023-02-21 13:14:07 +01:00
J Blackman
166ff9c9b3
FIX: Several build issues following configuration changes (#12389)
* FIX: Several build issues following configuration changes

1. RX_SPI pins undefined
2. SDCARD enabled but no utilisation (i.e. no blackbox selected).

* Improved readability (readiness for "black" macro magic)

* Adding Makefile rule to enable CI targets to include Configured targets
2023-02-20 15:17:45 +01:00
Alejandro Hernández Cordero
9dc9c51d3e
Added SITL Gazebo (#12346) 2023-02-19 06:39:54 +11:00
J Blackman
1c92d83c6f
FIX: Broken Build API for zulu following deployment to use config (#12377) 2023-02-17 17:39:15 +11:00
Hans Christian Olaussen
885d8228db
Fix MPU6000 reset (#12371) 2023-02-17 00:59:13 +01:00
J Blackman
17c7816a52
To enable display of pin mapping for config.h (#12363) 2023-02-16 17:28:27 +11:00