Skip to content
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
wants to merge 131 commits into
base: master
Choose a base branch
from

Conversation

kidBrazil
Copy link
Owner

  • WIP Merging F7 Improvements from Betaflight

therealjonnyd and others added 30 commits March 16, 2018 20:33
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
orneryd and others added 30 commits April 5, 2018 14:52
- 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
* 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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.