Commit Graph

16370 Commits

Author SHA1 Message Date
Michael Keller 42a4f1385a
Merge pull request #10177 from jflyper/bfdev-g4-usbvcp
[G4] Add USB/VCP support
2020-09-26 13:33:06 +12:00
jflyper 798345d36c [G4] Add USB/VCP support 2020-09-25 20:28:40 +09:00
jflyper 35bad24c55 [G4] BB-DSHOT support (TIM1/TIM8 limited version) 2020-09-25 20:25:07 +09:00
Michael Keller 8e9e533305
Merge pull request #10191 from Igorshp/motor_diag_stopped 2020-09-23 11:48:35 +12:00
Igor Shpakov 17706e3b65 Show stopped motors in Motor Diagnostic OSD element
When motor is stopped and not spinning properly, show letter S instead
of expected esc output.

This is useful after crash recovery or during turtle mode.
2020-09-22 17:28:22 +01:00
Michael Keller 9b66908ce9
Merge pull request #10200 from betaflight/revert-10126-SJI_cleanup_linker_script 2020-09-23 01:32:00 +12:00
Michael Keller ff4f29043a
Merge pull request #10199 from mikeller/fix_stick_command_disable_name 2020-09-23 01:30:46 +12:00
Michael Keller d6ff93604b Changed box names to start with most relevant keyword. 2020-09-22 07:51:11 +12:00
Michael Keller 4261f0499d
Revert "Clean up linker script" 2020-09-22 00:05:51 +12:00
mikeller d2933ad59b Made stick command disable mode name consistent with other names / fit the space. 2020-09-21 23:32:57 +12:00
Michael Keller 41ea150ff8
Merge pull request #10174 from mikeller/move_iflight_h7_config
Moved config for IFLIGHT_H7_TWING into internal flash.
2020-09-21 08:25:02 +12:00
Michael Keller 6de100a9d6
Merge pull request #10183 from etracer65/box_stick_command_disable
Add box mode to disable stick commands
2020-09-20 16:12:15 +12:00
Michael Keller 610dfa30ab
Merge pull request #10181 from Linjieqiang/add_support_SucceX_D_H743 2020-09-20 16:09:33 +12:00
Michael Keller 2cc55a3c5d
Merge pull request #10178 from jflyper/bfdev-g4-hidcdc
[G4] USB_HID_CDC support
2020-09-20 16:03:16 +12:00
Michael Keller 5f33ef9c0a
Merge pull request #10163 from ctzsnooze/AntiGravity-to-also-boost-P 2020-09-20 15:41:12 +12:00
Michael Keller b234463c7e
Merge pull request #10159 from krygacz/support-mpu925x-internal-mag-over-i2c 2020-09-20 15:23:21 +12:00
ctzsnooze c075569563 Whitespace - thanks, Nicola!
Space invader indeed lol
2020-09-20 12:42:09 +10:00
ctzsnooze 6a143beb6f Code improbements, thanks for the feedback! 2020-09-20 12:42:09 +10:00
ctzsnooze d1bf5d0d11 Add late P boost to antigravity 2020-09-20 12:42:09 +10:00
Bruce Luckcuck 19ece68555 Add box mode to disable stick commands
Adds a `STICK COMMAND DISABLE SW` mode used to prevent inadvertant triggering of controls, calibrations, or settings changes. Useful for USB HID mode when using the flight controller as a joystick (and auto-detect doesn't work), in "team" or "relay" racing where multiple quads might be bound to the same transmitter, or just in general if the user wants prevent stick commands.

Will also prevent stick arming when the mode is active (but not stick disarming).
2020-09-15 12:51:19 -04:00
krygacz 58ae3fdfd5 Support MPU925x internal magnetometer over I2C 2020-09-14 23:41:45 +02:00
LinJieqiang 0a9428ca4f Add target IFLIGHT_H743_AIO support. 2020-09-14 19:32:57 +08:00
jflyper 0423ad826a [H7][USB] Add transmit complete callback in USBD_CDC_fops 2020-09-14 14:11:12 +09:00
jflyper 3762b4cf6c [H7][USB] Follow signature changes
USB_LL_Transmit and USB_LL_PrepareReceive:
size was changed from uint16_t to uint32_t
2020-09-14 11:09:37 +09:00
jflyper f2810551e7 [H7][LIB][SDMMC] Workaround for SDMMC Errata 2.11.4
Application of

STM32H750 - Apply workaround to the SDMMC Errata 2.11.4 (8446832)

to V1.6.0
2020-09-14 11:09:37 +09:00
jflyper 0397a1618a [H7][LIB][USB] Middlewares change: Fix memory corruption
Application of
[H7] USB LIB Middlewares change: Avoid null hhid from being deferenced
to V1.6.0
2020-09-14 11:09:37 +09:00
jflyper fd11348dce [H7][LIB][USB] Modify USB Library for composite device
Includes changes from 4e487f6
2020-09-14 11:09:21 +09:00
jflyper c3f2632405 [H7][LIB] Remove duplicate definition of assert_param from LL dma & Tim 2020-09-14 11:07:25 +09:00
jflyper 5b75338aff [H7][LIB] Revert some function in stm32h7xx_hal_tim.h to global
TIM_DMADelayPulseCplt (HAL_TIM_DMADelayPulseCplt) was changed to static
in 1.7 or 1.8, but this will cause timer_hal.c which uses
HAL_TIM_DMADelayPulseCplt not to build.
2020-09-14 11:07:25 +09:00
jflyper c4fbe44e28 [H7][LIB] Take care of UNUSED parameters in V1.8.0 2020-09-14 11:07:25 +09:00
jflyper 2b16f050ab [H7][LIB] Modify HAL SPI driver for const-ness 2020-09-14 11:07:25 +09:00
jflyper a88bc07769 [H7][LIB][USB] usbd_def: disable insane defs of MIN and MAX 2020-09-14 11:07:25 +09:00
jflyper 8d74d61b70 [H7][LIB][USB] Import "Middleware" from V1.8.0 distribution 2020-09-14 11:07:24 +09:00
jflyper b1172b9cd2 [H7][LIB] Import FW V1.8.0 library 2020-09-14 11:07:24 +09:00
jflyper 35cdd784fa [H7][LIB] Remove V1.6.0 FW library 2020-09-14 11:07:16 +09:00
jflyper 345d26178d [G4] USB_HID_CDC support (untested) 2020-09-13 22:57:43 +09:00
jflyper de35df8e07
Merge pull request #10136 from jflyper/bfdev-g4-timer-def-update
[G4] TIMER timer_def.h update
2020-09-13 22:11:58 +09:00
mikeller f728d9bb51 Moved config for IFLIGHT_H7_TWING into internal flash. 2020-09-13 18:26:36 +12:00
Michael Keller 0a1a935689
Merge pull request #10164 from ctzsnooze/ff-boost-smoothing 2020-09-13 17:42:41 +12:00
Michael Keller 2fc07b1ed1
Merge pull request #10150 from dkustec/fix-hid-descriptors
Fixed misaligned report 'usages' and added more channels to HID joystick
2020-09-13 16:31:39 +12:00
Michael Keller 4e487f6193
Merge pull request #10153 from dkustec/hid-mouse-report-desc-changes
Remap and fix HID_MOUSE_ReportDesc (as part of #10150)
2020-09-13 16:30:59 +12:00
Michael Keller 4ffe9dac9e
Merge pull request #10126 from SJ-Innovation/SJI_cleanup_linker_script 2020-09-13 16:15:46 +12:00
Michael Keller 75ad6389de
Merge pull request #10121 from githubDLG/master 2020-09-13 16:11:14 +12:00
ctzsnooze 0833aab886 maybe more efficient? 2020-09-13 12:11:09 +10:00
ctzsnooze 73663f7fae FF update including second order fitlering of boost, tidying up etc
Include default to no averaging
2020-09-12 17:08:14 +10:00
githubDLG fc889ea6d1 minor fix
move constrain() to the start of dBm2range() according to comment.
2020-09-09 15:03:50 +08:00
Michael Keller 1c3346bae1
Merge pull request #10106 from mikeller/fix_motor_output_limit_low
Fixed motorOutputLimitLow in blackbox and OSD.
2020-09-02 01:22:28 +12:00
Davor Kustec d62273f43d Fixed misaligned report 'usages', added few chnls
Fixed bracket

Removed extra semicolon

Fixed misaligned report 'usages', added few chnls

Reverted lib changes
2020-08-31 21:27:12 +02:00
Davor Kustec 3c6a37007d Fixes from review + new PR 2020-08-31 16:40:38 +02:00
Michael Keller 808fbb792f
Merge pull request #10103 from skywinder/patch-2 2020-09-01 00:28:15 +12:00