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

17965 commits

Author SHA1 Message Date
J Blackman
ecdbba2ce2
Cleanup make (#12179)
* Cleanup Makefiles

Given the targets are now simply the MCU, there is now a significant amount of duplication.

TODO:
- will possibly add STM32.mk for inclusion from STM32F4 etc to remove further duplication.

Noting it is now imperative that the gating is right.

* Removed the remnants of "features"

* Further clean up in preparation of new MCUs

* Typo for STM32F722xx

* Fix F411

* Last remnants of the _TARGETS lists.
2023-01-29 01:51:06 +01:00
Mark Haslinghuis
d9264045b3
Default blackbox device to NONE on reset (#12221)
* Default blackbox device to NONE on reset

* Add check for flashIsSupported

* Move blackbox validation outside of validateAndFixGyroConfig()
2023-01-29 01:42:32 +01:00
Mark Haslinghuis
99088f28d1
Fix picture and update links (#12244) 2023-01-29 10:55:49 +11:00
J Blackman
3cbafaf183
Update version for next release (#12234) 2023-01-29 10:24:02 +11:00
Hans Christian Olaussen
4605309d82
Increment EEPROM version for 4.4 (#12242) 2023-01-29 10:18:41 +11:00
J Blackman
0151c30066
Adding Launch Control as standard option. (#12229)
* Adding Launch Control as standard option.
* Adding so it is not present in the CORE_BUILD
* Adding comment
2023-01-25 20:07:15 +11:00
Mark Haslinghuis
2634c3ab37
Remove docs and fix links (#12222) 2023-01-25 19:34:17 +11:00
ykeuter
b1433123c5
fix SITL (#12220)
define USE_PWM_OUTPUT
2023-01-23 13:29:19 +11:00
Jan Post
fb29036ba7
Fix SDFT batch process (#12218)
Fix SDFT batch processing
2023-01-19 15:58:01 +11:00
haslinghuis
e782ab9b28
Fix SITL (#12217) 2023-01-19 15:57:45 +11:00
Jan Post
89afb99dea
Fix DEBUG_ALTITUDE (#12213) 2023-01-19 15:57:29 +11:00
Hans Christian Olaussen
fd54774155
Include MSP over telemetry for ghost (#12208) 2023-01-18 21:24:56 +11:00
ctzsnooze
4454286165
GPS Rescue Bugfix, add a failsafe debug, refactor stick deflection (#12195)
* simple failsafe debug

* simplify areSticksActive

use getRcDeflectionAbs and fix unitTest

* bugfix to require stick input to re-take control

* small refactor
2023-01-18 02:44:50 +01:00
J Blackman
e5c53597a3
Adding comments to common PRE and POST (#12196) 2023-01-18 02:36:08 +01:00
J Blackman
a7cf8f0c6a
Adding release name to the build key output (if provided). (#12201) 2023-01-17 10:48:34 +11:00
J Blackman
d96586d505
Missing define to activate TABLE_VIDEO_SYSTEM (#12200)
* Missing define to activate TABLE_VIDEO_SYSTEM
* USE_PWM should only be for RX (parallell RX inputs), USE_PWM_OUTPUT is for all others.
* Updated gate naming so there is less confusion
* Simplified. Note there maybe further occurences.
2023-01-16 15:50:57 +11:00
Jan Post
5ce7c509a1
Minor fixes for Dyn Notch & SDFT (#12199)
* Minor fixes for Dyn Notch & SDFT
- expand possible configurations for maxHz
- fix proper windowing at the edges of the SDFT

* Refactoring
2023-01-16 15:43:38 +11:00
haslinghuis
56373817fd
Cleanup and make more space available (#12180) 2023-01-16 09:34:40 +11:00
J Blackman
2d57e59dc7
Betaflight 4.4 Release Notes (#12176)
* Create Betaflight 4.4 Release Notes.md

Co-authored-by: Steve Evans <Steve@SCEvans.com>
Co-authored-by: Ivan Efimov <gendalf44@yandex.ru>
Co-authored-by: ctzsnooze <chris.thompson@sydney.edu.au>
2023-01-16 05:26:41 +11:00
Daniel Mosquera
f39f267301
Fixed getDshotAverageRpm function (#12178)
Fixed getDshotAverageRpm function, that was returning erpm value instead of rpm one
2023-01-15 13:42:10 +11:00
Steve Evans
040a519ecd
Automatically apply HD settings if HD VTX is detected (#12184) 2023-01-13 22:05:43 +00:00
J Blackman
2417d50d89
FIX: Hard fault on dump of settings if no OSD selected (#12171) 2023-01-11 08:06:54 +11:00
Dominic Clifton
738ed32cff
Improve performance for ELRS SX1280 SPI callbacks and SPI/ELRS handlers. (#11460)
* SPI - Mark the SPI IRQ handler as FAST_IRQ_HANDLER.

Since it's used by both the gyro code, at 8k (or 2x8k on dual gyro
boards) having it in RAM removes a significant amount of potential flash
latency.

It is also used by the ELRS SPI code.  The ELRS code runs at 500hz, but
each cycle uses multiple SPI transfers, for clear irq, read,
start-recieving, change-frequency, etc. I.e. invokd at least 1000hz in
addition to gyro reads.

* ELRS - Move some frequently used functions to RAM and mark some irq
handlers as FAST.

* SPI/LL - Move some frequently called code to FAST_CODE.

Also remove some invalid characters that Eclipse with encoding as UTF-8
complained about.

* SPI - Mark the spiRx and spiTx dma handlers as FAST_IRQ_HANDLER.

* Filter - move nullFilterApply out of FAST_CODE.

Since it doesn't do anything, it doesn't need to be fast.  Instead we
keep more `fast` RAM for other code that really benefits from being in
fast RAM.

There is a slight penalty to jump into slower RAM.

* Gyro - Move `performGyroCalibration`out of 'fast' ram.

On F7X2 it was being inlined, saved 478 bytes of ITCM.

* Prevent handling of crash recovery handling, not detection of crash
recovery, from being inlined to save ITCM for code that runs more
frequently.
2023-01-11 06:33:06 +11:00
Daniel Mosquera
4494805202
Avoid debugging other data than RPM telemetry when decoding DSHOT RPM (#12166) 2023-01-11 06:29:16 +11:00
haslinghuis
d78082ccf0
Use Support ID in issue template (#12165) 2023-01-11 06:28:19 +11:00
haslinghuis
6793a8efea
Add gate for ICM20602 (#12161) 2023-01-10 12:40:54 +01:00
Steve Evans
1e3fcbfcee
Add osd_canvas_width/height variables (#12164) 2023-01-10 13:25:22 +11:00
haslinghuis
7dd0f60544
Fix removing USE_LED_STRIP (#12162) 2023-01-10 06:15:21 +11:00
J Blackman
261c957762
Move JETIEXBUS serial RX to targets > 512kb flash. (#12160)
This is inline with the telemetry settings. Those who want JETIEXBUS on smaller targets will need to perform a cloud build and select it as an option.
2023-01-09 18:15:54 +01:00
Martin Luessi
a56abc94a8
Flash M25P16: Add QSPI support (#12103) 2023-01-09 15:13:42 +01:00
haslinghuis
105223e65b
Update artifact-links.yml (#12157)
https://github.com/tonyhallett/artifacts-url-comments/issues/80
2023-01-09 12:26:56 +11:00
haslinghuis
be6852e242
Feature cutback making headroom for local development (#12139)
Feature cutback
2023-01-09 12:25:13 +11:00
Steve Evans
107d577a90
Fix reset PG behaviour and configurator interactions based on USE_OSD_SD and USE_OSD_HD definitions (#12152) 2023-01-08 20:49:28 +11:00
Steve Evans
a3a21d9233
Ensure OSD elements are on canvas (#12144) 2023-01-06 23:19:42 +01:00
haslinghuis
29856832ee
Disarm on fail-safe when allow arming without fix is enabled and failsafe procedure is set to GPS-RESCUE (#12120)
* Fix performSanityChecks

* Override RESCUE_DO_NOTHING
2023-01-06 01:05:57 +01:00
Steve Evans
49c9b1074d
Documentation for SPI/I2C bus (#12132) 2023-01-05 01:15:02 +01:00
J Blackman
09d81f9fe8
FIX: SPI_DPS310 not gated correctly (#12131)
- also fixes FPORT requires USE_TELEMETRY
2023-01-04 02:58:27 +01:00
J Blackman
1fdf2ece0b
FIX: CC2500 not building due to undefined pins. (#12125)
See:
d84f1a9ce8/log
2023-01-02 07:14:26 +11:00
haslinghuis
3f86b55883
Add RX_SPI to RX_CC2500 (#12124) 2023-01-02 07:14:04 +11:00
J Blackman
2c34b3949d
FIX: Minor re-organisation for classic building (#12111)
* FIX: Minor re-organisation for classic building

This is so that even for classic build the drivers can be restricted to those specified in the config file.

* Black box can be enabled on its own (cloud build) or if SDCARD or FLASH is enabled.

* Alignment

* 512 not big enough.
2022-12-31 13:10:14 +01:00
J Blackman
dc940e3132
FIX: EXTRA_FLAGS not forcing a rebuild when changed. (#12116) 2022-12-31 13:04:30 +01:00
Jan Post
7fff10d536
Improved SDFT windowing (#12117)
Proper SDFT windowing
2022-12-31 22:36:24 +11:00
Dominic Clifton
1b98917418
STM32H730 base target support. (#12093)
* STM32H750 - Don't define a default config storage subsystem.
* STM32H730 - Add base target based on the H750 unified target.
2022-12-31 14:28:12 +11:00
J Blackman
a967dd6ba3
Update CreatingAUnifiedTarget.md (#12090) 2022-12-31 07:39:37 +11:00
Steve Evans
1c87809ce4
Display OSD canvas size in status command (#12108) 2022-12-30 07:35:41 +01:00
Míguel Ángel Mulero Martínez
702d33632a
Change Slack by Discord for translators in README (#12107) 2022-12-30 16:12:08 +11:00
J Blackman
068c34da79
FIX: Barometers tend to be on boards (#12105)
- this removes the inclusion of all the barometers, expectation is the specific baro will be in the config file.
- users can still add any baro using the custom defines (to work out what needs updating for the config file)
2022-12-29 14:52:59 +01:00
Dominic Clifton
fae746d908
Fix STM32H750 target support (#12091) 2022-12-29 15:37:47 +11:00
J Blackman
dbc647d464
FIX: MSP Displayport now has dependency on OSD config (#12106)
* FIX: MSP Displayport now has dependency on OSD config

See: Center logo and CMS display for HD OSD (#12056)

* CMS is dependent on OSD
* Update src/main/io/displayport_msp.c
Co-authored-by: Jan Post <Rm2k-Freak@web.de>
* A few extra comments (to aid in #endif reconciliation)
2022-12-29 15:19:03 +11:00
Martin Luessi
f7b5df0ee8
Add support for Omron 2SMBP-02B barometer (#11173) 2022-12-27 22:17:27 +01:00