1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-14 11:59:58 +03:00
Commit graph

18780 commits

Author SHA1 Message Date
Steve Evans
76e225aec9
For now disable 4way-if timeout (#13364) 2024-02-14 00:14:43 +01:00
Bryan Mayland
3ef7a188d0
Use fixed LED color table in RACE / BEACON LED profiles (#13339)
Use the non-custom color table when requiring fixed colors
2024-02-14 00:01:09 +01:00
Ivan Efimov
b8d99d7542
TPA_LOW tidy up (#13337) 2024-02-13 14:30:28 +01:00
Mark Haslinghuis
435fe2750e
Add gate to HD OSD elements (#13347)
Update osd_elements.c
2024-02-11 21:09:21 +01:00
Steve Evans
69999281c4
Permit 8kHz PID loop on F405 overclocked to 216MHz (#13356)
* Permit 8kHz PID loop on F405 overclocked to 216MHz

* Update src/main/config/config.c

Co-authored-by: Petr Ledvina <ledvinap@gmail.com>

---------

Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
Co-authored-by: Petr Ledvina <ledvinap@gmail.com>
2024-02-08 18:28:57 +01:00
James
3726df1b71
Allow overriding the spi clock speed for icm42688 (#13346)
There was a report of glitches on the raw gyro output of an icm42688
which were resolved by reducing the the SPI clock speed. I don't think
a single report justifies changing the default speed or even adding a
CLI command to make it configurable, but it's relatively low impact to
allow the speed to be set at compile time by passing the value via
EXTRA_FLAGS and this will make it easier to see if changing the speed
solves any future cases that might turn up. Passing the original macro
name caused the cloud builds to fail, so this PR introduces a new, shorter
macro for setting the override value; ICM426XX_CLOCK

When passing a value for a macro through EXTRA_FLAGS for a manual compile
we need to use single quotes, e.g. to set 12MHz we could use

-D'ICM426XX_CLOCK=12000000'

When using the configurator to start a cloud build the value can be placed
in the "Custom Defines" text box as

ICM426XX_CLOCK=12000000

(or whatever value is desired)
2024-02-08 15:17:25 +01:00
Eike Ahmels
744ab454b1
Voltage detection method (#13350)
change voltage detection method and is voltage stable flag to make it resilient and synced to update battery task

Co-authored-by: Eike Ahmels <ea@weslink.de>
2024-02-07 00:07:42 +01:00
Steve Evans
24e7dabed3
Ensure MSP channel data is valid (#13352) 2024-02-06 13:43:39 +01:00
Mark Haslinghuis
d84ec8da63
Do not return MSP_RESULT_ERROR when succesful (#13328) 2024-02-04 11:52:52 +01:00
Steve Evans
05eda719ff
Install linux tools for appropriate architecture (#13335) 2024-01-29 21:37:51 +01:00
Steve Evans
a4b21d635c
Fix unit test build under aarch64 Linux (#13336)
Fix rcData[] type
2024-01-29 21:34:57 +01:00
Mark Haslinghuis
2cd24cf02a
Set OSD elements to HD defaults if build includes USE_OSD_HD (#13325)
Make HD the default option if included in build
2024-01-24 23:55:09 +01:00
Mark Haslinghuis
a4356689fa
Enable PINIO if PIN defined in config (#13315)
* Enable PINIO if PIN defined in config

* Fix review from blckmn
2024-01-24 01:27:54 +01:00
Steve Evans
17e43e3363
Fix OSD defaults based on SD/HD (#13320)
Fix OSD defaults based on SD/HD and validate changing video_system to/from HD
2024-01-23 00:56:25 +01:00
Steve Evans
42267349db
Do not permit MSP on softserial ports as the load on the CPU is too great (#13303)
Do not permit MSP or serial RX, or baud rates above 19200 on softserial ports as the load on the CPU is too great
2024-01-18 05:34:22 +01:00
ctzsnooze
926ef34476
Make high rate IMU DcmKp change relative to user value (#13304)
* make all IMU changes relative to user value

* comment above line
2024-01-16 16:03:06 +01:00
Steve Evans
d039124e44
BLHeliSuite32 holds 4wayif code in indefinite loop waiting for ESC so remove timeout (#13287) 2024-01-13 23:24:01 +01:00
Mark Haslinghuis
90ab9f374b
Fix ESC-Sensor RPM (#13286)
* Fix ESC-Sensor RPM

* Fixes per review from KarateBrot

* Fixes per review from NerdCopter

* Forgot to add init.c
2024-01-13 13:42:12 +01:00
Mark Haslinghuis
3e5d96158b
Migrate hub to gh (#13279) 2024-01-10 01:10:06 +01:00
Mark Haslinghuis
f1cbd83f06
Rename USE_QUICK_OSD_MENU (#13273) 2024-01-08 17:39:51 +11:00
Mark Haslinghuis
09a70439be
Fix F7X2 AXIM flash region (#13270) 2024-01-08 08:05:07 +11:00
Steve Evans
024224d027
Add timeout to serial four way interface for ESC programming (#13277) 2024-01-08 07:53:45 +11:00
Steve Evans
70e70c5d7b
Scale heading appropriately (#13269) 2024-01-06 12:12:03 +01:00
Jan Post
5fff78136e
Fix CLI command "bind_rx" for CRSF (#13267) 2024-01-05 14:31:30 +11:00
Mark Haslinghuis
7cb07d8e8e
Fix missing GPS PG parameter (#13248) 2024-01-04 15:19:09 +01:00
Mark Haslinghuis
39c58823c2
Fix missing #undef in common_post.h for GHST (#13264) 2024-01-04 14:55:21 +01:00
J Blackman
2caed9b60d
Increase EEPROM CONFIG version to force a configuration reset. (#13260) 2024-01-04 13:08:49 +11:00
J Blackman
1e09315965
Adding a few more gates in common post to assist in build errors. (#13250) 2024-01-01 04:33:47 +01:00
Davide Iafrate
507fc67274
Increasing frequency of MSP protocol in SITL (#13253)
Increasing frequency of MSP protocol
2024-01-01 01:15:28 +01:00
Mark Haslinghuis
2ee519e29c
Fix BMI160 gate and optimize directives (#13237)
* Add BMI160 gate and other defines

* Fix make test

* Remove redundant directives
2023-12-31 23:37:01 +01:00
Steve Evans
c996d5f77b
Led task optimistion (#13247)
* LED task optimisation

* Drop LED task rate from 100Hz to 50Hz to reduce CPU load
2023-12-28 10:55:24 +11:00
Mark Haslinghuis
9b078c0b1f
Fix arming when GPS included in build but no active GNSS device attached + revert msp request for SatInfo (#13244)
* Fix arming when GPS included in build but not active

* Fixes per review from Chris

* Move PG change to new PR

* Restore changing GPS PG version
2023-12-28 00:14:02 +01:00
Mark Haslinghuis
22ce586550
Add MSP request for UBLOX SatInfo and disable SatInfo on ARMING. (#13240) 2023-12-25 10:50:34 +11:00
Mark Haslinghuis
b3be3edb0b
Fix builds when PWM motor protocol is used (#13236)
* Fix builds when PWM motor protocol is used

* Enable useUnsyncedPwm for PWM by default
2023-12-24 13:56:14 +01:00
Steve Evans
a39ae3c89c
Revised LPF1+LPF2 filter cutoff bandwidths from STMicro (#13239)
Revised LPF1+LPF2 filter cutoff bandwidths from STmicro
2023-12-23 13:01:50 +01:00
Mark Haslinghuis
fc7afed28d
Change MAX7456 AUTO default to PAL (#13235) 2023-12-22 07:59:07 +01:00
Steve Evans
d3488d1345
Add hardware LPF1 options for lsm6dsv16x gyro (#13234) 2023-12-20 12:05:30 +01:00
Mark Haslinghuis
58933f9972
Revive MSP message for mag declination (#13232)
Add MSP message for mag declination
2023-12-19 13:26:15 +01:00
Mustafa Cengiz
15246eebab
Update hardware specification link (#13231) 2023-12-18 21:49:50 +01:00
Steve Evans
6af1614a5d
Fix dma pin <io> list (#13233) 2023-12-18 21:11:31 +01:00
Steve Evans
fe23761520
Add gyro jitter analysis to DEBUG_SCHEDULER_DETERMINISM (#13230) 2023-12-18 12:24:36 +01:00
Benedikt Kleiner
7d122c481a
at32: add mux 3 for tmr9 on port c (#13222) 2023-12-17 10:04:20 +01:00
Mark Haslinghuis
65aaf732f9
Remove custom defaults and enable features on boot (#13216)
* Remove custom defaults

* Fixes per review

* Fixes per review (thanks ledvinap)

* Fix copy pasta
2023-12-17 07:58:15 +01:00
Steve Evans
43c645a006
Fix error in I2C write operation on AT32 (#13228) 2023-12-17 10:04:30 +11:00
Ivan Efimov
bc69a92b86
Added d_min for PID osd elements (#13227)
* Added d_min for PID osd elements

* Update src/main/osd/osd_elements.c

Co-authored-by: Jan Post <Rm2k-Freak@web.de>

---------

Co-authored-by: Jan Post <Rm2k-Freak@web.de>
2023-12-15 23:00:35 +01:00
ctzsnooze
3eb776e30d
bugfix compassBiasEstimatorInit initialisation (#13226) 2023-12-14 12:29:11 +01:00
Steve Evans
03495f9273
Break LED_STRIP update into 20us chunks (#13218) 2023-12-12 13:15:32 +01:00
Ivan Efimov
477c9801bc
Changed some defaults for RACE_PRO (#13215)
* Changed some defaults for RACE_PRO

* Update src/main/flight/imu.c

Co-authored-by: Mark Haslinghuis <mark@numloq.nl>

* Update src/main/osd/osd.c

Co-authored-by: Mark Haslinghuis <mark@numloq.nl>

* Update src/main/flight/failsafe.c

---------

Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
2023-12-12 01:41:38 +01:00
Mark Haslinghuis
20b2e9c665
Fix defines for CI and add USE_RACE_PRO feature pack (#13212)
* Fix defines for CI and add USE_RACE_PRO feature pack

* Add RC_STATS
2023-12-12 01:39:22 +01:00
Ivan Efimov
6ac08cdd58
Fix: RPM Limit - reset I-term at arm (#13214)
* RPM Limiter - reset I-term at arm

* Update src/main/flight/mixer.c

Co-authored-by: Jan Post <Rm2k-Freak@web.de>

---------

Co-authored-by: Jan Post <Rm2k-Freak@web.de>
2023-12-11 00:40:34 +01:00