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

19041 commits

Author SHA1 Message Date
Jay Blackman
d9f418dd06
Jetiexbus -> function unused without GPS enabled. (#14336) 2025-04-08 19:25:14 +02:00
blckmn
e036384bc1 PICO: Minor clean up of possible unused functions. 2025-04-08 07:48:57 +10:00
Mark Haslinghuis
c55d7c5c31
Revert GPS flight model change (#14333) 2025-04-07 01:27:02 +02:00
Git bot (blckmn)
eb36e9e11a Auto updated submodule references [05-04-2025] 2025-04-05 06:25:03 +00:00
blckmn
0eab2f46d3 Merge branch 'master' into RP2350 2025-04-05 13:50:36 +11:00
blckmn
623eb5682d PICO: jetiexbus -> function unused without GPS enabled. 2025-04-05 13:14:00 +11:00
blckmn
0b376bff50 PICO: Further implementation of DMA / SPI 2025-04-05 13:13:23 +11:00
Vladimir Demidov
df2e99b953
Added virtual blackbox for SITL (#14325)
* Added virtual black box for SITL

* Update src/main/blackbox/blackbox_virtual.c

The platform.h is added into blackbox_virtual,c

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

* Virtual blackbox code style improvement

* Resolved issue of log files counter

* Added logs file name length checking in virtual blackbox

* Added open directory function result checking

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

* Added computing of const log file neme length

* Improved virtual blackbox file name generation

* Edited errors description in case of using virtual blackbox for non SITL build

* Removed extra #ifdef

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

* Apply USE_BLACKBOX, USE_BLACKBOX_VIRTUAL define for SITL build

* Code style improvement

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

* Code style improvement

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

* Code style improvement

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

* Code style improvement

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

* Code style improvement

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

* Code style improvement

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

* Added USE_BLACKBOX_VIRTUAL checking for #error message

---------

Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
Co-authored-by: Jan Post <Rm2k-Freak@web.de>
2025-04-04 21:57:44 +02:00
Git bot (blckmn)
088620ce35 Auto updated submodule references [03-04-2025] 2025-04-03 06:25:03 +00:00
Mark Haslinghuis
ab5449c9b1
Add PB0 to AT32 SPI3 mosi pins (#14324) 2025-04-03 04:16:36 +11:00
Git bot (blckmn)
472cc2b84a Auto updated submodule references [02-04-2025] 2025-04-02 06:25:03 +00:00
blckmn
add56ec155 FIX: Merge issue with PWM motors 2025-04-01 22:34:04 +11:00
blckmn
8f4ec7c331 Merge branch 'master' into pico_spi 2025-04-01 22:26:50 +11:00
blckmn
881633705d Prep for master merge 2025-04-01 22:26:29 +11:00
blckmn
bfdf41cddb PICO: Initial SPI 2025-04-01 22:21:53 +11:00
Jay Blackman
1d3c661c06
REFACTOR: Moving platform specific DMA code to include/platform (#14320)
* REFACTOR: Moving platform specific DMA code to include/platform

* Cleanup
2025-04-01 22:17:25 +11:00
Git bot (blckmn)
107bab5ed3 Auto updated submodule references [01-04-2025] 2025-04-01 06:25:03 +00:00
Jay Blackman
268952eeb5
Adding simplified timer calls for enabling ESC Serial and Soft Serial for AT32 (#14228) 2025-03-28 21:31:30 +11:00
AJ
06844745f6
fix: missing sitl motor count (#14319)
- other platforms set it, sitl does not and configurator complains
2025-03-27 08:25:24 +11:00
ke deng
ad58b69c20
Add NULL check for vTable->decodeTelemetry (#14321) 2025-03-26 22:20:53 +01:00
Git bot (blckmn)
28848d1324 Auto updated submodule references [26-03-2025] 2025-03-26 06:25:03 +00:00
Git bot (blckmn)
bf4a1a2496 Auto updated submodule references [24-03-2025] 2025-03-24 06:25:03 +00:00
Mark Haslinghuis
3ae8056ec6
Fix typos (#14315) 2025-03-21 23:32:42 +01:00
nerdCopter
9c8f84f62d
Fix gimbalCmdIn.u.crc to gimbalCmdIn.u.gimbalCmd.crc (#14311) 2025-03-21 23:27:40 +01:00
Git bot (blckmn)
8dafdbce41 Auto updated submodule references [21-03-2025] 2025-03-21 06:25:03 +00:00
Git bot (blckmn)
7e47905132 Auto updated submodule references [18-03-2025] 2025-03-18 06:25:03 +00:00
Git bot (blckmn)
0350bd3188 Auto updated submodule references [15-03-2025] 2025-03-15 06:25:03 +00:00
Mark Haslinghuis
92c59091ce
Change airborne default (#14271) 2025-03-15 08:27:17 +11:00
Git bot (blckmn)
a732338905 Auto updated submodule references [14-03-2025] 2025-03-14 06:25:03 +00:00
fluke9
f540409768
fix: led strip not working (#14279) (#14286)
* fix: led strip not working (#14279)

* fix: led strip not working reworked (#14279)

* Revert src/platform/STM32/target/STM32F745/target.h

* Revert src/platform/STM32/target/STM32F7X2/target.h

* Fix per review ledvinap

---------

Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
2025-03-13 19:30:14 +01:00
Git bot (blckmn)
225bb21e9c Auto updated submodule references [13-03-2025] 2025-03-13 06:25:03 +00:00
Mark Haslinghuis
f33e1614ed
Fix typo in accgyro_spi_icm426xx.c (#14290) 2025-03-11 17:07:43 +01:00
Git bot (blckmn)
9e53f4ad5b Auto updated submodule references [06-03-2025] 2025-03-06 06:25:03 +00:00
Petr Ledvina
99e8dd8840
Fix virtualled (#14276) 2025-03-01 17:40:02 +11:00
Git bot (blckmn)
0b4b1123cd Auto updated submodule references [28-02-2025] 2025-02-28 06:25:03 +00:00
crteensy
d8cd6b743b
Properly handle HSI if selected (#14259)
* Properly handle HSI if selected

In some places, PERSISTENT_OBJECT_HSE_VALUE being zero is used to imply that the MCU should be clocked from HSI, but the code doesn't really follow through and results in an invalid clock tree setup.

The proposed changes should fix this.

* Apply suggestions from code review

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

* Update system_stm32g4xx.c

HSI should now be implicitly selected when SYSTEM_HSE_MHZ is defined as 0 or omitted in the target config.

USE_CLOCK_SOURCE_HSI is not necessary.

* Update src/platform/STM32/startup/system_stm32g4xx.c

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

* Update src/platform/STM32/startup/system_stm32g4xx.c

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

---------

Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
Co-authored-by: Petr Ledvina <ledvinap@gmail.com>
2025-02-27 13:46:26 +01:00
Git bot (blckmn)
a801aadf9c Auto updated submodule references [27-02-2025] 2025-02-27 06:25:03 +00:00
Jay Blackman
84c11a5009
FIX: PWM motor output stopped working after #14156 (#14280)
FIX: https://github.com/betaflight/betaflight/issues/14265
2025-02-26 17:21:05 +01:00
Git bot (blckmn)
a779ffaff7 Auto updated submodule references [26-02-2025] 2025-02-26 06:25:03 +00:00
Git bot (blckmn)
c80de5c62a Auto updated submodule references [25-02-2025] 2025-02-25 06:25:03 +00:00
Mark Haslinghuis
611ad5907c
Update io_preinit.c (#14273) 2025-02-23 21:56:03 +01:00
Petr Ledvina
6948fb75e9
Blackbox - IMU quaternion - fix case when w is negative (#14275)
quaternion w can ce negative, causing problem with unit quaternion
reconstruction. Send inverted quaternion in negative-w case (q and -q
are identical rotations)
2025-02-22 18:02:57 +01:00
Steve Evans
1359b40ee7
Maintain state for i2c_ev_handler() for each i2c bus (#14268) 2025-02-22 17:17:48 +01:00
Git bot (blckmn)
c91e3d1050 Auto updated submodule references [20-02-2025] 2025-02-20 06:25:03 +00:00
Git bot (blckmn)
df8beeeea8 Auto updated submodule references [19-02-2025] 2025-02-19 06:25:03 +00:00
crteensy
094d36bb6f
STM32G4: Add option to use external 26 MHz clock (#14261) 2025-02-19 06:16:04 +11:00
Git bot (blckmn)
1b36ccc063 Auto updated submodule references [18-02-2025] 2025-02-18 06:25:04 +00:00
kensherman
7789ecafe3
increasing number of msp ports (#14263)
* increasing number of msp ports

* Adding custom define and bumping to 6 ports

* reverting msp ports to allow to be bumped at build time

* Update src/main/msp/msp_serial.h

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

* reset src/config

---------

Co-authored-by: nerdCopter <56646290+nerdCopter@users.noreply.github.com>
Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
2025-02-17 21:30:35 +01:00
Git bot (blckmn)
95b43ec175 Auto updated submodule references [17-02-2025] 2025-02-17 06:25:03 +00:00
Git bot (blckmn)
66ce15c74e Auto updated submodule references [15-02-2025] 2025-02-15 06:25:03 +00:00