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

14408 commits

Author SHA1 Message Date
Bruce Luckcuck
0bfb6120c6 Add common_deprecated_post.h to flag deprecated target defines 2019-05-18 18:51:06 -04:00
Dominic Clifton
92999681e3 Add flash partitioning system 2019-05-18 21:39:08 +09:00
Michael Keller
ba047e0559
Fixed 'flash' make rule, added support for DFU flashing (requires 'dfu-util'). (#8254)
Fixed 'flash' make rule, added support for DFU flashing (requires 'dfu-util').
2019-05-18 23:37:21 +12:00
Michael Keller
4b5948cbd3
Prevent 'system_hse_mhz' from showing in non-F4 'diff'/'dump'. (#8256)
Prevent 'system_hse_mhz' from showing in non-F4 'diff'/'dump'.
2019-05-18 23:33:28 +12:00
Michael Keller
197796873d
Increase async FAT filesystem cache sectors to prevent blackbox header corruption (#8284)
Increase async FAT filesystem cache sectors to prevent blackbox header corruption
2019-05-18 19:13:28 +12:00
Michael Keller
1e1a0d968d
Remove deprecated USE_MULTI_GYRO (#8281)
Remove deprecated USE_MULTI_GYRO
2019-05-18 19:11:25 +12:00
Michael Keller
a40873d3b7
Add CLI flash_verify command (#8279)
Add CLI flash_verify command
2019-05-18 19:04:38 +12:00
Michael Keller
da7c54c590
Enabled Multi Gyro on OmnibusF4 Nano V7 (#8267)
Enabled Multi Gyro on OmnibusF4 Nano V7
2019-05-18 19:03:01 +12:00
mikeller
705b0e5316 Adding configuration for the 'no-response' app. 2019-05-18 18:58:04 +12:00
Michael Keller
f22c68af1b
More ACC_x_ALIGN cleanup (#8287)
More ACC_x_ALIGN cleanup
2019-05-18 18:21:50 +12:00
Michael Keller
7eef491470
Update flash drivers to support QuadSPI (#8278)
Update flash drivers to support QuadSPI
2019-05-18 17:40:32 +12:00
Bruce Luckcuck
d62a4f4b18 Add tenths of a second OSD timer precision option
Currently the timers support full second and hundredth of a second display precision. This adds a tenth of a second option.
2019-05-17 14:25:30 -04:00
Bruce Luckcuck
c4d7c3b72b More ACC_x_ALIGN cleanup
Cleaned up more targets added after the initial removal.
2019-05-17 09:42:34 -04:00
Dominic Clifton
dcd138ae20 Update flash drivers to support QuadSPI
- Update flash w25n01g driver to support QuadSPI.

- flash_m25p16 update for QuadSPI support

- w25m driver update for QuadSPI support

- Use 100Mhz (ULTRAFAST) clock for QuadSPI w25n01

- Conditionalize QUADSPI code in w25n01g driver

- Use handle instead of handle_u
2019-05-17 07:35:25 +09:00
Bruce Luckcuck
007aac81da Increase Async FAT filesystem cache sectors to prevent blackbox header corruption
In testing I found that once the blackbox header exceeded 3072 bytes (3K) it would be truncated and overwritten with logging data. 3K would be 6 sectors and it looks like the previous cache of 8 sectors was insufficient when considering the other FAT filesystem overhead. Increased the cache to 10 sectors (1K extra memory usage) and the problem is resolved. If the blackbox header continues to expand in size this will have to be revisited.
2019-05-16 12:48:22 -04:00
Dominic Clifton
0e4cc5c3cf Add flash_scan to cli 2019-05-17 01:05:43 +09:00
Bruce Luckcuck
3cee0c99cc Use RC Smoothing initialized settings rather than current PG values
Prevents possibility of changing paramaters after initializing affecting runtime operation of RC smoothing. Parameter values are loaded during initialization instead of relying on the current PG values.
2019-05-16 09:37:26 -04:00
Asizon
2554a2e7fd Remove deprecated USE_MULTI_GYRO
Remove
2019-05-16 15:05:00 +02:00
Michael Keller
6b5dafb677
Add camera control for Mamba Fury F4 Mini using PB9 (#8264)
Add camera control for Mamba Fury F4 Mini using PB9
2019-05-17 00:04:22 +12:00
Asizon
211da9d583 Enabled Multigyro on NanoV7 F4
Updated unified target config

Remove EXT1 and MULTI_GYRO
2019-05-16 13:42:16 +02:00
Michael Keller
4ede3ac486
add a new target named "VGOODRCF4 (#8249)
add a new target named "VGOODRCF4
2019-05-16 23:03:43 +12:00
Michael Keller
6dca9febec
add AIRBOTF7 (#8208)
add AIRBOTF7
2019-05-16 22:48:15 +12:00
Solar Hacksaw
aed409b99f airbot f7 target 2019-05-15 19:55:37 -07:00
Michael Keller
c0ee056d68
Update overlooked license header (#8269)
Update overlooked license  header
2019-05-16 13:30:53 +12:00
Michael Keller
f6e1dc892c
Add W25N01G 1Gb NAND flash support (#8263)
Add W25N01G 1Gb NAND flash support
2019-05-16 13:28:17 +12:00
Michael Keller
f7529b5e23
Update 4.0x filters (#8273)
Update 4.0x filters
2019-05-16 13:17:10 +12:00
ctzsnooze
5b1c3749c3 Update 4.0x filters
Evolutionary changes to the original 4.0 defaults.
Intended to reduce chance of D-mediated flyaways on arming.
Also seems to fly better due to less gyro delay.
CHanges:
- Gyro filtering dynamic reverts back to PT1, to provide less delay, and in recognition that gyro filtering was more than adequate with the biquad.  Setpoints are higher due to lower reach of PT1.  The static gyro biquad at 150 was lower than really needed.  Markedly less gyro delay.
- Stronger D term filtering, especially at low throttle, to greatly reduce risk arming flyaways. The Dynamic D biquad is now set almost twice as low, with strong cut at 100hz where D resonance flyaways seemed to be driven from.  This filter array results in a D noise contribution that is typically not much greater than the P contribution, keeping very cool motors despite the lesser gyro filters.  This has been well tested using PID Toolbox.
Although there is more delay in D, this is offset by the reduced gyro delay.
2019-05-15 11:01:06 +10:00
jflyper
8addd9e332 Update overlooked license header 2019-05-14 22:51:17 +09:00
jflyper
ee9022de1e Add Winbond W25N01G support 2019-05-14 22:42:47 +09:00
Michael Keller
194eac6a4b
Use distance to home symbol into the OSD (#8246)
Use distance to home symbol into the OSD
2019-05-15 00:39:26 +12:00
SteveCEvans
0c37925a4e Add camera control for Mamba Fury F4 Mini using PB9 and unified target for FURYF4OSD 2019-05-14 00:27:35 +01:00
jflyper
94ccdb51ab
Merge pull request #8261 from jflyper/bfdev-h7-fix-hal-vcp
[H7] Apply HAL VCP TX fix
2019-05-14 08:08:22 +09:00
jflyper
7d7d1b16b4
Merge pull request #8260 from jflyper/bfdev-h7-fix-usb-lib-avoid-null-hhid-reference
[H7] USB LIB Middlewares change: Avoid null hhid from being deferenced
2019-05-14 08:07:49 +09:00
jflyper
474faf5877
Merge pull request #8259 from jflyper/bfdev-dont-init-flashfs-without-flash
Prevent flashfs from initializing in absence of a flash device
2019-05-14 08:07:21 +09:00
jflyper
576e79d713
Merge pull request #8258 from jflyper/bfdev-disable-MSC-if-BLACKBOX-is-disabled
Disable MSC if BLACKBOX is disabled
2019-05-14 08:06:06 +09:00
mikeller
e5f98efdfe Fixed 'flash' make rule, added support for DFU flashing (requires 'dfu-util'). 2019-05-14 07:56:54 +12:00
jflyper
43e1ee025b [H7] Apply HAL VCP TX fix
Apply changes equivalent to F7's fix:
VCP HAL transmit buffer fixes #7563

Further refactoring based on ledvinap's comments on #7563 is advised.
2019-05-12 22:13:26 +09:00
Dominic Clifton
8a1a75e2ef [H7] USB Middlewares change: Fix memory corruption 2019-05-12 22:09:09 +09:00
Dominic Clifton
0dc47f21e9 Prevent flashfs from initializing in absence of a flash device 2019-05-12 22:01:34 +09:00
Dominic Clifton
64bbe6fa12 Disable MSC if BLACKBOX is disabled 2019-05-12 21:53:53 +09:00
mikeller
411467d9ef Prevent 'system_hse_mhz' from showing in non-F4 'diff'/'dump'. 2019-05-12 23:19:35 +12:00
Nicola De Pasquale
1d353f3d58 better code 2019-05-12 11:15:20 +02:00
Nicola De Pasquale
d930fd2188 some fixes 2019-05-11 18:32:10 +02:00
Michael Keller
a8e9dd94e8
[FLASH] Allow flash initialisation without flashfs support. (#8238)
[FLASH] Allow flash initialisation without flashfs support.
2019-05-11 23:42:21 +12:00
Michael Keller
31a059d4d5
[FLASHFS] Reinitialise flashFs after erasing flash chip. (#8237)
[FLASHFS] Reinitialise flashFs after erasing flash chip.
2019-05-11 23:41:10 +12:00
Michael Keller
3054780cee
[H7] Enable SDCard/SDIO using HAL driver (#8227)
[H7] Enable SDCard/SDIO using HAL driver
2019-05-11 23:37:08 +12:00
Michael Keller
ce5411f851
[H7] Enable SPI with resurrected HAL-based driver from v3.1.7 (#8199)
[H7] Enable SPI with resurrected HAL-based driver from v3.1.7
2019-05-11 23:36:27 +12:00
zhanshenrui
03902e5b4b add a new target named VGOODRCF4 2019-05-11 17:17:22 +08:00
Nicola De Pasquale
657aeb2483 first commit
kiss rates

prevent division by zero

various fixes
2019-05-11 09:15:59 +02:00
Miguel Angel Mulero Martinez
ea6505fecf Remove the old erasing code in the OSD Home Distance 2019-05-11 08:36:17 +02:00