Richard Cooper
516483ee64
Tidy up symbols.h and add docs for osd font
2018-07-31 19:35:01 +01:00
Bruce Luckcuck
25c6b038d9
Changes from review
...
Used HZ_TO_INTERVAL_US() instead of hardcoded 500us.
Moved tests into a dedicated function.
2018-07-31 10:37:01 -04:00
Bruce Luckcuck
f411b82eb6
Disable DYNAMIC_FILTER feature if gyro loop is less than 2KHz
...
The dynamic filter is not usefull with gyro loop times less than 2KHz so disable the feature and prevent the code from running in this circumstance.
In `isDynamicFilterActive()` we can't just rely on the feature because the feature will be disabled after the gyro has initialized and is running - possibly running into the underflow/wedging problem. And unfortunately we can't disable the feature earlier because we need to know the `targetLooptime` which is determined during gyro init.
2018-07-31 10:37:01 -04:00
Bruce Luckcuck
f252b09fdb
Fix dynamic filter for gyro loop < 4K
...
For gyro loops from 2K to < 4K scale the FFT_SAMPLING_RATE_HZ to ensure we get 3 samples.
Also constrain the `centerFreq` result from the lowpass to ensure it doesn't overshoot beyond the min/max notch center cutoff.
2018-07-31 08:59:27 -04:00
Michael Keller
45002a803e
Merge pull request #6496 from McGiverGim/cms_throttle_boost
...
Add Throttle Boost to CMS
2018-07-31 23:59:21 +12:00
mikeller
4cb0c54827
Removed more features from F3 to make it fit.
2018-07-31 21:04:30 +12:00
Miguel Angel Mulero Martinez
e0d17a5e2f
Hide LPF2 and Throttle Boost from CMS if not available
2018-07-31 10:15:25 +02:00
Miguel Angel Mulero Martinez
df4b893d61
Add Throttle Boost to CMS
2018-07-31 09:18:06 +02:00
Michael Keller
5a045f2246
Merge pull request #6486 from DieHertz/bfdev-fix-omnibusf4-target-definition
...
Fixed occurrence of OMNIBUSF4 in target.h
2018-07-30 22:34:49 +12:00
Michael Keller
17ec736a4b
Merge pull request #6475 from DieHertz/icm-20601-4000dps-support
...
Make gyro driver more aware of ICM-20601
2018-07-30 22:34:26 +12:00
Michael Keller
fda79ddaed
Merge pull request #6483 from etracer65/i2c_gyro_loop_denom
...
Change default gyro loop to 2.67KHz for I2C gyro targets
2018-07-30 22:01:37 +12:00
Michael Keller
d751a4f674
Merge pull request #6489 from nyway/master
...
add new target DALRCF722DUAL
2018-07-30 21:53:31 +12:00
Michael Keller
b08b2e94c0
Merge pull request #6481 from etracer65/gyro_32k_looptime_fix
...
Fix 32KHz gyro targetLooptime calculation
2018-07-30 21:23:48 +12:00
ZhengNingwei
ad0a1ae7ac
Add new target DALRCF722DUAL
...
This board use the STM32F722RET6 microcontroller and have the following features:
High-performance and DSP with FPU, ARM Cortex-M7 MCU with 512 Kbytes Flash
216 MHz CPU,462 DMIPS/2.14 DMIPS/MHz (Dhrystone 2.1) and DSP instructions, Art Accelerator, L1 cache, SDRAM
DUAL gyro MPU6000 and ICM20602,could choose mpu6000,more stable and smooth.Or choose ICM20602,higher rate(32K/32K).Choose on CLI mode,experience different feature gyro on same board
OSD on board
The 16M byte SPI flash on board for data logging
USB VCP and boot select button on board(for DFU)
Stable voltage regulation,DUAL BEC 5v/2.5A and 10v/2A for VTX/camera etc.And could select 5v/10v with pad
Serial LED interface(LED_STRIP)
VBAT/CURR/RSSI sensors input
Suppose IRC Tramp/smart audio/FPV Camera Control/FPORT/telemetry
Supports SBus(built-in inverters), Spektrum1024/2048, PPM
Supports I2C device extend(baro/compass/OLED etc)(socket)
Supports GPS (socket)
2018-07-30 09:44:09 +03:00
Andrey Mironov
96762b0cb9
Fixed occurrence of OMNIBUSF4 in target.h
2018-07-29 23:01:39 +03:00
Bruce Luckcuck
0fcfb95120
Change default gyro loop to 2.67KHz for I2C gyro targets
...
Improves dynamic filter operation by providing a wider sampling window due to the higher gyro loop rate.
Makes the dynamic more useful by default on targets like SPRACINGF3.
2018-07-29 10:45:42 -04:00
Bruce Luckcuck
359290d1df
Fix 32KHz gyro targetLooptime calculation
...
The target loop time was being calculated incorrectly for 32KHz gyros. Constant shoud be 31.25 rather than 31.5.
2018-07-29 10:12:24 -04:00
Andrey Mironov
c2243c7fd8
Added 4K DPS awareness for ICM-20601
2018-07-29 10:17:16 +03:00
Michael Keller
9e04196047
Merge pull request #6466 from jirif/fix_6452
...
Fix voltage filer frequency
2018-07-29 18:17:29 +12:00
Michael Keller
af69e525ce
Merge pull request #6459 from mikeller/fix_kissfcv2f7_leds
...
Fixed LED pins for KISSFCV2F7.
2018-07-29 18:16:12 +12:00
mikeller
688ad82c98
Enabled SDIO on NUCLEOF722.
2018-07-29 17:56:40 +12:00
mikeller
ea0ff42acb
Added manufacturer id.
2018-07-28 13:23:32 +12:00
Michael Keller
c00ddb2152
Merge pull request #6458 from mikeller/rename_skyf405_skyzonef405
...
Renamed SKYF405 to SKYZONEF405.
2018-07-28 12:11:33 +12:00
jirif
0111949c63
Define macro HZ_TO_INTERVAL_US() and remove unneeded comments
2018-07-27 20:59:19 +02:00
jirif
2c4659c7cd
Fix voltage filer frequency
2018-07-27 19:49:24 +02:00
jflyper
da05e4e7f7
Fix A-Tail mixer typo (again)
2018-07-28 01:59:27 +09:00
Kenneth Mitchell
b7e71cbc44
Fix AG Hpf test.
2018-07-27 00:02:23 -04:00
mikeller
7659b5bca8
Fixed LED pins for KISSFCV2F7.
2018-07-27 01:46:47 +12:00
mikeller
3bb10ead4d
Renamed SKYF405 to SKYZONEF405.
2018-07-27 01:02:53 +12:00
rav
e43fc41f6a
fix voltage and current sensor filter frequencies
2018-07-25 12:39:37 +02:00
Michael Keller
74d883bfa8
Merge pull request #6442 from sebsx/fix-mixed-up-spektrum-and-jeti-ifdefs
...
Fixed swapped ifdefs where disabling Jeti XBUS disables Spektrum SRXL telemetry and vice versa
2018-07-25 21:39:04 +12:00
Michael Keller
fa71250ff8
Merge pull request #6443 from DieHertz/bfdev-enable-memory-protection-unit
...
Enabled MPU for ITCM-RAM
2018-07-25 21:09:31 +12:00
Michael Keller
f298280033
Merge pull request #6446 from Faduf/YUPIF7_update
...
YUPIF7 update - I2C correction
2018-07-25 20:48:42 +12:00
Michael Keller
60c09b8d48
Merge pull request #6423 from jflyper/bfdev-fix-atail-mixer
...
Fix A-Tail mixer
2018-07-25 20:47:50 +12:00
Andrey Mironov
1ddfd9817d
Moved cortex header to translation unit, added stopMotors
2018-07-25 11:37:27 +03:00
mikeller
ffa085df37
Removed features from F3 targets to make the firmware fit into flash.
2018-07-25 20:03:39 +12:00
Michael Keller
f2907e5746
Merge pull request #6445 from McGiverGim/add_dterm2_cms
...
Add DTerm LPF2 to the CMS menu
2018-07-25 13:18:44 +12:00
sebastianp
448a57c1ee
Fixed swapped ifdefs where disabling Jeti XBUS disables SRXL and vice versa
...
Consolidated disabled features when USE_SERIALRX_SPEKTRUM is disabled
2018-07-25 09:27:29 +10:00
Michael Keller
6eda69648f
Merge pull request #6444 from mikeller/remove_telemetry_srxl
...
Removed more features from F3 to make the firmware fit into flash.
2018-07-25 09:23:17 +12:00
Michael Keller
7636e13470
Removed features from FURYF3 as well.
2018-07-25 08:25:42 +12:00
Faduf
009dfbb862
YUPIF7 update - I2C correction
2018-07-24 20:56:23 +02:00
Miguel Angel Mulero Martinez
9d77c05d1f
Add DTerm LPF2 to the CMS menu
2018-07-24 15:51:01 +02:00
Michael Keller
cacfebe869
Merge pull request #6428 from DieHertz/bfdev-gyro-analyse-refactor
...
Dynamic Filter refactor
2018-07-25 00:22:27 +12:00
Michael Keller
7ee45d1a73
Merge pull request #6435 from DieHertz/bfdev-unify-kissfcv2f7-linker-script
...
Unified KISSFC V2 F7 linker script
2018-07-25 00:22:07 +12:00
Michael Keller
46a8aea76b
Merge pull request #6436 from DieHertz/bfdev-fix-kakute-f7-timer-collision
...
Fix KakuteF7 motors 3 and 4
2018-07-24 23:52:22 +12:00
Andrey Mironov
134616ed32
Enabled MPU for ITCM-RAM and MemManage_Handler
2018-07-24 14:27:42 +03:00
mikeller
8a427da8e9
Removed more features from F3 to make the firmware fit into flash.
2018-07-24 23:09:20 +12:00
Andrey Mironov
65bff6b7d7
Added a condition for enabling OSD task
2018-07-24 13:40:01 +03:00
Andrey Mironov
0115ff15b2
Fixed init order of MAX7456 DisplayPort
2018-07-23 23:31:42 +03:00
Andrey Mironov
3c4c3a09fe
Unified KISSFC V2 F7 linker script
2018-07-23 20:34:54 +03:00