New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rename attr #11270
Rename attr #11270
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Using attributes template in ROM will same few bytes of memory (no pointer) and save instruction or two on dereference... And with all the refactoring going on, it may now be worth it ...
src/main/fc/tasks.c
Outdated
@@ -312,7 +312,7 @@ static void taskCameraControl(uint32_t currentTime) | |||
task_t tasks[TASK_COUNT]; | |||
|
|||
// Task ID data in .data (initialised data) | |||
task_attr_t task_attrs[TASK_COUNT] = { | |||
task_attributes_t task_attributes[TASK_COUNT] = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
task_attributes_t task_attributes[TASK_COUNT] = { | |
static const task_attributes_t task_attributes[TASK_COUNT] = { |
src/main/fc/tasks.c
Outdated
@@ -423,7 +423,7 @@ task_t *getTask(unsigned taskId) | |||
void tasksInit(void) | |||
{ | |||
for (int i = 0; i < TASK_COUNT; i++) { | |||
tasks[i].attr = &task_attrs[i]; | |||
tasks[i].attributes = &task_attributes[i]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tasks[i].attributes = &task_attributes[i]; | |
tasks[i].attributes = task_attributes[i]; |
src/main/scheduler/scheduler.c
Outdated
@@ -126,7 +126,7 @@ bool queueAdd(task_t *task) | |||
return false; | |||
} | |||
for (int ii = 0; ii <= taskQueueSize; ++ii) { | |||
if (taskQueueArray[ii] == NULL || taskQueueArray[ii]->attr->staticPriority < task->attr->staticPriority) { | |||
if (taskQueueArray[ii] == NULL || taskQueueArray[ii]->attributes->staticPriority < task->attributes->staticPriority) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if (taskQueueArray[ii] == NULL || taskQueueArray[ii]->attributes->staticPriority < task->attributes->staticPriority) { | |
if (taskQueueArray[ii] == NULL || taskQueueArray[ii].attributes->staticPriority < task->attributes.staticPriority) { |
src/main/scheduler/scheduler.h
Outdated
|
||
typedef struct { | ||
// Task static data | ||
task_attr_t *attr; | ||
task_attributes_t *attributes; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
task_attributes_t *attributes; | |
task_attributes_t attributes; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks to @daleckystepan for pointing out the following:
typedef struct {
// Configuration
const char * taskName;
const char * subTaskName;
bool (*checkFunc)(timeUs_t currentTimeUs, timeDelta_t currentDeltaTimeUs);
void (*taskFunc)(timeUs_t currentTimeUs);
timeDelta_t desiredPeriodUs; // target period of execution
int8_t staticPriority; // dynamicPriority grows in steps of this size
} task_attributes_t;
staticPriority was defined as const and assignment violated that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ledvinap Implemented your suggestion in second commit.
b6409db
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes seem safe.
Is it possible to post comparison of code size?
This PR:
Master:
|
src/main/fc/tasks.c
Outdated
@@ -423,7 +423,7 @@ task_t *getTask(unsigned taskId) | |||
void tasksInit(void) | |||
{ | |||
for (int i = 0; i < TASK_COUNT; i++) { | |||
tasks[i].attr = &task_attrs[i]; | |||
tasks[i].attributes = task_attributes[i]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm. seems that GCC insists on unrolling the struct assignment. This will probably reduce code size:
tasks[i].attributes = task_attributes[i]; | |
memcpy_fn(tasks[i].attributes, task_attributes[i], sizeof(tasks[i].attributes); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, memcpy_fn(&tasks[i].attributes, &task_attributes[i], sizeof(tasks[i].attributes);
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Output:
Linking STM32F411
Memory region Used Size Region Size %age Used
FLASH: 8072 B 10 KB 78.83%
FLASH_CUSTOM_DEFAULTS: 8 B 6 KB 0.13%
FLASH_CONFIG: 0 GB 16 KB 0.00%
FLASH1: 487431 B 480 KB 99.17%
FLASH_CUSTOM_DEFAULTS_EXTENDED: 0 GB 0 GB
SYSTEM_MEMORY: 0 GB 29 KB 0.00%
RAM: 112136 B 128 KB 85.55%
MEMORY_B1: 0 GB 0 GB
text data bss dec hex filename
489911 5600 106136 601647 92e2f ./obj/main/betaflight_STM32F411.elf
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm .. using memcpy
has minimal effect:
.L1003:
mov lr, r5
ldmia lr!, {r0, r1, r2, r3}
mov ip, r6
stmia ip!, {r0, r1, r2, r3}
ldm lr, {r0, r1}
adds r5, r5, #24
cmp r8, r5
stm ip, {r0, r1}
add r6, r6, #80
bne .L1003
vs
.L1003:
mov r1, r6
mov r0, r5
movs r2, #24
adds r5, r5, #80
bl memcpy
cmp r7, r5
add r6, r6, #24
bne .L1003
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Master seems to be the best solution according to these tables.Let's stick with renaming only.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just don't get where is size difference coming from. Compiler is saving 1 instruction on attributes access. But maybe 32bit instruction encoding has to be used with larger 'tasks', making code larger ...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Another possibility is that with smaller code, gcc decides to unroll / inline function somewhere ...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No worries - at least we tried
I was thinking about this. We don't necessary need to link initialized and uninitialized data together. We can have
And then we can use (Maybe some macro or inline function)
or just
where applicable. We can save dereference, memcpy, ... |
@daleckystepan : IMO not worth it .. The code will be too confusing and it is only minor optimization |
So I guess we purge commit 2 here and leave it with renaming. |
631dcd9
b6409db
to
631dcd9
Compare
Removed second commit:
|
0084ef7
@KarateBrot fixed. As it had multiple properties I thought it made sense to make all plural. |
e67ed77
e67ed77
to
7688f96
Compare
Keep single and plurar definition
7688f96
to
a1a383d
Compare
This is a refactor pr @daleckystepan, why include in 4.3 at this point? |
@asizon Just name change and labeled as 4.3 |
commit 2fd2e8eca52411e2e457589c3eacb57644e2dae4 Merge: 7fcf16aad 3b6ae4914 Author: J Blackman <blckmn@users.noreply.github.com> Date: Wed Apr 6 07:32:34 2022 +1000 Merge pull request #11498 from SupaflyFPV/patch-2 commit 7fcf16aad8606e31864a89bd63ed15a45c9d2008 Merge: bef4c9a25 b360ccd60 Author: haslinghuis <mark@numloq.nl> Date: Sat Apr 2 01:40:00 2022 +0200 Merge pull request #11497 from ctzsnooze/repair-commit-for-PR-11459 fix for failsafe to apply throttle, aux and recovery delay settings commit 3b6ae491457f73941e522623fc759bb7c6d4a10f Author: SupaflyFPV <46397720+SupaflyFPV@users.noreply.github.com> Date: Sat Apr 2 00:36:55 2022 +0100 Create release.yml commit b360ccd60a6efcc7ef28de10b9e2ab557384fe59 Author: ctzsnooze <chris.thompson@sydney.edu.au> Date: Fri Apr 1 18:11:40 2022 +1100 allow sticks in GPS Rescue commit bef4c9a254e298147b97e7f662794c3b1d6ade07 Merge: 4b05d0906 a79840bef Author: ctzsnooze <chris.thompson@sydney.edu.au> Date: Fri Apr 1 11:41:14 2022 +1100 Merge pull request #11494 from haslinghuis/dshot_gpio Fix [Bidirectional] DShot issues on G4, F7 and H7 by reducing GPIO speed commit 4b05d0906f0b7d1df2269824cff2c41d76a3e600 Merge: 21c8d67e9 930d07d63 Author: ctzsnooze <chris.thompson@sydney.edu.au> Date: Fri Apr 1 11:37:03 2022 +1100 Merge pull request #11483 from SteveCEvans/elrs_race Fix ELRS lost connection race condition commit d8aeb89710fbaeda0455878cebcf29e07b43d173 Author: ctzsnooze <chris.thompson@sydney.edu.au> Date: Thu Mar 31 21:19:34 2022 +1100 commit for failsafe PR #11459 commit 930d07d63e8ec3de96bad51195b327b1871348c0 Author: Steve Evans <Steve@SCEvans.com> Date: Wed Mar 2 00:30:04 2022 +0000 Fix ELRS lost connection race condition commit 21c8d67e9545c9cee2de619ec0e19838de6eb57b Merge: a6207a100 07f6bea17 Author: haslinghuis <mark@numloq.nl> Date: Wed Mar 30 21:51:19 2022 +0200 Merge pull request #11459 from SteveCEvans/failsafe_timing Failsafe timing commit 07f6bea174646e9893f81a2bcf93163801c07d27 Author: Steve Evans <Steve@SCEvans.com> Date: Wed Mar 2 00:30:04 2022 +0000 Fix failsafe timings and behaviour to match Failsafe.md commit a79840bef8260f19d736c5dc4767691fcdca871d Author: Mark Haslinghuis <mark@numloq.nl> Date: Mon Mar 28 00:16:23 2022 +0200 Fix [Bidirectional] DShot issues on H7 by reducing GPIO speed commit a6207a100e49bf8192528f3fe75c10556aade9c3 Merge: 61f43fea9 d29685379 Author: haslinghuis <mark@numloq.nl> Date: Mon Mar 28 20:11:10 2022 +0200 Merge pull request #11468 from daleckystepan/fix_rc_smoothing Fix compilation without RC smoothing enabled commit 61f43fea9ea5dbd19d378b06ce8cf37b78d50ea6 Merge: 015e9e2b6 06bf20e79 Author: haslinghuis <mark@numloq.nl> Date: Wed Mar 23 00:01:35 2022 +0100 Merge pull request #11472 from klutvott123/crsf-baud-negotiation Make negotiated baud configurable for CRSF commit 015e9e2b633e2e8f1096a854b1b2321dff33b8ba Merge: 2d2cc2052 e22681e54 Author: haslinghuis <mark@numloq.nl> Date: Tue Mar 22 11:47:27 2022 +0100 Merge pull request #11442 from ctzsnooze/Save-not-Set-for-Tramp-OSD-command Save not set for VTX osd settings commit e22681e54838c1351b4e2f5cf98337162162804f Author: ctzsnooze <chris.thompson@sydney.edu.au> Date: Mon Feb 28 19:41:14 2022 +1100 save not set for vtx OSD settings commit 2d2cc20527a36e87721d98fa379f433b92ec83db Merge: 0b8738052 54548cdf4 Author: haslinghuis <mark@numloq.nl> Date: Mon Mar 21 12:26:06 2022 +0100 Merge pull request #11404 from betafpv-engineer/master Set the target BETAFPVF4SX1280 dshot_bitbang to OFF commit 0b873805291536a8a03062e2759d875bc5a0c0dd Merge: 2e9d2b1b2 a9f9477d3 Author: haslinghuis <mark@numloq.nl> Date: Sun Mar 20 21:33:12 2022 +0100 Merge pull request #11480 from ChrisRosser/BMI_update Update to BMI gyros to use OSR4 mode to reduce gyro hardware lowpass filter cutoffs commit 06bf20e79aaa4d50819116763f3995c5ba643046 Author: Hans Christian Olaussen <41271048+klutvott123@users.noreply.github.com> Date: Tue Mar 15 14:39:55 2022 +0100 Make negotiated baud configurable for CRSF commit a9f9477d3ef9503d406d04ebf6028d0fec4f260f Author: chrisrosser <chrisrosser91@gmail.com> Date: Sat Feb 12 21:40:19 2022 +0000 update to BMI gyros to use OSR4 mode to reduce gyro lowpass filter cutoffs commit 2e9d2b1b2b1d4cea27227f5997dfcb8457e22f9a Merge: 70a1b5968 17fd27e3a Author: J Blackman <blckmn@users.noreply.github.com> Date: Sat Mar 19 11:06:52 2022 +1100 Merge pull request #11471 from nicovv44/format_CodingStyleReadme commit 70a1b596870a2489a194d2116deb4f703db968de Merge: cc3c43cfa 89bc834d0 Author: haslinghuis <mark@numloq.nl> Date: Tue Mar 15 23:12:32 2022 +0100 Merge pull request #11457 from hydra/bf-fix-elrs-issues-1 Fix ELRS issues commit cc3c43cfa6bf27989a76390c0bd89e0cfdf0f365 Merge: e88df3bb6 70ace55b2 Author: haslinghuis <mark@numloq.nl> Date: Tue Mar 15 15:03:10 2022 +0100 Merge pull request #11430 from phobos-/crazybee-icm Included ICM20689 to CRAZYBEEF4SX1280 target commit 17fd27e3a65cbfc4275fddd3007003c4842014c3 Author: Nicolas VERHELST <nicolas.verhelst@daltrey.com> Date: Tue Mar 15 17:25:22 2022 +1100 Add some other back quotes commit f519a089a60d5edcf607cf956625fba722efa234 Author: Nicolas VERHELST <nicolas.verhelst@daltrey.com> Date: Tue Mar 15 17:14:22 2022 +1100 Fix escape commit dcdf5e6af8ce29af0191102fd43e0d68bbe0fda5 Author: Nicolas VERHELST <nicolas.verhelst@daltrey.com> Date: Tue Mar 15 17:10:16 2022 +1100 Add missing back quotes commit d296853797f33e6dfb85908f135b50d798f0ae52 Author: Štěpán Dalecký <daleckystepan@gmail.com> Date: Sat Mar 12 12:53:18 2022 +0100 Fix compilation without RC smoothing enabled commit e88df3bb6804aae78da18c57da8131303f105bef Merge: 18dd0fffc cc3552b03 Author: haslinghuis <mark@numloq.nl> Date: Fri Mar 11 02:26:27 2022 +0100 Merge pull request #11446 from SteveCEvans/avgload Report true average task execution time in tasks report commit 18dd0fffc515494ea20011196ddceef689818623 Merge: 5b5df6593 c8ade4ee0 Author: haslinghuis <mark@numloq.nl> Date: Mon Mar 7 19:12:03 2022 +0100 Merge pull request #11456 from hydra/bf-fix-exti-issues-1 Fix EXTI issues commit 89bc834d014e60164e02165f1e17ea4b3865d822 Author: Dominic Clifton <dominic.clifton@cleanflight.com> Date: Sat Mar 5 20:25:45 2022 +0100 ELRS - Fix EXTI irq clash and SPI transfer failure. When the same exti IRQ (not exti line) is used for both the BUSY and the DIO signals the IRQ levels cannot be different and neither can be a higher priority than the SPI DMA. commit b06e6616d40f29fa95e3c5bcbea78743fc2b1b51 Author: Dominic Clifton <dominic.clifton@cleanflight.com> Date: Fri Mar 4 20:22:52 2022 +0100 Fix missing ELRS GPIO configuration. GPIO pins need to be in INPUT mode before they can be read via IDR. The reason it's broken on the H7 is that the default gpio mode is ANALOG, not INPUT like it is on other MCUs, and that the busy pin is used before communication to the SX1280 and the busy wait function returns to early because the GPIO IDR bit is always 0 on the H7. i.e. not busy, when it is. It may also be broken on other MCUs prior to this. commit c8ade4ee070538c1a20037223c130bbf91a59874 Author: Dominic Clifton <dominic.clifton@cleanflight.com> Date: Sat Mar 5 18:51:10 2022 +0100 EXTI - Ensure the exti line is disabled and pending bit cleared for all MCUs. Prior to this commit there was no equivalent to EXTI_ClearITPendingBit for H7. commit d0de9ac1f83c8c247eecc225edb01bc906f4de25 Author: Dominic Clifton <dominic.clifton@cleanflight.com> Date: Sat Mar 5 17:14:29 2022 +0100 EXTI - Remove boolean argument from EXTIEnable. It's confusing to have a method called EXTIEnable that takes an argument that can DISABLE the line. There are usually 3 options for this: 1. Use two methods, one for enable, one for disable. 2. Use enum constants instead of the boolean argument. 3. Rename to '*Set', e.g. EXTISet(...) This commit applies option 1 above, as it's cleaner and the most common use case in the codebase. commit 0cfd462d855566acba5a3bd9c42ee233b3bf7552 Author: Dominic Clifton <dominic.clifton@cleanflight.com> Date: Sat Mar 5 17:11:28 2022 +0100 EXTI - Clear pending register when disabling an exti line. commit cc3552b03287095131af5328373f575b1c62e322 Author: Steve Evans <Steve@SCEvans.com> Date: Wed Mar 2 00:30:04 2022 +0000 Report true average task execution time in tasks report commit 5b5df65934ad05c0cc95f856ffcdb1f4e7c170f5 Merge: 70fca9c54 8ac81f86b Author: haslinghuis <mark@numloq.nl> Date: Tue Mar 1 21:37:07 2022 +0100 Merge pull request #11439 from SteveCEvans/compass_timing Perform compass reads in the background commit 70fca9c542d10ca0bd0e817e9806ef214b6d9367 Merge: 9127219d0 783e232bf Author: haslinghuis <mark@numloq.nl> Date: Tue Mar 1 19:14:14 2022 +0100 Merge pull request #11406 from KarateBrot/sdftWindow Fix SDFT windowing commit 9127219d0cf4814174f65c43588b3a34fa4df1ae Merge: ccd9508fc fc8640154 Author: haslinghuis <mark@numloq.nl> Date: Tue Mar 1 12:56:23 2022 +0100 Merge pull request #11380 from SteveCEvans/elrs_sub_state Exploratory concept for ELRS interrupt/busy handling commit fc8640154ac2bc09c7b2fa0fcdc54beab05e2c3c Author: Steve Evans <Steve@SCEvans.com> Date: Wed Feb 2 21:05:58 2022 +0000 Interrupt/DMA driven SX1280 interaction for ELRS commit ccd9508fca44266aba0ddab61d2818b306c2b5c2 Merge: 2efc30413 3f2c2bd8d Author: haslinghuis <mark@numloq.nl> Date: Sun Feb 27 15:50:56 2022 +0100 Merge pull request #11403 from FiorixF1/master Updated LED_STRIP docs with undocumented CLI commands commit 8ac81f86b20574976c9933aac11e1e3a0c519b4d Author: Steve Evans <Steve@SCEvans.com> Date: Sun Feb 27 13:56:32 2022 +0000 Perform compass reads in the background commit 2efc30413cd0617bf3ce784479eeb88342b4ab85 Merge: 36ab05f6a c8b31f0dd Author: haslinghuis <mark@numloq.nl> Date: Sun Feb 27 13:49:24 2022 +0100 Merge pull request #11420 from justinflipflops/fixDShotDefineCompilationIssues Fix USE_DSHOT_TELEMETRY & USE_DSHOT_BITBANG define compilation issues commit 3f2c2bd8dbee671071735bcc44a55fffda87f5fb Author: haslinghuis <mark@numloq.nl> Date: Sun Feb 27 02:34:23 2022 +0100 Update docs/LedStrip.md commit 36ab05f6a305346334c83cc03aa9d0a0af0fb45d Merge: 3559c104a 4e8b8f548 Author: Jan Post <post@stud.tu-darmstadt.de> Date: Sun Feb 27 02:28:36 2022 +0100 Merge pull request #11320 from MrTucks/patch-2 removed outdated Dshot1200 and F3 processors from feature list in readme commit 3559c104a8348128d6c7040972db3264054aa04b Merge: 7b4415f06 13cb7b428 Author: haslinghuis <mark@numloq.nl> Date: Sat Feb 26 11:18:44 2022 +0100 Merge pull request #11429 from klutvott123/fix-non-dshot Fix non DSHOT protocols commit 13cb7b42805dcb1aa8046dac1f170e48b125b0c7 Author: Hans Christian Olaussen <41271048+klutvott123@users.noreply.github.com> Date: Mon Feb 21 00:11:26 2022 +0100 Fix non DSHOT protocols commit 70ace55b21381d0a5b8b0754c7fb3e3fe8b09778 Author: phobos- <pawel.m.stefanski@gmail.com> Date: Tue Feb 22 08:10:05 2022 +0100 Included ICM20689 to CRAZYBEEF4SX1280 target commit c8b31f0dd0e785df3ef2be3af4e48df5e8e7b730 Author: justinflipflops <justin.oberdorf@gmail.com> Date: Sat Feb 19 17:05:38 2022 -0500 Fix compilation when not using USE_DSHOT_BITBANG commit f179c6435b0201cbdb4a371395573a43c0573e97 Author: justinflipflops <justin.oberdorf@gmail.com> Date: Sat Feb 19 17:04:47 2022 -0500 Fix compilation when building without USE_DSHOT_TELEMETRY commit 783e232bf8822940354b4faa9c8911706a7cc982 Author: KarateBrot <Rm2k-Freak@web.de> Date: Thu Feb 17 20:54:50 2022 +0100 Fix SDFT windowing commit b96031573dfa82959cdd7fcd1e65ea3d9967d359 Author: Alessandro Fiorillo <32413980+FiorixF1@users.noreply.github.com> Date: Tue Feb 15 19:39:42 2022 +0100 Updated LED_STRIP docs with undocumented CLI commands commit 54548cdf4cad8d8d77be5a386bbadfa1167bc164 Author: betafpv-engineer <engineer@betafpv.com> Date: Tue Feb 15 11:31:59 2022 +0800 Set the target BETAFPVF4SX1280 dshot_bitbang to OFF commit ae77ed3dafbf10b298b073731618c168498afd56 Author: Alessandro Fiorillo <32413980+FiorixF1@users.noreply.github.com> Date: Mon Feb 14 20:54:34 2022 +0100 Updated LED_STRIP docs with undocumented CLI commands commit 7b4415f062656218427ee160b776ac5488eca5f1 Merge: 3267f0417 874911c35 Author: haslinghuis <mark@numloq.nl> Date: Mon Feb 14 00:22:48 2022 +0100 Merge pull request #11361 from bobbycisneros/OSDBattEfficiencyFix Update for Battery Efficiency Fix Issue #11277 commit 874911c359783383f3f3a319a85e406a0ddceebd Author: Robert Cisneros <bobbycisneros@verizon.net> Date: Fri Jan 28 16:48:55 2022 -0600 Update for Battery Efficiency Fix Issue #11277 commit 3267f0417f2f597555d5a804648cbb3c114faf1f Merge: e8e25482a eef662c3f Author: J Blackman <blckmn@users.noreply.github.com> Date: Tue Feb 1 09:47:29 2022 +1100 Merge pull request #11373 from ledvinap/patch-1 Fix position_alt_*_sats commit e8e25482ab4452f0fcd5311fa5b3e9bbf8cf4b3a Merge: c6d093758 ac2b8fe9c Author: Jan Post <post@stud.tu-darmstadt.de> Date: Mon Jan 31 18:45:50 2022 +0100 Merge pull request #11370 from limonspb/fix_filter_sliders_min changed the min value for simplified filters to 10 commit eef662c3f5cb29815833fdec52626a98da411394 Author: Petr Ledvina <ledvinap@gmail.com> Date: Mon Jan 31 16:16:51 2022 +0100 fix position_alt_*_sats `position_alt_baro_fallback_sats` minimum must be 1 smaller than `position_alt_gps_min_sats` (altitude valid is `>=`, fallback is `<=`) commit ac2b8fe9c24f20cd0e6cd58b90302989c5a97f3c Author: Ivan Efimov <gendalf44@yandex.ru> Date: Sun Jan 30 23:02:18 2022 -0600 changed the min value for simplified filtes to 10 commit 4e8b8f54897ebfc26b9a4fa711820d1d4e6bc172 Author: MrTucks <41760293+MrTucks@users.noreply.github.com> Date: Mon Jan 31 01:35:32 2022 +0100 Update README.md Co-authored-by: haslinghuis <mark@numloq.nl> commit c6d09375835fe871fb7041701ab0475b415468d4 Merge: fc8318f54 da2185225 Author: haslinghuis <mark@numloq.nl> Date: Mon Jan 31 00:19:37 2022 +0100 Merge pull request #11312 from bakwc/fixDefaultModeAltitude Fixed wrong altitude in DEFAULT (GPS + BARO) mode commit fc8318f54bb1470aacd206ff1cb2eee6b4632581 Merge: 8701d9141 da0a42aed Author: haslinghuis <mark@numloq.nl> Date: Sun Jan 30 02:29:42 2022 +0100 Merge pull request #11359 from alexeystn/fix_visual_beeper Fix visual beeper commit 8701d9141fa4b1f93138d1dffbbee2783a171bf1 Merge: 074172b4c cc67b2e87 Author: haslinghuis <mark@numloq.nl> Date: Sun Jan 30 02:29:12 2022 +0100 Merge pull request #11340 from SteveCEvans/osd_peak_task Increase number of element groups and use peak hold task estimation for OSD commit da2185225abe24637511eb5f6903df764b2803d1 Author: Filipp Bakanov <filipp@bakanov.su> Date: Sat Jan 29 19:48:20 2022 +0300 Fixed review commit 3c3cfbab72fce3952107b9d85c7f8292ff15a523 Author: Filipp Bakanov <filipp@bakanov.su> Date: Sat Jan 29 13:56:53 2022 +0300 Fixed review commit 9a0e0b8a8dd3f87cd64695047badb3118b36b1c8 Author: Filipp Bakanov <filipp@bakanov.su> Date: Sat Jan 29 12:58:57 2022 +0300 Fixed review commit 674d3b1e3bc946ca051e60f2995a6eff4f387db5 Author: Filipp Bakanov <filipp@bakanov.su> Date: Sat Jan 29 11:48:10 2022 +0300 Fixed review commit 074172b4c94206e33a42d3aa5d8e4da2bd1a3e6d Merge: 2c82ddb9a 1c3e562ac Author: haslinghuis <mark@numloq.nl> Date: Sat Jan 29 03:26:27 2022 +0100 Merge pull request #11351 from hydra/bf-osd-async-on-canvas-update OSD - Use async screen clear in OSD_STATE_UPDATE_CANVAS. commit 2c82ddb9a8be626980aeb09105e9c1f3935dbe66 Merge: 5b1874dd3 08d76dd99 Author: haslinghuis <mark@numloq.nl> Date: Sat Jan 29 02:18:32 2022 +0100 Merge pull request #11354 from SteveCEvans/sched_defer Only prioritise a task if there's time to run it commit 5b1874dd30ac841296ed5a82e10ee0b005df94e2 Merge: d43bba39e a91166bda Author: haslinghuis <mark@numloq.nl> Date: Sat Jan 29 01:07:37 2022 +0100 Merge pull request #11350 from hydra/bf-fix-elrs-link-failures Fix ELRS link failures where link is unrecoverable. commit d43bba39ee4878e482a973317141fcf1363ef642 Merge: 0a1f879a1 2262dfc60 Author: haslinghuis <mark@numloq.nl> Date: Fri Jan 28 23:07:43 2022 +0100 Merge pull request #11335 from ctzsnooze/TPA-via-throttle Use Throttle Setpoint, not rcDATA, for TPA commit cc67b2e87c2af9bcee78c80caa22fc9c999c4597 Author: Steve Evans <Steve@SCEvans.com> Date: Fri Jan 28 20:31:47 2022 +0000 Naming changes suggested by Hydra commit da0a42aeda19a1dc6519bbe4afbcbd2dc7995ac9 Author: Alexey Stankevich <alexey.stn@gmail.com> Date: Fri Jan 28 22:35:26 2022 +0300 Fix visual beeper commit e19469c0baccab709e6ed32b88d1e0df7454b676 Author: Filipp Bakanov <filipp@bakanov.su> Date: Fri Jan 28 21:01:11 2022 +0300 Fixed review commit 0a1f879a19ed1d3e764e590c4ac9f9d4d10ea77a Merge: b6bc232a1 7272e7d92 Author: Jan Post <post@stud.tu-darmstadt.de> Date: Fri Jan 28 18:52:01 2022 +0100 Merge pull request #11341 from McGiverGim/issues_as_form Fix labels in yaml forms commit 08d76dd998e5370f4e3ea2cbbb1730db03fa1af2 Author: Steve Evans <Steve@SCEvans.com> Date: Fri Jan 28 17:24:54 2022 +0000 Express SCHED_TASK_DEFER_MASK as a hex value commit ae3842c89c93a8402ecd64eb09f02e87ef23a7a6 Author: Steve Evans <Steve@SCEvans.com> Date: Fri Jan 28 17:22:43 2022 +0000 Add unit test for priority bump of low priority task when higher priority task doesn't have time to run commit a91166bda0d2844fc7713519de2d6759b627208d Author: Dominic Clifton <dominic.clifton@cleanflight.com> Date: Sun Jan 23 17:28:19 2022 +0100 ExpressLRS - Fix data-race in ISR handling that was observed that caused RX loss. Likely caused by RX task running *very* late and a new EXTI flag being set, and then being immediately cleared without processing it. More likely to happen on the bench than in the air due to task latency caused by USB activity. commit bbc46d9cadffa87e56a2118acf6ee930f19ef2ab Author: Filipp Bakanov <filipp@bakanov.su> Date: Fri Jan 28 16:09:33 2022 +0300 Fixed missing baro GPS altitude estimation commit 4bda34b66b807ff2827d0761c5a2c2ac013f33c9 Author: Filipp Bakanov <filipp@bakanov.su> Date: Fri Jan 28 16:06:30 2022 +0300 Returned back to config commit ca0f25b265f9e97785ee61a0ceeb8d8925319860 Author: Filipp Bakanov <filipp@bakanov.su> Date: Fri Jan 28 15:14:29 2022 +0300 Refactor commit 3670b7d4108358d2e5b639efeced47382fc8080e Merge: 749b5aa88 f2559fbfd Author: Filipp Bakanov <filipp@bakanov.su> Date: Fri Jan 28 14:06:00 2022 +0300 Merge branch 'master' into fixDefaultModeAltitude commit 1ad09783ffb7afbfde7cbfb0bfed44ad9a010440 Author: Steve Evans <Steve@SCEvans.com> Date: Thu Jan 27 21:06:47 2022 +0000 Only prioritise a task if there's time to run it commit 2e8d026b4e5299cfe005b120590aa5450921e279 Author: Steve Evans <Steve@SCEvans.com> Date: Wed Jan 26 20:24:12 2022 +0000 Add OSD_STATE_GROUP_ELEMENTS state to osdUpdate() and optimise DMA vs polled MAX7456 SPI access commit 1c3e562ac5fb9f03b518be6ac2c03d3cfbc21b00 Author: Dominic Clifton <dominic.clifton@cleanflight.com> Date: Thu Jan 27 16:21:44 2022 +0100 OSD - Use async screen clear in OSD_STATE_UPDATE_CANVAS. commit 3c5a5728b228de81fda161efefdf4377ba99b57a Author: Dominic Clifton <dominic.clifton@cleanflight.com> Date: Sun Jan 23 17:46:23 2022 +0100 ExpressLRS - Fix an edge-case when a receiver can have both of it's ISR flags set. This has not been observed on the bench but is more of a safeguard so that the task doesn't stall and can decide what to do. commit 882e216f8a80d87c4f84cee8de32836192f9ab66 Author: Dominic Clifton <dominic.clifton@cleanflight.com> Date: Sun Jan 23 17:11:35 2022 +0100 RX SPI - Fix driver using the NVIC priority assigned to the MPU. commit 28e596a500ece6e20a84d3a32a19f1764e4368cd Author: Steve Evans <Steve@SCEvans.com> Date: Tue Jan 25 00:09:46 2022 +0000 Increase number of element groups and use peak hold task estimation for OSD commit b6bc232a1965a52f27e482dc61162a72bb3ff25a Merge: c7ae164ec 765afa35b Author: haslinghuis <mark@numloq.nl> Date: Wed Jan 26 13:57:48 2022 +0100 Merge pull request #11330 from hydra/bf-fix-rx-loss-caused-by-osd-stats Fix RX loss caused by OSD stats display. commit c7ae164eccba464694d3cc9f4cee540160789c62 Merge: f2559fbfd 3009a1335 Author: haslinghuis <mark@numloq.nl> Date: Wed Jan 26 00:00:41 2022 +0100 Merge pull request #11323 from haslinghuis/remove_lpuart1 Remove LPUART1 from STM32G4 and SMT32H7 if no resource configured commit 2262dfc60e14bd9cf3a8cad99ae33c2113f52178 Author: ctzsnooze <chris.thompson@sydney.edu.au> Date: Mon Jan 24 15:25:16 2022 +1100 use Throttle Setpoint, not rcDATA(throttle), for TPA commit 7272e7d92bb4d5b6659a507f58d0a6462ee1502c Author: Miguel Angel Mulero Martinez <migmul@gmail.com> Date: Tue Jan 25 08:28:09 2022 +0100 Fix labels in yaml forms commit 3009a13355bbc42f24bdc0f51a11400722a4c725 Author: Mark Haslinghuis <mark@numloq.nl> Date: Sun Jan 23 21:13:59 2022 +0100 Fix UARTS and LPUART commit 765afa35b735b16191a4b82686df4f698919852c Author: Dominic Clifton <dominic.clifton@cleanflight.com> Date: Sun Jan 23 15:31:50 2022 +0100 OSD - Fix code-style. commit 5215a2b896409db715d751f0d0a1c28e8e8778ee Author: Dominic Clifton <dominic.clifton@cleanflight.com> Date: Sun Jan 23 15:31:00 2022 +0100 CMS - Fix whitespace. commit a0ca5124a207719357ab9404f6ff2dbbd2c1b8ef Author: Dominic Clifton <dominic.clifton@cleanflight.com> Date: Sun Jan 23 15:30:29 2022 +0100 CMS - Fix comment typo. commit 023a7e5b0066c5bd0d24b08442b92eba6faeaf81 Author: Dominic Clifton <dominic.clifton@cleanflight.com> Date: Sun Jan 23 15:29:15 2022 +0100 OSD - Always use specifically named stats refresh phases in. commit e0f27197ff67928847489eb085c8b0b0e68c9b61 Author: Dominic Clifton <dominic.clifton@cleanflight.com> Date: Sun Jan 23 15:26:01 2022 +0100 OSD - Remove unneeded call to `schedulerIgnoreTaskExecTime` in stats refresh. commit 1f666add6c2d90a1a7330938c856dde836c735ef Author: Dominic Clifton <dominic.clifton@cleanflight.com> Date: Sun Jan 23 15:23:10 2022 +0100 OSD - Clarify display driver requirements. commit 2a9f0a50bb2b1639afd93568c86b5c3083b710ea Author: Dominic Clifton <dominic.clifton@cleanflight.com> Date: Sat Jan 22 16:53:40 2022 +0100 OSD - Prevent RX task starvation by drawing each stats row on a separate iteration. commit 2fe5947290fd6cf1fbdc12a15f8879a37ef22199 Author: Dominic Clifton <dominic.clifton@cleanflight.com> Date: Sat Jan 22 15:23:41 2022 +0100 OSD - Prevent RX loss on stats display by using async screen clearing and multiple phases. commit e2c0388a6a4068c6c78fa7d76732ba6cf012b10e Author: Dominic Clifton <dominic.clifton@cleanflight.com> Date: Sat Jan 22 14:33:57 2022 +0100 OSD - Add support for async screen clearing to display API. No screen clearing is actually done asynchronously yet. commit f2559fbfd884828ed3b00d557c5684cd2c0c7dcd Merge: 30dc410c7 68e9501b0 Author: Jan Post <post@stud.tu-darmstadt.de> Date: Fri Jan 21 10:44:08 2022 +0100 Merge pull request #11319 from SteveCEvans/relax_determinism Add scheduler_relax_rx and scheduler_relax_osd variables commit edfb94b1b56f86a3c418ee6fa8ff31f4fdf38267 Author: Mark Haslinghuis <mark@numloq.nl> Date: Thu Jan 20 13:30:19 2022 +0100 Remove LPUART1 for STM32H7 Unified Target commit 68e9501b021108e8d5cad0036b427ea4de9f1ecf Author: Steve Evans <Steve@SCEvans.com> Date: Fri Jan 21 00:38:30 2022 +0000 Fix layout of PG numbering commit 30dc410c705dd01867e3f1452fec296e6894d4a4 Merge: 9c3562a10 c62afa2e1 Author: haslinghuis <mark@numloq.nl> Date: Thu Jan 20 23:55:53 2022 +0100 Merge pull request #11322 from McGiverGim/issues_as_form Move GitHub issues to forms commit b3903edf551d7d03b38dd8d741a1e726d490eba7 Author: Steve Evans <Steve@SCEvans.com> Date: Thu Jan 20 13:54:38 2022 +0000 Allow RX and OSD tasks to be scheduled at the second attempt on F411 processors commit 749b5aa88482b50830722be6683d3543a6bbd2a9 Merge: dc409c29f 9c3562a10 Author: Filipp Bakanov <filipp@bakanov.su> Date: Thu Jan 20 16:17:16 2022 +0300 Merge branch 'master' into fixDefaultModeAltitude commit c62afa2e12e651e2711cb35c038ee41d1262d114 Author: Miguel Angel Mulero Martinez <migmul@gmail.com> Date: Thu Jan 20 09:48:09 2022 +0100 Move GitHub issues to forms commit 2af98ae7c8be6c1c0433aa8f957cf193f0242608 Author: Steve Evans <Steve@SCEvans.com> Date: Thu Jan 20 02:35:02 2022 +0000 Increase max scheduler_relax_rx and scheduler_relax_osd settings to 500 commit 62cb1fba1ab1fb159b81ee16dbf1ed4acc52e245 Author: Steve Evans <Steve@SCEvans.com> Date: Wed Jan 19 21:41:13 2022 +0000 Add scheduler_relax_rx and scheduler_relax_osd variables commit 376fc2e6676a32833b92a0771b60f4e54dc09de9 Author: MrTucks <41760293+MrTucks@users.noreply.github.com> Date: Wed Jan 19 23:17:34 2022 +0100 small changes to feature list commit 9c3562a10b405bc6ea9972160811fe88a96339f2 Merge: 72c70a22e 2947bae4e Author: Štěpán Dalecký <36531759+daleckystepan@users.noreply.github.com> Date: Tue Jan 18 08:21:05 2022 +0100 Merge pull request #11245 from haslinghuis/fix_building_in_ubuntu Update documentation for building in Ubuntu commit 72c70a22e857e4e24bb59d430f2093be7a217f8c Merge: 185288341 a1a383d81 Author: Štěpán Dalecký <36531759+daleckystepan@users.noreply.github.com> Date: Tue Jan 18 08:19:18 2022 +0100 Merge pull request #11270 from haslinghuis/rename_attr Rename attr commit 185288341aa9ac80921c79c36476bfefb9df4a0c Merge: c8a268a41 61e80dec9 Author: haslinghuis <mark@numloq.nl> Date: Tue Jan 18 00:20:52 2022 +0100 Merge pull request #11301 from DusKing1/add-NEUTRONRCF411SX1280 Add NEUTRONRCF411SX1280 target commit c8a268a411b88c89264f31ddbe7196fbf2edc48f Merge: 8986f53c2 6af04d43a Author: haslinghuis <mark@numloq.nl> Date: Tue Jan 18 00:20:16 2022 +0100 Merge pull request #11299 from daleckystepan/vtx-start-bit Vtx smartaudtio fix space commit 8986f53c210a7b78d9171a0f2e336f18254f839f Merge: 07cc5c44c b42c90774 Author: Štěpán Dalecký <36531759+daleckystepan@users.noreply.github.com> Date: Mon Jan 17 22:25:18 2022 +0100 Merge pull request #11229 from phobos-/elrs-fixes ExpressLRS - fixed slow initial connection commit 07cc5c44c3a95e29745110dfd6367c6a81a29f19 Merge: a6b9560b4 bdff13fd2 Author: haslinghuis <mark@numloq.nl> Date: Mon Jan 17 22:14:41 2022 +0100 Merge pull request #11305 from SteveCEvans/unified_ICM42688P Add support for ICM42605 and ICM42688P for unified targets except F411 commit bdff13fd2481eb51402ac7e8dee0d08b07c5da11 Author: Steve Evans <Steve@SCEvans.com> Date: Mon Jan 17 18:47:28 2022 +0000 Fix merge error of gyro register offset commit dc409c29feced1ff327eb365c07e5644a789390a Author: Filipp Bakanov <filipp@bakanov.su> Date: Mon Jan 17 17:31:06 2022 +0300 Fixed wrong altitude in DEFAULT (GPS + BARO) mode commit a1a383d812763a099b11b253a181b76d4a3284b8 Author: Mark Haslinghuis <mark@numloq.nl> Date: Tue Jan 11 01:22:52 2022 +0100 Rename attr Keep single and plurar definition commit ee740d13814ea34c1600250335e06be0c0db3476 Author: Steve Evans <Steve@SCEvans.com> Date: Sun Jan 16 11:38:35 2022 +0000 Add support for ICM42605 and ICM42688P for unified targets except STM32F411 (for space reasons) commit 61e80dec92fa280b21044786de572c02b01e46a4 Author: DusKing1 <1483569698@qq.com> Date: Mon Jan 3 14:43:52 2022 +0800 add NeutronRCF411SX1280 target commit 6af04d43a4bdf4ccad46450dd1dcfeff8ba199c9 Author: Štěpán Dalecký <daleckystepan@gmail.com> Date: Sun Jan 16 09:49:09 2022 +0100 Vtx smartaudtio fix space commit a6b9560b4827b58afeb8736536d9d2050af5eb77 Merge: c16e97182 3eed09d1f Author: J Blackman <blckmn@users.noreply.github.com> Date: Sun Jan 16 12:53:27 2022 +1100 Merge pull request #11287 from daleckystepan/vtx-start-bit commit c16e971825e92f2a742f1bf669b22f65e68cfa45 Merge: 1ccaa6210 db904b4a7 Author: haslinghuis <mark@numloq.nl> Date: Sun Jan 16 02:27:46 2022 +0100 Merge pull request #11274 from SteveCEvans/rs_state_time Fix issues impacting RX_STATE_MODES state duration and add DEBUG_RX_STATE_TIME commit 1ccaa62108cb8968b345801926f61fce92a492f4 Merge: ec9f48547 6a933478d Author: haslinghuis <mark@numloq.nl> Date: Sat Jan 15 23:58:03 2022 +0100 Merge pull request #11297 from SteveCEvans/baro_state If barometer read is still in progress ignore state execution time as it is short commit 6a933478d27f93e29cae62631df0c87b6eb02a27 Author: Steve Evans <Steve@SCEvans.com> Date: Sat Jan 15 21:32:54 2022 +0000 Fix BARO task rate display commit 815cb41d300bb1613688517d87cfcb2d742ce073 Author: Steve Evans <Steve@SCEvans.com> Date: Sat Jan 15 20:19:49 2022 +0000 Add missing else clauses commit ec9f485470b7cfd69359c9a4c965b788b5f9e005 Merge: ab565b04d 5ee4db104 Author: ctzsnooze <chris@th.id.au> Date: Sun Jan 16 07:04:36 2022 +1100 Merge pull request #11294 from ctzsnooze/revert-11141 revert 11141 re-enable gyro exti sync commit 0cbd4c61b1c4cf3f83deccfd54ca883de94c4592 Author: Steve Evans <Steve@SCEvans.com> Date: Sat Jan 15 16:41:43 2022 +0000 If barometer read is still in progress ignore state execution time as it is short commit ab565b04d7230e8dc7f782298531686ef786d6d4 Merge: 8d52a3615 7ee073651 Author: haslinghuis <mark@numloq.nl> Date: Sat Jan 15 02:49:11 2022 +0100 Merge pull request #11289 from daleckystepan/dhsot-rounding-fix [WIP ]Add rounding to proper display dshot values commit 5ee4db1040ec0b667ab3eebce448ecaca993bbec Author: ctzsnooze <chris.thompson@sydney.edu.au> Date: Sat Jan 15 12:03:39 2022 +1100 revert 11141 re-enable gyro exti sync commit 7ee07365165638695042bc7c7fb4395e6093bf7f Author: Štěpán Dalecký <daleckystepan@gmail.com> Date: Fri Jan 14 20:42:38 2022 +0100 Add rounding to proper display dshot values commit db904b4a75393bb8e4f5f716bad89e7c5cfeaffc Author: Steve Evans <Steve@SCEvans.com> Date: Fri Jan 14 03:42:10 2022 +0000 Add expediting of OSD task commit e7b61a928f0662a93fcbd38cd3a1e26a77c55e31 Author: Steve Evans <Steve@SCEvans.com> Date: Fri Jan 14 03:22:52 2022 +0000 Still update duration of next anticipated state even is current execution time is ignored commit 3eed09d1f2019bc85c1867bfab013f9460e6e2ed Author: Štěpán Dalecký <daleckystepan@gmail.com> Date: Thu Jan 13 18:27:56 2022 +0100 VTX alternative SOFTSERIAL start bit commit 4e47a792d8688b5ff2217c0f75262d282b68886c Author: Steve Evans <Steve@SCEvans.com> Date: Wed Jan 12 21:51:58 2022 +0000 Add TASK_AGE_EXPEDITE_RX to ensure RX task is never starved of time commit c05ad2ec9b7d3a0915ef9748a160a0cc28931069 Author: Steve Evans <Steve@SCEvans.com> Date: Tue Jan 11 20:09:55 2022 +0000 Fix issues impacting RX_STATE_MODES state duration and add DEBUG_RX_STATE_TIME commit 8d52a36150979816d7b3fe9f80abbeac1a10fa81 Merge: f12cc31ad 1526adfb4 Author: haslinghuis <mark@numloq.nl> Date: Tue Jan 11 17:28:23 2022 +0100 Merge pull request #11269 from SteveCEvans/rx_timing Ignore duration of calcActiveAdjustmentRanges() and optimize RX_TASK_DECAY_SHIFT commit f12cc31adccb024ee150afe5330b4f6e770c1769 Merge: 51f870f1e 0415fce37 Author: J Blackman <blckmn@users.noreply.github.com> Date: Wed Jan 12 03:25:39 2022 +1100 Merge pull request #11272 from klutvott123/f405-bidir-dshot600 commit 0415fce374b661793f5052886fe98f7bf5c20063 Author: Hans Christian Olaussen <41271048+klutvott123@users.noreply.github.com> Date: Tue Jan 11 16:44:14 2022 +0100 Bring back F405 bidirectional DSHOT600 commit 51f870f1e8f327ecfa13a57ca5ed8c3fe2357daa Merge: 16d743188 a2debf5fb Author: J Blackman <blckmn@users.noreply.github.com> Date: Tue Jan 11 10:37:53 2022 +1100 Merge pull request #11261 from daleckystepan/tasks Rename task id to task attr commit 16d7431888032b145fb87e5492b7bd841c9a0e0e Merge: b86106941 c71302b35 Author: haslinghuis <mark@numloq.nl> Date: Tue Jan 11 00:13:43 2022 +0100 Merge pull request #11263 from SteveCEvans/camctl Set CAMCTL task priority to TASK_PRIORITY_LOW commit 1526adfb44ec33a5d65efe0f0d75b3fe9366446e Author: Steve Evans <Steve@SCEvans.com> Date: Mon Jan 10 01:18:05 2022 +0000 Ignore duration of calcActiveAdjustmentRanges() and optimize RX_TASK_DECAY_SHIFT commit b42c90774225a21cd3fb05de4994754cfd7644f0 Author: phobos- <pawel.m.stefanski@gmail.com> Date: Sat Jan 1 11:57:28 2022 +0100 ExpressLRS - fixed slow initial connection commit b86106941fed17913c927c5a15326b9d9d8b46ec Merge: e91f11190 d3c3d5fa9 Author: haslinghuis <mark@numloq.nl> Date: Mon Jan 10 01:31:48 2022 +0100 Merge pull request #11256 from SteveCEvans/gyro_fix Fix gyro SpiDetect routines commit e91f11190d11ef38b28e797005840c3aa44e35bc Merge: f2a2bc6cf 05da9a875 Author: haslinghuis <mark@numloq.nl> Date: Mon Jan 10 01:31:20 2022 +0100 Merge pull request #11255 from SteveCEvans/NUCLEOF722debug Don't define USE_DEBUG_PIN for NUCLEOF722 commit f2a2bc6cf463f47e82f5ec2675191f3c0d25548b Merge: 18ee33e7a 4d80ef751 Author: haslinghuis <mark@numloq.nl> Date: Mon Jan 10 01:30:29 2022 +0100 Merge pull request #11254 from blckmn/kissfc_linker Received build errors when linking KISSFCV2F7 commit c71302b35f9052784377df85a4f16dfdd47b416b Author: Steve Evans <Steve@SCEvans.com> Date: Sun Jan 9 23:10:01 2022 +0000 Set CAMCTL task priority to TASK_PRIORITY_LOW commit a2debf5fbf81e248d2a1d0e3f0bb42a95ecb0747 Author: Štěpán Dalecký <daleckystepan@gmail.com> Date: Sun Jan 9 20:36:16 2022 +0100 Rename task id to task attr commit d3c3d5fa90c611fc65000353e5b5b4e15bac6ec7 Author: Steve Evans <Steve@SCEvans.com> Date: Sun Jan 9 03:50:16 2022 +0000 Fix gyro SpiDetect routines commit 05da9a87599ff87ad16a1e7bb54cb08ed44006d1 Author: Steve Evans <Steve@SCEvans.com> Date: Sun Jan 9 01:43:00 2022 +0000 Don't define USE_DEBUG_PIN for NUCLEOF722 commit 18ee33e7a80904a8ddd11b8e13609068d8643d08 Merge: ee8560af4 baa0e8014 Author: J Blackman <blckmn@users.noreply.github.com> Date: Sun Jan 9 12:08:10 2022 +1100 Merge pull request #11235 from mluessi/ml_fix_h7_usart1_af Fix H7 USART1 AF for PB6 and PB7 commit 4d80ef751c122e913abf23597cc58bcfb1f4a8f1 Author: blckmn <blackman@xtra.com.au> Date: Sun Jan 9 12:04:58 2022 +1100 Received build errors when making: Linking KISSFCV2F7 Memory region Used Size Region Size %age Used ITCM_RAM: 15496 B 16 KB 94.58% ITCM_FLASH_CONFIG: 0 GB 16 KB 0.00% ITCM_FLASH: 0 GB 480 KB 0.00% AXIM_FLASH_CONFIG: 0 GB 16 KB 0.00% AXIM_FLASH: 347784 B 480 KB 70.76% DTCM_RAM: 38128 B 64 KB 58.18% SRAM1: 31892 B 176 KB 17.70% SRAM2: 0 GB 16 KB 0.00% MEMORY_B1: 0 GB 0 GB FLASH_CUSTOM_DEFAULTS: 0 GB 18446744073709551615 B 0.00% /src/betaflight/tools/gcc-arm-none-eabi-9-2020-q2-update/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/bin/ld:./src/main/target/KISSFCV2F7/stm32_flash_f722_kissfcv2f7.ld:51: ignoring invalid character `\357' in expression /src/betaflight/tools/gcc-arm-none-eabi-9-2020-q2-update/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/bin/ld:./src/main/target/KISSFCV2F7/stm32_flash_f722_kissfcv2f7.ld:51: ignoring invalid character `\277' in expression /src/betaflight/tools/gcc-arm-none-eabi-9-2020-q2-update/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/bin/ld:./src/main/target/KISSFCV2F7/stm32_flash_f722_kissfcv2f7.ld:51: ignoring invalid character `\274' in expression /src/betaflight/tools/gcc-arm-none-eabi-9-2020-q2-update/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/bin/ld:stm32_flash_f7_split.ld:107: warning: memory region `FLASH_CUSTOM_DEFAULTS' not declared text data bss dec hex filename 342808 4976 65044 412828 64c9c ./obj/main/betaflight_KISSFCV2F7.elf Creating HEX ./obj/betaflight_4.3.0_KISSFCV2F7.hex commit ee8560af46849f954bdc808b77202b39c22a4ae1 Merge: 103b9cb01 12d926066 Author: J Blackman <blckmn@users.noreply.github.com> Date: Sun Jan 9 11:34:59 2022 +1100 Merge pull request #11243 from FrankPetrilli/patch-1 Change docs links from Travis to Azure Pipelines commit 103b9cb01cb68238621d62460de5801c8c13620f Merge: 5a32c7252 97c5999c7 Author: J Blackman <blckmn@users.noreply.github.com> Date: Sun Jan 9 11:34:36 2022 +1100 Merge pull request #11253 from SteveCEvans/rangefinder Fix rangefinder.c compiler warning commit 5a32c7252e293966c38d3a207059f425bec10cea Merge: a46789f86 eb3209ec4 Author: J Blackman <blckmn@users.noreply.github.com> Date: Sun Jan 9 11:25:02 2022 +1100 Merge pull request #11236 from blckmn/makefile_release Makefile changes to more easily support release naming convention commit a46789f86a513b42b0c729de5f6369348d8abb57 Merge: 922992605 727d3e7da Author: J Blackman <blckmn@users.noreply.github.com> Date: Sun Jan 9 11:19:55 2022 +1100 Merge pull request #11252 from SteveCEvans/spi1_streams commit 97c5999c7ea4f30060351f745122354d23f8fa0a Author: Steve Evans <Steve@SCEvans.com> Date: Sun Jan 9 00:10:29 2022 +0000 Fix rangefinder.c compiler warning commit 9229926051db08abdd397fc9d55635fa0078037f Merge: b8c58abf0 3efe85e24 Author: J Blackman <blckmn@users.noreply.github.com> Date: Sun Jan 9 06:18:54 2022 +1100 Merge pull request #11247 from SteveCEvans/omnibusf4_max7456_clock commit 727d3e7daf9e0262ff5b8c3caff3a2c73bd6be78 Author: Steve Evans <Steve@SCEvans.com> Date: Sat Jan 8 17:25:21 2022 +0000 Only allocate DMA streams for SPI_MOSI 1/SPI_MISO 1 if enabled on F4 commit 3efe85e24ae3f2d38b025ab66270e3298d9919e4 Author: Steve Evans <Steve@SCEvans.com> Date: Sat Jan 8 14:06:56 2022 +0000 Fix max7456ConfigMutable()->clockConfig commit 2947bae4eacbede2023e9a1a488df86bac58bc03 Author: Mark Haslinghuis <mark@numloq.nl> Date: Sat Jan 8 03:09:53 2022 +0100 Update documentation for building in Ubuntu Update documentation for building in Ubuntu last change commit b8c58abf0e4a11a8bee54b9abbaed8683c65d5d2 Merge: 4f8579afc 401d05274 Author: haslinghuis <mark@numloq.nl> Date: Sat Jan 8 01:53:12 2022 +0100 Merge pull request #11218 from AlessandroAU/fix-msp-over-crsf Fix MSP over CRSF for larger read and writes commit 12d92606602fc4d89fd8e3a69f52e43d3aa796cd Author: Frank Petrilli <frank@petril.li> Date: Fri Jan 7 10:16:07 2022 -0800 Update pull request template for Travis -> Azure commit 0acc860766a89bbf4b17fffe2ec2c923665fe2a6 Author: Frank Petrilli <frank@petril.li> Date: Fri Jan 7 10:13:22 2022 -0800 Change README link from Travis to Azure Pipelines It appears Travis (now at https://app.travis-ci.com/github/betaflight/betaflight/branches btw) hasn't been updated for months, and Azure Pipelines is what runs builds for pull requests, etc. commit eb3209ec45c8555af02c9dc426afb3ffba11ba72 Author: blckmn <blackman@xtra.com.au> Date: Fri Jan 7 15:00:57 2022 +1100 Additional comment clarity. commit 90f609fa9924105d92aa5253fd9bec092a9e0455 Author: blckmn <blackman@xtra.com.au> Date: Fri Jan 7 14:58:56 2022 +1100 Makefile changes to support RELEASE=yes to simplify naming, and also remove the production of the bin file by default. Bin files can still be made using: make bin TARGET=xxx commit 4f8579afc0a0fa1df39dbfda6c4118327d954146 Merge: cc45f27fc da849318b Author: J Blackman <blckmn@users.noreply.github.com> Date: Fri Jan 7 14:01:05 2022 +1100 Merge pull request #11172 from mluessi/ml_fix_h7_spi Fix SPI sequencing in spiInternalReadWriteBufPolled for H7 commit cc45f27fc4e49dd888aac05f65512982a4c09213 Merge: 0b34ae08e 420fb8575 Author: J Blackman <blckmn@users.noreply.github.com> Date: Fri Jan 7 13:59:23 2022 +1100 Merge pull request #11183 from daleckystepan/cppcheck-bugfixes Fix bugs found by cppcheck commit 0b34ae08e98214f2de677ca1679c23902710826e Merge: 386892e2b cfa78b7b4 Author: ctzsnooze <chris@th.id.au> Date: Fri Jan 7 11:17:51 2022 +1100 Merge pull request #11189 from klutvott123/move-telemetry-displayport-init Move telemetry displayport init and cms device registering commit 386892e2b50f5b8e8c666a0efbab3f28345ce550 Merge: 4bc7a2c7f d492257f4 Author: J Blackman <blckmn@users.noreply.github.com> Date: Fri Jan 7 10:59:16 2022 +1100 Merge pull request #11198 from SteveCEvans/sce_rc2 commit baa0e8014f7aa5b876eaecc3d74cd5cd3f6ea33b Author: Martin Luessi <mluessi@gmail.com> Date: Thu Jan 6 15:33:29 2022 -0800 Fix H7 USART1 AF for PB6 and PB7 commit d492257f4151915fe63d42f3c130c6ab4e15424e Author: Steve Evans <Steve@SCEvans.com> Date: Wed Jan 5 21:32:31 2022 +0000 Fix refresh stats scheduling commit f5ee6cfd0852ad5adfb7ec33f305587eb8d555e0 Author: Steve Evans <Steve@SCEvans.com> Date: Wed Jan 5 21:09:30 2022 +0000 Ignore time taken to update profile with stick commands commit 2c5accb8ba2e2ad3d3af6d65a440dabb6a38f4df Author: Steve Evans <Steve@SCEvans.com> Date: Tue Jan 4 19:38:35 2022 +0000 Ignore time task to update EEPROM as otherwise stick commands can upset the RX task commit 70e22b61c46a5951890af4b59717c4b61c5c1c1b Author: Steve Evans <Steve@SCEvans.com> Date: Wed Jan 5 19:00:26 2022 +0000 Call spiCalculateDivider() to allow validation as per ledvinap comment commit 4aab87539f8dbafeb5d865ca7a8eb6fa8e63f17f Author: Steve Evans <Steve@SCEvans.com> Date: Sat Jan 1 02:31:18 2022 +0000 Implement queuing of SPI request segments Use union in busSegment_t as per ledvinap feedback commit ea53e32db4f7afcbdcd05b7f2163e7b073e0d1bd Author: Steve Evans <Steve@SCEvans.com> Date: Mon Jan 3 17:51:53 2022 +0000 Don't allow bidirectional DSHOT600 on an F411 commit 573984eb2adf32378fdd59bba24008a17db8d6f7 Author: Steve Evans <Steve@SCEvans.com> Date: Mon Jan 3 00:18:07 2022 +0000 Support dynamic priority for all tasks priorities commit 44e45ddc84b4783c67e64973f9b5f51df342aef8 Author: Steve Evans <Steve@SCEvans.com> Date: Sat Jan 1 02:31:18 2022 +0000 Implement queuing of SPI request segments commit 5ef34f79d509303756cd39328409dafad43b9b13 Author: Steve Evans <Steve@SCEvans.com> Date: Wed Dec 29 23:05:16 2021 +0000 Allow for HALF/NOMINAL/DOUBLE frequency of MAX7456 SPI clock commit 96ac7953ae83925da6bc5121c12a7cb3fc8a649c Author: Steve Evans <Steve@SCEvans.com> Date: Tue Dec 28 13:54:27 2021 +0000 Adjust GYRO_LOCK_COUNT commit f232d385923e5c11df0eda7127b4495fa8977c01 Author: Steve Evans <Steve@SCEvans.com> Date: Tue Dec 28 11:03:48 2021 +0000 Enable USE_LATE_TASK_STATISTICS on F411 commit 9bdf9c11e9cfc3c14c1efe3409c829f6a538b700 Author: Steve Evans <Steve@SCEvans.com> Date: Mon Dec 27 23:53:47 2021 +0000 Split initialised/non-initialised task data commit 2d770f747e5e632d9ed15f4fd0ac82942037a528 Author: Steve Evans <Steve@SCEvans.com> Date: Tue Dec 28 21:56:45 2021 +0000 Make gyroDataIndex const commit e2f73cd7e53238476432aa84a5d61699ebb17950 Author: Steve Evans <Steve@SCEvans.com> Date: Fri Oct 22 19:13:05 2021 +0100 Add DMA support for ICM-42688-P commit b701b89a7cd56a81170eebb2429fc0c25fea3fc1 Author: Steve Evans <Steve@SCEvans.com> Date: Fri Dec 24 01:49:26 2021 +0000 Fix DSHOT on G4 commit 4bc7a2c7fa87be9a39df9bfd20eca44991fb9a82 Merge: c2982eed4 fae153050 Author: haslinghuis <mark@numloq.nl> Date: Thu Jan 6 02:10:35 2022 +0100 Merge pull request #11220 from SteveCEvans/uart_pin_swap Ignore UART pins which are not defined commit c2982eed4055c2b54f94c9332cefb78fa96f6590 Merge: d593f08ef bec895071 Author: haslinghuis <mark@numloq.nl> Date: Tue Jan 4 21:25:05 2022 +0100 Merge pull request #11223 from hydra/fix-elrs-unit-test ExpressLRS - Fix compilation of unit test. commit 401d052748ac89e198368a6b18f5b6ebc2e4305a Author: AlessandroAU <alessandroaus@gmail.com> Date: Mon Jan 3 09:39:40 2022 +1000 tested and working increase crsf frame timeout and msp tlm buffer sizes addresses comments commit bec895071f4908d1bdabde0839e59b821f956393 Author: Dominic Clifton <dominic.clifton@cleanflight.com> Date: Mon Jan 3 19:45:46 2022 +0100 ExpressLRS - Fix compilation of unit test. Error was: compiling ../main/rx/expresslrs.c ../main/rx/expresslrs.c:101:24: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] eprState_t eprState = {0}; commit d593f08eff23976045a0090ab218c81a2501b8ed Merge: cf78447b0 a511eef8a Author: haslinghuis <mark@numloq.nl> Date: Mon Jan 3 14:15:49 2022 +0100 Merge pull request #11211 from TonyBlit/fix_gps_motion wrong variable for heading commit cf78447b0126689e830ffcc52414ede3afecac53 Merge: 1ceb80d11 4c6075b52 Author: J Blackman <blckmn@users.noreply.github.com> Date: Mon Jan 3 18:24:59 2022 +1100 Merge pull request #11181 from haslinghuis/fix_fedora_documentation Fix Fedora Development Documentation commit fae15305003c83e678eeb8da29ed89895765edb2 Author: Steve Evans <Steve@SCEvans.com> Date: Mon Jan 3 02:36:49 2022 +0000 Ignore UART pins which are not defined commit 1ceb80d11f11b9c11a26de079eb3433071260086 Merge: 3d9b7cf49 a253fe414 Author: Štěpán Dalecký <36531759+daleckystepan@users.noreply.github.com> Date: Sat Jan 1 14:58:21 2022 +0100 Merge pull request #11208 from TonyBlit/fix_gps_time fix for gps time commit a511eef8aa97db337d1070489f75659a5efe5774 Author: Tony Cabello <> Date: Sat Jan 1 10:00:12 2022 +0100 wrong variable for heading commit a253fe414ef41c824bb9e6f654f0b85423c437ae Author: Tony Cabello <> Date: Fri Dec 31 17:45:44 2021 +0100 fix for gps time commit cfa78b7b4f11ebee5d15b17bb2fb95eceb026331 Author: Hans Christian Olaussen <41271048+klutvott123@users.noreply.github.com> Date: Tue Dec 28 20:09:58 2021 +0100 Move telemetry displayport init and cms device registering commit 3d9b7cf490b4ba124b628b6d0abbbee52d4cb446 Merge: 8402d30c0 b29ee58e0 Author: haslinghuis <mark@numloq.nl> Date: Tue Dec 28 22:07:22 2021 +0100 Merge pull request #11169 from SteveCEvans/f411_osd Reduce number of OSD bytes transferred in polled mode commit 420fb85759ad8dfc82f751293c744642bddb37c8 Author: Štěpán Dalecký <daleckystepan@gmail.com> Date: Tue Dec 28 13:42:47 2021 +0100 Fix bugs found by cppcheck commit 8402d30c0d957dc5489437e5ec7bc40738fc1ecc Merge: 7bd62f82d d464dd737 Author: haslinghuis <mark@numloq.nl> Date: Tue Dec 28 04:24:13 2021 +0100 Merge pull request #11179 from mluessi/ml_fix_spi_f4_dshot_bitbang SPI: fix compilation on F4 when DSHOT_BITBANG is not used commit 7bd62f82d30b92d883b2a011e83cfef44e256c6d Merge: 5933d96bc dedb2a115 Author: ctzsnooze <chris@th.id.au> Date: Tue Dec 28 14:12:13 2021 +1100 Merge pull request #11168 from TonyBlit/fix_gps_coord fix for gps coordinates not shown on OSD commit b29ee58e0a6df2596f1cfca3ef3f97094da8060a Author: Steve Evans <Steve@SCEvans.com> Date: Sun Dec 26 18:08:50 2021 +0000 Display stats on disarm commit 20e41b5f665b0c861e7e956d69fcdc16ac43e201 Author: Steve Evans <Steve@SCEvans.com> Date: Sun Dec 26 16:41:45 2021 +0000 Reduce number of OSD bytes transferred in polled mode commit 4c6075b52bb821a482f05634dcac0c6c606e4178 Author: Mark Haslinghuis <mark@numloq.nl> Date: Tue Dec 28 01:18:09 2021 +0100 Fix Fedora Development Documentation commit d464dd737836c04ac8ec426bbe58ddca07e0304a Author: Martin Luessi <mluessi@gmail.com> Date: Mon Dec 27 11:59:53 2021 -0800 SPI: fix compilation on F4 when DSHOT_BITBANG is not used commit da849318b30180153e3d63c16c1a9da909dcb7e8 Author: Martin Luessi <mluessi@gmail.com> Date: Sun Dec 26 07:35:18 2021 -0800 Fix SPI sequencing in spiInternalReadWriteBufPolled for H7 commit dedb2a115b7491cbcc1655e68989040ddfd74f0d Author: Tony Cabello <> Date: Sun Dec 26 16:32:31 2021 +0100 fix for gps coordinates not shown on OSD commit 5933d96bc3e0718cc4fcd54f23436241d6e1c3c3 Merge: 474fddd08 ea69db040 Author: Jan Post <post@stud.tu-darmstadt.de> Date: Thu Dec 23 19:20:23 2021 +0100 Merge pull request #10613 from hydra/bf-h7adc-configuration Allow H7 targets to specify an ADC device and channel commit ea69db0400b178a398fb86a872aa8e0a2d3c69c1 Author: Dominic Clifton <dominic.clifton@cleanflight.com> Date: Sun Aug 9 16:58:07 2020 +0200 Allow H7 targets to specify an ADC device for each channel and a default ADC device in case of resource re-mapping conflict. This allows a single ADC device to be used for all channels, which can free up DMA channels. For the H7 this makes much more sense because the TEMP and VREF channels are ALWAYS on ADC3, so using ADC3 for other pins is optimal. The previous behaviour was to use the first instance for that supported the pin. This behavour is only used when the configured default DMA device does not support the pin. e.g. ``` possible. ``` The above config would no-longer use ADC1 for anything, as ADC2 and ADC3 can satisfy all the ADC requirements. commit 474fddd08a3638ee7350500b26099acb6f1947a6 Merge: bfff89c11 a325e2386 Author: Štěpán Dalecký <36531759+daleckystepan@users.noreply.github.com> Date: Thu Dec 23 18:35:19 2021 +0100 Merge pull request #10695 from hydra/bf-stm32h730-cpu-support Initial STM32H730 CPU Support commit a325e2386d06ab62dfa940c3034aed9cf6aa8e9b Author: Dominic Clifton <me@dominicclifton.name> Date: Thu Mar 11 22:38:34 2021 +0100 STM32H730 - Initial ST32H730 support. The H730 is a value-line CPU, similar to the H723/H725, but with only 128kb RAM. The FC firmware code is designed to RUN from external flash in MEMORY MAPPED mode, via OctoSPI. Use of ITCM/DTCM advised for core loops, like PID control. A bootloader is required to enable memory-mapped mode and jump to the firmware, similar to how EXST bootloader system works. Config storage is not part of this commit and is a problem when using a single flash chip in memory mapped mode because the CPU can't run read/write routines from the flash chip while writing to the flash chip. Until flash read/write routines are updated the solution requires either a second flash chip on an SPI interface, or the use of an SD card for config storage. Additional commits will support read/write of config to the code/data storage flash chip to enable cheap and space efficient single-flash-chip FC solutions. Squashed commits: STM32H730 - Workaround issue with 2GB `.elf` files being created. STM32H730 - Reduce firmware size to 1MB. STM32H730 - Add USB HS configuration. STM32H730 - Add ADC internal tag mappings. STM32H730 - Update all ADC mappings based on the referenced ST documentation. Add the VBAT channels. STM32H730 - Fix DMA continuous requests. STM32H730 - Fix ADC_INTERNAL confusion. STM32H730/G4 - Disambiguate use of ADC_CHANNEL_INTERNAL_FIRST_ID. STM32H730 - Fix documentation reference. STM32H730 - Add DMA request mapping for ADC3. STM32H730 - Explicitly set the ADC clock. STM32H730 - Configure PLL2 speeds correctly. * Tested with Ultrafast 64GB SanDisk SDXC card. STM32H730 - Use 50Mhz clock for SDXC cards. * Tested with SanDisk Ultra 64GB. 100Mhz clock gave CRC errors. STM32H730 - Ensure USB has a lower NVIC priority than the SDMMC card reads. If it's higher, 0, then the SDMMC's DMA IRQ handler doesn't get called when handing USB MSC storage reads. STM32H730 - Support CPU name in CLI. STM32H730 - Rebuild when linker scripts changes. commit 0b7fcb7df4a5d3b303385e9cf41e20b721214017 Author: Dominic Clifton <dominic.clifton@cleanflight.com> Date: Mon May 17 16:57:57 2021 +0200 STM32H7 - Use FAST_CODE on all HOT ISRs to avoid flash access on targets where FAST_CODE functions are placed in RAM. commit 37412289ddd8ea767e6dca0da7558a190f99e60e Author: Dominic Clifton <dominic.clifton@cleanflight.com> Date: Wed May 5 18:32:29 2021 +0200 STM32H7 - Cleanup clock configuration and add frequency calculation comments. commit 9a70c8b176d16790101c8ee6f20be9f0f3bed343 Author: Dominic Clifton <dominic.clifton@cleanflight.com> Date: Tue May 18 14:41:28 2021 +0200 STM32H7 - Add support for compiling H725 and A3x. commit 121ebe7fe3acebe21496db24194c52d38413810d Author: Dominic Clifton <me@dominicclifton.name> Date: Thu Apr 15 15:52:42 2021 +0200 STM32H7 - Add support for GPIO Port I to def_generated source. Rebuild io_def_generated.h commit faa1fdc3d6ad1cb2ea9a9b301abf989d2bea5886 Author: Dominic Clifton <dominic.clifton@cleanflight.com> Date: Mon Mar 15 01:44:47 2021 +0100 STM32H7 - Cleanup HAL configuration. No settings changed, just updates based on latest hal config template file. commit 8b897bdcd768b49d9c5cc95693fa2702e4f01591 Author: Dominic Clifton <dominic.clifton@cleanflight.com> Date: Mon Mar 15 01:28:20 2021 +0100 STM32H7 - Update HAL configuration and enable OSPI module. commit 4fcf75265519003d5e4964038258ab03a19349a0 Author: Dominic Clifton <dominic.clifton@cleanflight.com> Date: Wed Apr 28 11:24:05 2021 +0200 Fix objcopy 'memory exhausted' error when extracting the EXST hash section. References: * https://stackoverflow.com/questions/5235009/huge-binary-files-with-objcopy commit 115a584713240f35b39edb84cf96b81862729e04 Author: Dominic Clifton <dominic.clifton@cleanflight.com> Date: Sun May 30 18:56:18 2021 +0200 HAL - Fix issues with HAL USB timeouts on fast processors. * Occurs more frequently on >=480Mhz CPUs. * Occurs more frequently on RELEASE builds due to optimizations. Patch comes from here: https://community.st.com/s/question/0D50X0000BCMFx0SQH/usbhs-ulpi-on-stm32h750 Confirmed fixed on H730 @ 520Mhz RELEASE build. commit bfff89c112e8e1237b115f8864be1278595ff109 Merge: a708578c5 32bc45ba2 Author: Štěpán Dalecký <36531759+daleckystepan@users.noreply.github.com> Date: Thu Dec 23 11:12:44 2021 +0100 Merge pull request #11141 from ctzsnooze/disable-EXTI-for-Nox-until-bugfix-found commit a708578c5e96d26091be7ce66e0272c31f0b6557 Merge: ac7774cc7 12dc2eb3f Author: Jan Post <post@stud.tu-darmstadt.de> Date: Thu Dec 23 09:04:54 2021 +0100 Merge pull request #11149 from daleckystepan/get_rid_of_double_math_512kb Get rid of double math on <512kB targets commit ac7774cc73e7a6d5872a6ca6fcee17be2d0ed701 Merge: 5e931169f ca6c495f4 Author: Štěpán Dalecký <36531759+daleckystepan@users.noreply.github.com> Date: Thu Dec 23 08:57:14 2021 +0100 Merge pull request #10762 from g3gg0/add_SK6812_RGBW add SK6812 RGBW 4-channel LEDs commit ca6c495f46418a3d5c6a7dd2da2594a10b3c2823 Author: g3gg0 <geggo@g3gg0.de> Date: Thu Dec 23 01:12:02 2021 +0100 add SK6812 RGBW 4-channel LEDs, which are compatible to WS2812 except for the fourth color channel commit 5e931169f2be010ecf65d78171eecaeda841ff88 Merge: 4f0d4b81b f2f4f817f Author: J Blackman <blckmn@users.noreply.github.com> Date: Thu Dec 23 10:53:28 2021 +1100 Merge pull request #11134 from daleckystepan/disable_olc_on_low_flash commit 12dc2eb3fb63cfd84bd3043c7cb8fd13a7d098a1 Author: Štěpán Dalecký <daleckystepan@gmail.com> Date: Thu Dec 23 00:15:37 2021 +0100 Get rid of double math on <512kB targets commit 4f0d4b81b12ec664de8a18787702cd296a876ba8 Merge: 509303ee2 e00a3abc5 Author: haslinghuis <mark@numloq.nl> Date: Wed Dec 22 23:46:03 2021 +0100 Merge pull request #10788 from phobos-/express-lrs ExpressLRS over SPI - sx1280 and sx1276 support commit 509303ee2e9fb2bd6911839ea48a8d97b09dbb99 Merge: 9e2002b96 f6190e2f1 Author: haslinghuis <mark@numloq.nl> Date: Wed Dec 22 23:32:24 2021 +0100 Merge pull request #11011 from SteveCEvans/dshot_defaults Dshot dshot_bitbang=AUTO behaviour change for non-F4 commit f2f4f817f8d18d68ac562985fa043fac219d8935 Author: Štěpán Dalecký <daleckystepan@gmail.com> Date: Sun Dec 19 21:06:13 2021 +0100 Disable OLC on low flash target to save around 5kB commit 9e2002b9697445f0f7f9e047b6f50eb01ba3b706 Merge: d293e45f5 87c259a26 Author: haslinghuis <mark@numloq.nl> Date: Wed Dec 22 23:26:00 2021 +0100 Merge pull request #11096 from mathiasvr/float-math Fix use of floating point math functions commit d293e45f5712d2e45f5a5b705e16efb7f4d733c8 Merge: 790a904cf 705e93431 Author: haslinghuis <mark@numloq.nl> Date: Wed Dec 22 09:15:26 2021 +0100 Merge pull request #11143 from KarateBrot/noiseFloor Enhance SDFT noise floor commit 32bc45ba29070d9d2d33eb8638373ce9762ab170 Author: ctzsnooze <chris.thompson@sydney.edu.au> Date: Tue Dec 21 13:15:55 2021 +1100 disable GYRO_EXTI when Gyro and OSD share the same bus commit 790a904cfd38e12a8828265623ba7d7177990d5b Merge: 03bbc575c fc024cdac Author: ctzsnooze <chris@th.id.au> Date: Wed Dec 22 15:34:27 2021 +1100 Merge pull request #11098 from mathiasvr/static-opt Optimize rescueAttainPosition() commit 03bbc575c35d823f8cbb5e79c1ce835df5e51407 Merge: 4c034d67e 877adf463 Author: haslinghuis <mark@numloq.nl> Date: Wed Dec 22 01:55:49 2021 +0100 Merge pull request #11145 from SteveCEvans/task_ave Calculate moving sum delta time in 10ths us commit 877adf4634670bfed1515907b0a20f0691f99723 Author: Steve Evans <Steve@SCEvans.com> Date: Tue Dec 21 18:49:42 2021 +0000 Calculate moving sum delta time in 10ths us commit e00a3abc59900fbea7f7c5818f5bacacde3ccfae Author: phobos- <pawel.m.stefanski@gmail.com> Date: Sun Jan 3 14:14:16 2021 +0100 ExpressLrs v2.0.0 support commit 705e93431df43f49526ae2f3822f5ccc65716b61 Author: KarateBrot <Rm2k-Freak@web.de> Date: Tue Dec 21 07:51:29 2021 +0100 Enhance SDFT noise floor commit 87c259a26e92ace7ecad1c38d24dc259b4c395d6 Author: Mathias Rasmussen <mathiasvr@gmail.com> Date: Fri Dec 3 03:58:19 2021 +0100 Fix use of floating point math functions commit 4c034d67ee485ad08506f2139e8751ab51aa5fea Merge: cfa5df3ee b6c317fbc Author: Štěpán Dalecký <36531759+daleckystepan@users.noreply.github.com> Date: Tue Dec 21 01:45:58 2021 +0100 Merge pull request #11099 from DusKing1/fix-aligning-in-osd-code Fix code aligning in osd_elements.c commit cfa5df3eea56e9bdcc3128768d2dc326a8d422fc Merge: b745eaf28 2f89cf3cc Author: J Blackman <blckmn@users.noreply.github.com> Date: Tue Dec 21 10:34:57 2021 +1100 Merge pull request #10921 from TonyBlit/m9n_support Added m9n support commit b745eaf28419cf8a86127ff9683fc121df43f69e Merge: 4ded9f60c 3de0d384e Author: haslinghuis <mark@numloq.nl> Date: Tue Dec 21 00:33:59 2021 +0100 Merge pull request #11111 from SteveCEvans/cms_slider_ro Make CMS fields readonly when overridden by a slider and mark with an S commit 4ded9f60c3c589097b661322100bf0246ede2624 Merge: eb881efba 5c4f3c6b7 Author: ctzsnooze <chris@th.id.au> Date: Tue Dec 21 10:22:53 2021 +1100 Merge pull request #11136 from SteveCEvans/guard_tweak Increase task guard margin to 3us commit eb881efba1accf19f2e2dea33aaf314b58f1ca8c Merge: 961589c1c d5c31accd Author: haslinghuis <mark@numloq.nl> Date: Tue Dec 21 00:10:57 2021 +0100 Merge pull request #11114 from limonspb/msp_request_sliders_calculations MSP commands for calculating/requesting but not setting simplified tuning/values commit 961589c1c93ae38e93697f76d8aee71ae5dad585 Merge: aa4f0f751 7f147479f Author: ctzsnooze <chris@th.id.au> Date: Tue Dec 21 08:43:11 2021 +1100 Merge pull request #11135 from SteveCEvans/gps_serial If GPS serial data remains, reschedule task to run again after 1ms commit 7f147479fcc33342ed25ec1b76c51fa062fc24cf Author: Steve Evans <Steve@SCEvans.com> Date: Sun Dec 19 20:26:36 2021 +0000 If GPS serial data remains, reschedule task to run again after 1ms commit 2f89cf3cc4327afb27bcb164f35c70fc9f1571fb Author: Tony Cabello <> Date: Sat Aug 28 15:40:29 2021 +0100 m9n support commit 5c4f3c6b705b9150ed3336eb6abbd1f4004a1686 Author: Steve Evans <Steve@SCEvans.com> Date: Mon Dec 20 00:20:53 2021 +0000 Increase task guard margin to 3us commit aa4f0f7517f4bd7775eb6c58da0a2b941ed793e7 Merge: db242cb16 fe12e356b Author: ctzsnooze <chris@th.id.au> Date: Mon Dec 20 10:30:59 2021 +1100 Merge pull request #10972 from SteveCEvans/ledstrip_dim Add ledstrip_brightness to control LED strip brightness by percentage commit db242cb161ddecbe881483a8dfb033a8f9e13f90 Merge: 35e6e1e9c d94a78cb3 Author: ctzsnooze <chris@th.id.au> Date: Mon Dec 20 10:27:05 2021 +1100 Merge pull request #11033 from SteveCEvans/late_led_strip Fix peaky task duration estimation commit 35e6e1e9c716a93c37cfa4c527c60e345aaae437 Merge: 4b44378b4 5ca7ea8f4 Author: haslinghuis <mark@numloq.nl> Date: Sun Dec 19 19:02:08 2021 +0100 Merge pull request #11113 from ctzsnooze/de-duplicate-all-blackbox-names deduplicate more blackbox names commit d5c31accdf37a5396303e3790464054d6f949bc5 Author: Ivan Efimov <gendalf44@yandex.ru> Date: Sat Dec 18 15:28:19 2021 -0600 FW sliders: separate MSP commands for requesting calculations but not applying them into the FW commit d94a78cb3ec97649a44c8dd9ed948e312c0ab88f Author: Steve Evans <Steve@SCEvans.com> Date: Sat Dec 18 13:36:55 2021 +0000 Reduce timing margins commit 4b44378b4d264713647fa324e354ae16f74ba8e4 Merge: 282e9f635 b8c4f7308 Author: haslinghuis <mark@numloq.nl> Date: Sat Dec 18 00:33:51 2021 +0100 Merge pull request #10694 from hydra/bf-spi-fixes-1 Fix missing SPI5/6 configuration. commit 282e9f6350e376d4f933a6395914a21944d8232d Merge: 8cbd562dc 5f4ed614f Author: haslinghuis <mark@numloq.nl> Date: Sat Dec 18 00:29:13 2021 +0100 Merge pull request #11131 from klutvott123/remove-shared-msp-buffer Remove shared MSP buffer commit 8cbd562dcad2b4128c2f5413c0573dde8ad69158 Merge: bc0c8ce0d 46b69260a Author: haslinghuis <mark@numloq.nl> Date: Sat Dec 18 00:16:22 2021 +0100 Merge pull request #11103 from klutvott123/fix-telemetry-displayport-init Fix telemetry displayport initialisation commit bc0c8ce0daa74231035e244082e5d1d5e30ca949 Merge: cc2b28a29 ee6f256d8 Author: haslinghuis <mark@numloq.nl> Date: Sat Dec 18 00:13:53 2021 +0100 Merge pull request #11123 from KarateBrot/dynNotchGainFix Fix dynamic notch PT1 gain commit cc2b28a290ab08ec60d7ec2e25bd45186c8d3f98 Merge: bfd597a44 5efc31760 Author: haslinghuis <mark@numloq.nl> Date: Sat Dec 18 00:12:51 2021 +0100 Merge pull request #11116 from KarateBrot/batchSizeFix Fix SDFT batch size commit 29d221502e0b789225f044cd5e3967462f9faa43 Author: Steve Evans <steve@stevemacpro.scevans.com> Date: Fri Aug 14 16:42:20 2020 +0100 Use peak tracking as default for task duration estimation rather than a moving average commit bfd597a4496baa29f5e87532cc083115952a25a9 Merge: a63172cc1 ab1baccc6 Author: J Blackman <blckmn@users.noreply.github.com> Date: Sat Dec 18 08:17:07 2021 +1100 Merge pull request #10813 from SteveCEvans/osd_task_timing commit ab1baccc6608410c8b5f4849cf277244e1b49607 Author: Steve Evans <steve@stevemacpro.scevans.com> Date: Fri Aug 14 16:42:20 2020 +0100 Track state execution time for OSD, baro, rx and GPS tasks and inform scheduler of next state execution time commit f6190e2f1ab3d6d51c4268b6fe707682e7bf547b Author: Steve Evans <Steve@SCEvans.com> Date: Fri Dec 17 11:16:26 2021 +0000 Use bitbanged DSHOT by default if dshot_bitbang = AUTO unless F4 commit a63172cc1f169ebe7aacf970fd51b1121a943c9c Merge: fcb3ed495 ebcbd9661 Author: ctzsnooze <chris@th.id.au> Date: Fri Dec 17 10:57:50 2021 +1100 Merge pull request #11129 from AlienWiiBF/FRSky_D8_Fix Fix FrSky D8 protocol bind issues commit 5f4ed614f18bdb0f53c6152e2e80e8f8360ed4e4 Author: Hans Christian Olaussen <41271048+klutvott123@users.noreply.github.com> Date: Thu Dec 16 23:42:04 2021 +0100 Remove shared MSP buffer commit ebcbd9661178c7eda0c62b306d21e90a5323865a Author: MJ666 <michael.p.jakob@web.de> Date: Wed Dec 15 20:13:20 2021 +0100 Fix FrSky D8 protocol bind issues Update ID check Update recommended by @KarateBrot commit fcb3ed4959cb1b4b1c7879c0c84dead8b4e7c176 Merge: ade559731 c0c6c4b8c Author: haslinghuis <mark@numloq.nl> Date: Thu Dec 16 17:20:11 2021 +0100 Merge pull request #11115 from daleckystepan/flash_size_optim Remove icon file and auto…
Rename
attr
toattributes
to make clear distinction between other uses of this name.Follow up on #11261