forked from betaflight/betaflight
-
Notifications
You must be signed in to change notification settings - Fork 1
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
[ WIP ] Merge F7 Improvements by DieHertz #20
Open
kidBrazil
wants to merge
131
commits into
kidBrazil:master
Choose a base branch
from
ButterFlight:cherry-f7-improvements
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Owner
kidBrazil
commented
Apr 30, 2018
- WIP Merging F7 Improvements from Betaflight
Added target for Airbot Omnibus F4 Nano v2.5 with support for blackbox (OBF4NANOBB)
Added target for Airbot Omnibus F4 Nano v2.5 with black box support. Target OBF4NANOBB
Added target for Airbot Omnibus F4 Nano v2.5
Add MK file for new Omnibus F4 Nano Target
- Refactored the current CLI based implementation of vtx_akk_hack into a new feature named: "LEGACY_SA_SUPPORT" - Re-added the tailing byte in send frame as a possible fix for the "standard" implementation of Smart Audio, due to user reporting that turning the hack off for Unify and other "standard" SA VTX-es will result in an incorrect setting save issue (settings are only saved after unplugging and re-plugging the battery) - This PR should be accepted with the relevant Butterflight-Configurator PR that adds the "LEGACY_SA_SUPPORT" feature to the configuration tab - Incrementing the MSP protocol minor version to 39 and the EEPROM version is required before release
- Adding "LEGACY_SA_SUPPORT" as a feature to MSP requires this increment
* adding beeper inversion * adding RSSI ADC pin setting for target
- It passes on though HID interface 8 channels received from TX - Endpoints are reconfigured to support HID interface - Potentially this can slow down SPI Flash transfer though CDC interface... - This could be addressed by support for MSC when using SPI Flash (emulating FATFS)
Fixed indentation in feature.h
* hotfix version 103 * re-enable overclocking ability * lowering default yaw pids and removing moron_threshold override * removing profiles, just lowering default pids and filter values * fix LED port and ESCSERIAL
Add Composite CDC+HID device option.
Revert "Add Composite CDC+HID device option."
Revert "Revert "Add Composite CDC+HID device option.""
- For now disables Composite (it can be enabled, with USB_CDC_HID define) - Modified descriptors so they are properly recognized - Changed PID for Composite device (otherwise it doesn't work probably due to windows feature - automatically finding drivers based on those values)
Enable Composite USB HID for all F4, add PG for USB device.
Implement vtx_akk_hack cli command as a switchable feature
…-EEPROM-versions Increment MSP protocol, EEPROM versions for new relese
Introducing LUA and OSD Updates to utilize the new Filter parameters
…nto butterflight-RC-351
- ACC Alignment Fix - Black Box Logging Fix - HELIO Auto Level FIX - Enables Quaternion on IMUF
* Fix Acc MSP BBL * Fix Acc MSP BBL v1 * Fix Acc MSP BBL v2 * Fix Acc MSP BBL v3
in butterflight-RC-351 someone disabled useAcc for calculating attitude it is required ! - Adrian Miriuta
This refactor saves ~6% CPU on IMUF targets and ~2% on non-IMUF targets. - Ornery
…ng BBL headers for imuf
* updating default pids for yaw * fixing d filtering for yaw. saving 1.5K flash space by refactoring pid filter init
Attitude MAG correction fix.
* Initial work porting @jflyper's Omnibus F4FW Target * Changed the Gyro configuration to match BuF * Revised pins based on Airbots schematics * Got the target fixed with Jflyper's help
* cleanup v1 * CPU crash on cli> status fix fix gyroSensor_e * CPU crash on cli> status fix v3 * CPU crash on cli> status fix v4
Butterflight_3.5.1_RC_fix_board_orientation
* Revert "Revert "Rewritten F7 dshot to LL (draft)" (betaflight#5430)" This reverts commit aa42a69. * Reworked F7 linker scripts to maximize performance of both F74x and F72x * Some comments and changes from original F7 HAL DSHOT * Prohibit inlining of some functions to place them in ITCM-RAM * Fixed usartTargetConfigure implicit declaration * Moved back to SRAM1 as main RAM * Added SRAM2 attribute * Fixed LL DSHOT FOR SPRF7DUAL and probably other adv TIM users * Fixed SPRF7DUAL rev. A motor order * Enabled CCM for data on F40x * Fixed F7 startup assembly symbols * Fixed KISSFCV2F7 linker script * Added a quick way of building F7 targets only * Got rid of the useless F7 target script * Added NOINLINE and got rid of useless __APPLE__ define * Added some important functions to ITCM * Added NOINLINE macro for tests * Copy to ITCM before passing execution into it * Minimized cache footprint of motor output code * Evicted low-impact functions from ITCM * Switched MATEKF722 and SPRACINGF7DUAL to burst DSHOT * Switched CLRACINGF7 to burst DSHOT * Moved UART RX&TX buffers to DTCM-RAM to avoid cache incoherency * Marked taskMainPidLoop for ITCM-RAM, disallowed inlining per-function * Revert "Added a quick way of building F7 targets only" This reverts commit 2294518.
* Added FAST_RAM_INITIALIZED for those who really want it * Added the white crow of KISSFCV2F7 * Made initialized data LMAs robust * Fixed indirection when initializing fast memory
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.