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

19050 commits

Author SHA1 Message Date
Git bot (blckmn)
9f18593be7 Auto updated submodule references [15-04-2025] 2025-04-15 06:25:03 +00:00
Git bot (blckmn)
2b1566b2f0 Auto updated submodule references [12-04-2025] 2025-04-12 06:25:03 +00:00
Steve Evans
9e73f08e34
Properly handle USE_BARO_LPS22DF (#14340) 2025-04-12 08:00:03 +02:00
Thisas
38007f8b59
Fix SITL for MacOS M1 (#14284)
* Fix SITL for MacOS M1

* move macos m1 SITL fix into SITL.mk and extract warnings flags from cflags into WARNING_FLAGS varible

* add back -Werror

* add warning about potencial issues with PG on SITL builds for MacOS apple silicon

* removed override and added CFLAGS_DISABLED and OPTIMISATION_DISABLED

* change OPTIMISATION_DISABLED to OPTIMISATIONS_DISABLED and also use it for CC_DEBUG_OPTIMISATION

* fix building useless hex

* copy instead of move

* clean new artifacts from SITL

* fix clean

* fix issue where in SITL_STATIC will build properly

* building static does not seem to work on macos

* building static does not seem to work on macos

* building static is not possible on macos

* fix issue where make TARGET=SITL still builds hex

* Move everything to CFLAGS_DISABLED and use else if chaning

* add SITL to CI_TARGETS

* add rev to SITL

* add changes suggested by ledvinap

* Update Makefile

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

* Update src/platform/SIMULATOR/mk/SITL.mk

* Add EXE_TARGET_REVISION

---------

Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
2025-04-11 20:13:09 +02:00
Git bot (blckmn)
21dec1d764 Auto updated submodule references [11-04-2025] 2025-04-11 06:25:03 +00:00
hhhh hgfh
b2c939e899
Add Launch Timer (#14332)
* feat: add launch timer to osd timer type

* fix: fix code style

* Update src/main/osd/osd.c

fix: code style

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

* Update src/main/osd/osd.c

fix: adding a comma after "LAUNCH TIME"

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

* Update src/main/osd/osd.c

fix: added free space

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

* Update src/main/osd/osd.h

fix: added free space after declaration

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

* Update src/main/osd/osd.c

fix: added timer reset when switching to LAUNCH mode again

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

---------

Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
Co-authored-by: Jan Post <Rm2k-Freak@web.de>
2025-04-10 23:31:06 +02:00
Marc Frank
4ae22e9f8e
hover point throttle curve adjustment (#14229)
* hover point throttle curve adjustment

* Update src/main/fc/rc.c

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

* Update src/main/fc/rc.c

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

* Update src/main/fc/rc.c

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

* refactor lookup calculation and move hover to end of controlRateConfig_s struct

* moved sbufReadU8 to the bottom

* added sbufBytesRemaining check

* update controlRateProfile version from 6 to 7

* moved thrHover8 declaration position

* revert variable declaration position change

* fixed tests

---------

Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
Co-authored-by: Petr Ledvina <ledvinap@gmail.com>
2025-04-10 14:39:36 +02:00
LiuYongNan
fd3a131797
fix rtc6705 drive (#14296)
* fix rtc6705 drive

* Update rt6705 request suggestion
2025-04-09 15:25:27 +02:00
Git bot (blckmn)
609533a737 Auto updated submodule references [09-04-2025] 2025-04-09 06:25:03 +00:00
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