1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-16 21:05:35 +03:00
Commit graph

18500 commits

Author SHA1 Message Date
Ivan Efimov
d9e96e711b Version change to V2 2025-03-26 21:29:36 -05:00
Ivan Efimov
1399fb2a9e Extra land now text 2025-03-26 21:29:36 -05:00
Ivan Efimov
fd3b05d8ea Extra: added extra_ledstrip_blinkmask 2025-03-26 21:29:36 -05:00
Ivan Efimov
ffa9a0ee48 Funny OSD 2025-03-26 21:29:36 -05:00
Ivan Efimov
d9044b5322 Changing default OSD background to BLACK 2025-03-26 21:29:36 -05:00
Ivan Efimov
b5e7069a8a Force define USE_RACE_PRO 2025-03-26 21:29:36 -05:00
Jay Blackman
84d3c69744
Update version.h
Version bump to 4.5.3
2025-03-19 17:11:51 +11:00
Mark Haslinghuis
024f8e13d4
[4.5.2] Make UBLOX_MODEL_AIRBORNE_1G default (#14299) 2025-03-15 08:26:04 +11:00
Mark Haslinghuis
5f6e00d904
[4.5.2] Fix SA for holybro on AT32F4 (#14246)
* Fix SA on softserial for AT32

* Add another macro

* fix typo
2025-03-11 16:30:13 +01:00
Mark Haslinghuis
28e9df19d3
[4.5.2] Fix SmartAudio (STM32F4) (#13797) (#14283)
Fix SmartAudio (STM32F4) (#13797)

* resubmit after rebase

* Add define for SA without PD

* Move logic to smartaudio
2025-02-27 15:26:49 +01:00
Steve Evans
cf2be037f3
[4.5.2] Maintain state for i2c_ev_handler() for each i2c bus (#14268) (#14269)
Maintain state for i2c_ev_handler() for each i2c bus
2025-02-22 17:18:32 +01:00
Mark Haslinghuis
6c769e7acb
[4.5.2] AT32 add USE_SPI_DEVICE_4 (#14256)
AT32 add USE_SPI_DEVICE_4
2025-02-13 18:33:59 +01:00
Mark Haslinghuis
5192663784
[4.5.2] Fix cli serial buffer overflow (#14252)
Fix cli serial buffer overflow
2025-02-11 18:16:22 +01:00
Mark Haslinghuis
2cec1ed6a7
[4.5.2] Update actions (#14247)
* Update actions

* Trying workaround
2025-02-09 19:44:03 +01:00
Steve Evans
b72789ee8f
Fix G4 SPI clock being double what it should be (#14207) (#14215) 2025-01-29 10:30:38 +01:00
Steve Evans
6e863e86d0
By default mark OSD element as rendered in case it's in the off blink state (#14188)
By default render OSD element in a single cycle
2025-01-22 17:38:32 +01:00
Mark Haslinghuis
8388226d40
[4.5.2] Fix flash type (#14186)
Fix flash type
2025-01-21 16:46:34 +01:00
Mark Haslinghuis
7e55f9e73c
[4.5.2] Fix missing ACCGYRO custom alignment defines (#14092) (#14178)
* Fix missing ACCGYRO custom alignment defines (used in config) (#14092)

* Remove CLKIN pin not available in 4.5

* Update src/main/common/sensor_alignment_impl.h

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

---------

Co-authored-by: Petr Ledvina <ledvinap@gmail.com>
2025-01-18 21:03:42 +01:00
Steve Evans
c3f281ac86
Fix STM32G4 SPI2/SPI3 busses running at double intended clock rate (#14160) (#14161) 2025-01-15 09:30:48 +11:00
Steve Evans
4d4a379958
[4.5.2] Leave SPI CPOL/CPHA at default for SD card (#14142) (#14143) 2025-01-10 23:05:09 +01:00
Steve Evans
0d14c63cfe
AT32F435 SD card support (#14018) (#14122) 2025-01-04 05:35:29 +11:00
Mark Haslinghuis
3cd5de187a
[4.5.2] AT32 SD card support (#14081)
maint-AT32-SD
2024-12-10 19:39:29 +01:00
Mark Haslinghuis
66e83511c7
[4.5.2] Make three attempts to not only write to FLASH, but also validate it (#14002)
Make three attempts to not only write to FLASH, but also validate it (#14001)

Co-authored-by: Steve Evans <SteveCEvans@users.noreply.github.com>
2024-11-03 20:46:14 +01:00
Mark Haslinghuis
019fa5068b
[4.5.2] Fix SITL build (#13992)
Fix SITL build
2024-10-23 06:45:12 +11:00
Mark Haslinghuis
40a3dd6c11
[4.5.2] Add support for W25N02K 2Gbit/256Mbyte FLASH (#13677) (#13989)
* Add support for W25N02K 2Gbit/256Mbyte FLASH (#13677)

* Add support for W25N02K 2Gbit/256Mbyte FLASH

* Remove duplicate defintion check

* Rename W25N01G_BB_*_BLOCK macros

* Remove debug

* Create unified driver for W25N01G and W25N02K devices

* Put device parameters in a table

* Add W25N01GV to stacked die driver

* Add needed fixes for backport

* More refactoring needed for backport

---------

Co-authored-by: Steve Evans <SteveCEvans@users.noreply.github.com>
2024-10-23 06:43:34 +11:00
Mark Haslinghuis
fccb3548b0
[4.5.2] fix timer based bidirectional dshot command not working (#13991)
Fixes #13930: fix timer based bidirectional dshot command not working issue (#13978)

* fix timer based bidirectional dshot command not working issue

* smaller scope of isBitbangActive

Co-authored-by: ke deng <degkxp@hotmail.com>
2024-10-22 17:54:22 +02:00
Mark Haslinghuis
ad93ec30f1
[4.5.2] Fixes #13934: Fix motor(PWM protocol) spin while fc reset. (#13937) (#13958)
Fixes #13934: Fix motor(PWM protocol) spin while fc reset. (#13937)

* Fix motor(PWM protocol) spin while fc reset.

* move delay out to motorShutdown

Co-authored-by: ke deng <degkxp@hotmail.com>
2024-10-09 08:41:52 +11:00
Mark Haslinghuis
f7697e22fe
[4.5.2] Make jeti telemetry default (#13952)
Make telemetry default for jeti (#13951)
2024-10-04 17:01:11 +02:00
Mark Haslinghuis
dd3ca8336d
[4.5.2] Fix build when using SRXL telemetry (#13947) (#13950) 2024-10-04 06:31:14 +10:00
Mark Haslinghuis
3860b2062d
[4.5.2] Don't consider a prior I2C NACK to indicate the bus to be busy (#13917) (#13918)
Don't consider a prior I2C NACK to indicate the bus to be busy (#13917)

Co-authored-by: Steve Evans <SteveCEvans@users.noreply.github.com>
2024-09-24 10:36:50 +02:00
Mark Haslinghuis
d73d1a0757
[4.5.2] Fix kiss passthrough (#13922)
Fixes #13220: Fix kiss esc passthrough, Fix castle (escprog cc) command. (#13911)

* Fix kiss esc passthrough, Fix castle (escprog cc) command.

* Update src/main/drivers/serial_escserial.c

Thank you.



---------

Co-authored-by: Kiss Ultra <86871477+KissUltra@users.noreply.github.com>
Co-authored-by: Alex Fedorov <fedor@anuta.org>
2024-09-24 10:33:19 +02:00
Mark Haslinghuis
cfdcf57f4c
[4.5.2] OSD background rendering (#13897) (#13900)
OSD background rendering (#13897)

* Ensure display severity attribute is set to defaults for background items

* MAX7456 doesn't have a background layer

Co-authored-by: Steve Evans <SteveCEvans@users.noreply.github.com>
2024-09-13 23:38:03 +02:00
Mark Haslinghuis
4d892b79e2
[4.5.2] Fix sbufReadData not advancing src pointer (#13873)
Fix sbufReadData not advancing src pointer
2024-09-04 08:32:37 +02:00
Mark Haslinghuis
07da4999c7
[4.5.2] Fix angle mode rate change (#13864) 2024-08-31 06:51:34 +10:00
nerdCopter
77141cfeb9
[4.5.2] version bump (#13865) 2024-08-31 06:33:18 +10:00
Mark Haslinghuis
aa81b811c4
[4.5.2] Split OSD element rendering into draw and display states (#13813) (#13839)
Split OSD element rendering into draw and display states (#13813)

Co-authored-by: Steve Evans <SteveCEvans@users.noreply.github.com>
2024-08-30 16:45:31 +02:00
Mark Haslinghuis
4a67af735d
[4.5.2] FIX: Modify STM32F405 UID Address for MSC Enumeration (#13769) (#13827)
Modify STM32F405 UID Address for MSC Enumeration (#13769)

Update usbd_msc_desc.c

Co-authored-by: ainosukii <95574594+ainosukii@users.noreply.github.com>
2024-08-19 08:27:42 +10:00
Mark Haslinghuis
63b0aa18d5
[4.5.2] FIX: telemetry for Spektrum/SRXL (#13814) (#13820)
Fix telemetry for Spektrum/SRXL (#13814)

* Fix telemetry for Spektrum/SRXL

* Update after ledvinap review

* Update comments
2024-08-16 07:13:40 +10:00
Steve Evans
77d01ba3b7
[4.5.1] Read gyro data from correct lsm6dsv16x registers (#13787) 2024-07-27 01:50:05 +09:00
Mark Haslinghuis
073b70f7dc
[4.5.1] fix at32 serial bidir pp od init and smart audio (#13764) (#13771)
fix at32 serial bidir pp od init and smart audio (#13764)

include fix for F4 and G4 as well

Co-authored-by: Benedikt Kleiner <b.kleiner@str8labs.com>
Co-authored-by: Eike Ahmels <ea@weslink.de>
2024-07-17 08:34:23 +02:00
Mark Haslinghuis
72101c4f1c
[4.5.1] AT32: Add PC6 and PC7 I2C pins (#13761) 2024-07-10 10:48:43 +10:00
Mark Haslinghuis
ec8c59b49b
[4.5.1] Fixes #13664 - Smartaudio don't work with Softserial (#13715) (#13734) 2024-06-29 07:51:51 +10:00
Mark Haslinghuis
d6a26102a4
[4.5.1] Update to LSM6DSV16X gyro driver (#13724) (#13731) 2024-06-28 07:06:01 +10:00
J Blackman
6cf13cdb4a
[4.5.1] FIX: make: Circular configs <- configs dependency dropped. (#13695) (#13726)
FIX: make: Circular configs <- configs dependency dropped. (#13695)

(cherry picked from commit 660018b1de)
2024-06-27 06:59:48 +10:00
Mark Haslinghuis
cffe79e387
[4.5.1] Set next state expected time on per element basis (#13706) (#13713)
Set next state expected time on per element basis (#13706)

* Set next state expected time on per element basis

* Rename osdNextElement to be clearer

Co-authored-by: Steve Evans <SteveCEvans@users.noreply.github.com>
2024-06-25 07:51:08 +10:00
Mark Haslinghuis
591c64ddc1
[4.5.1] Fix GPS Rescue using MSP is not getting Velocity to Home (#13639) (#13644) 2024-05-18 09:19:25 +10:00
Ivan Efimov
01fb78aa63
[4.5.1] Remove superfluous checks of useDshotTelemetry (#13634) 2024-05-14 06:40:41 +10:00
Mark Haslinghuis
0f001ad245
[4.5.1] battery - fix BATTERY_NOT_PRESENT detection, detection logic change (#13623)
battery - fix BATTERY_NOT_PRESENT detection, detection logic change (#13599)

* battery - fix BATTERY_NOT_PRESENT detection, detection logic change

Detection logic is refactored - battery voltage delta is tested each
50ms, voltage is considered stable when difference of last 10 samples
is smaller than 100mV
This makes stable threshold more forgiving than #13350 (time for
comparison is 50 instead of 500ms).

* battery - improve stable voltage detection

- voltageStablePrevFiltered every time delta is exceeded
- voltage within range is ANDed over 100ms periods
- voltage is stable if it was within range for 10 out of 11 periods
  - slowly changing voltage will update threshold, but voltage will be
    considered stable
  - 1 update/s (100mV/s) is tolerated

* battery - fuix typos, improve comments

Co-authored-by: Petr Ledvina <ledvinap@gmail.com>
2024-05-10 13:24:36 +10:00
Dominic Clifton
0f7d05fec1
Fix hard-coded TARGET_IO_PORT* defines. (#13605)
This should be able to be overridden by targets.  e.g. ones that  use
octospi IO lines 4-7 instead of 0-3.
2024-04-30 01:33:16 +02:00
Mark Haslinghuis
d7fe372732
Bump patch level to 4.5.1 (#13600) 2024-04-30 01:28:20 +02:00