Commit Graph

11607 Commits

Author SHA1 Message Date
Andrey Mironov ed72803858 Added FAST_RAM usage correctness check 2018-05-23 14:40:33 +03:00
Andrey Mironov d8dd6f29f8 Set FAST_RAM to go into .fastram_data by default. Added FAST_RAM_NOINIT 2018-05-23 14:40:33 +03:00
supiiik 4312513a77 MSP changed
Changed MSP, all new data are at the end
2018-05-23 13:33:43 +02:00
Michael Keller 35d6067a64
Merge pull request #5922 from bnn1044/CLRACINGF7-OPT
change CLRACINGF7 target to use DMAR burst
2018-05-23 23:20:26 +12:00
Bruce Luckcuck 8f6f4bf4c4 Make gyro calibration period user configurable and rename moron_threshold
Gryo calibration period can be configured in 1/100 second intervals using `gyro_calib_duration` (default is 125 or 1.25 seconds).

Renamed the `moron_threshold` parameter to `gyro_calib_noise_limit`. Functionally it is unchanged.
2018-05-23 07:14:52 -04:00
Michael Keller 346201d8ac
Merge pull request #5949 from dbasch/gps_rescue_rc1
fix the requirement for easing on yaw changes by only changing relati…
2018-05-23 22:19:36 +12:00
Michael Keller 7455de4859
Merge pull request #5940 from DieHertz/get-rid-of-pcre-grep
Replaced PCRE with egrep for macOS users
2018-05-23 22:13:57 +12:00
Michael Keller b26269ad38
Merge pull request #5938 from DieHertz/add-m25q32-flash-id
Added M25Q32 flash ID for completeness
2018-05-23 22:13:19 +12:00
Michael Keller 2c049b9879
Merge pull request #5936 from neilbalch/master
Update Matek F405-CTR Docs
2018-05-23 22:11:56 +12:00
Michael Keller 7ab2d0c7fd
Merge pull request #5935 from etracer65/cli_get_display_default
Add default display to cli get command if value has been changed
2018-05-23 22:09:55 +12:00
Michael Keller 48bc53fe9c
Merge pull request #5929 from mikeller/fix_rc_modes_from_gps_rescue
Fixed RC modes PG version after GPS rescue.
2018-05-23 22:07:30 +12:00
nyway be11494344
Update target.h
Changed to FLASH_CS_PIN and FLASH_SPI_INSTANCE
2018-05-23 18:07:27 +08:00
Michael Keller ac21aaac8b
Merge pull request #5928 from jflyper/bfdev-add-compass-exti-configurablility
Add compass exti configurability
2018-05-23 22:07:01 +12:00
Michael Keller 61328c3996
Merge pull request #5926 from mikeller/cleanup_sdk_tool_version_check
Cleaned up SDK version check.
2018-05-23 22:06:18 +12:00
nyway 1baacd3005
Update target.h
Delete TIM4  in  USED_TIMERS list
2018-05-23 16:38:12 +08:00
ZhengNingwei 09ed26f2ff Add new target FOXEERF405
Board - FOXEERF405

This board use the STM32F405RGT6 microcontroller and have the following features:
* 1024K bytes of flash memory,192K bytes RAM,168 MHz CPU/210 DMIPS
* The 16M byte SPI flash for data logging
* USB VCP and boot select button on board(for DFU)
* Stable voltage regulation,9V/2A DCDC BEC for VTX/camera etc.And could select 5v/9v with pad
* Serial LED interface(LED_STRIP)
* VBAT/CURR/RSSI sensors input
* Suppose IRC Tramp/smart audio/FPV Camera Control/FPORT/telemetry
* Supports SBus, Spektrum1024/2048, PPM. No external inverters required (built-in).
* Supports I2C device extend(baro/compass/OLED etc)
* Supports GPS
* Supports MPU6000 or ICM20689
2018-05-23 15:31:39 +08:00
supiiik 76e3e7aded dterm_setpoint_weight to uint16_t
dterm_setpoint_weight changet to uint16 with limit 0-2000
2018-05-23 08:39:45 +02:00
s0up f06d717309 fix the requirement for easing on yaw changes by only changing relative to 0 2018-05-22 20:01:35 -07:00
Cheng Lin d79fbf2938 change CLRACINGF7 target to use DMAR burst
change CLRACINGF7 to one timer and flash chip

test flash

Update CLRACINGF7 TARGET

update the file copyright
2018-05-23 10:04:19 +08:00
Michael Keller a3b67d77b0
Merge pull request #5947 from dbasch/gps_rescue_rc1
Fix GPS Rescue (needs yaw smoothing but works).
2018-05-23 10:59:34 +12:00
Diego Basch c3412225f5 Fix GPS Rescue (needs yaw smoothing but works). 2018-05-22 15:42:14 -07:00
Bruce Luckcuck 361af53c2b Refactor to support target specific defaults
Also remove redundant call to targetConfiguration()
2018-05-22 17:34:39 -04:00
supiiik 6c15904a77
Update pid.c 2018-05-22 20:01:25 +02:00
supiiik e4846f2ecc
New calculation for DTERM setpoint weight
I'm flying race with betaflight and on all my race quads I have setpoint on maximum value 2.54. But I feel, that it's not enough. This calculation of setpoint is almost same as old method up to number 2.0 (previously 2.54) but numbers above 2.0 have more aggresive impact on Dterm RC stick commands. With this calculation i found, that value 2.3 is fine for me. 2.3 is equivalent to 6,35 with old calculation method (which was not possible of course, because there is 8bit limit). With higher values have quad much sharper responses and feel more "locked in". 
I think, that most freestyle pilots have setpoint at values around 1, so there is almost no change and race pilots using higher values and for those, who are limited by the value 2.54 (like me and my friends) should be solution new setpoint calculation method.
This is my first pull request to betaflight, so I hope, that I did everything well according your rules
2018-05-22 19:59:47 +02:00
Andrey Mironov eac01a6ad6 Replaced PCRE with egrep for macOS users 2018-05-22 12:00:16 +03:00
Andrey Mironov fd17292843 Added M25Q32 Winbond ID 2018-05-22 09:11:30 +03:00
Bruce Luckcuck 40a88ada81 Abstracted the PG backup and restore for use in multiple places 2018-05-21 21:31:01 -04:00
Neil Balch 878418a19c Updated MATEK F405-CTR Docs
Improved formatting and added info on status indicator patterns
2018-05-21 17:17:30 -07:00
Bruce Luckcuck fc2f01cdf7 Add default display to cli get command if value has been changed
Presents the user with the default value for reference when displaying a parameter with the "get" command - but only if the current value differs from the default.
2018-05-21 17:25:20 -04:00
mikeller 557d704b9e Fixed RC modes PG version after GPS rescue. 2018-05-21 15:07:36 +12:00
jflyper b12a4270ba Add compass exit configurability 2018-05-21 12:03:11 +09:00
s0up 7ad65031e2 revert failsafe code, re-implement commented unit tests, add degrees suffix for min/max angle in rescue mode 2018-05-20 19:14:09 -07:00
Michael Keller 041362614b
Merge pull request #5899 from dbasch/gps_rescue_beta
[GPS RESCUE] - Add GPS rescue as a flight mode and failsafe mode
2018-05-21 14:13:50 +12:00
s0up cc1bb05a1e revert failsafe removal of else 2018-05-20 19:08:09 -07:00
Loopur 32a5ec4250 Add barometer sensor QMP6988 2018-05-21 10:06:50 +08:00
mikeller 57854eefc4 Cleaned up SDK version check. 2018-05-21 13:44:04 +12:00
Michael Keller 88904365f3
Merge pull request #5919 from mikeller/smartport_reorder_static_variables
Reorganised static variables in SmartPort code.
2018-05-21 13:08:03 +12:00
s0up ac6b8088c9 add gps rescue mode 2018-05-20 16:28:17 -07:00
mikeller 43c706fc95 Rebased, fixed regex for target name at end of line. 2018-05-20 15:28:59 -07:00
mikeller 2be4d5e569 Fix from review. 2018-05-20 15:28:59 -07:00
Michael Keller f01926b09b Moved pointers back. 2018-05-20 15:28:59 -07:00
mikeller be8df4483e Optimised 'serialPort_t' struct. 2018-05-20 15:28:59 -07:00
mikeller d67073c8b6 Optimised struct. 2018-05-20 15:28:59 -07:00
mikeller 4e54b1d1a5 Eliminated inefficient serial function calls at runtime. 2018-05-20 15:28:59 -07:00
mikeller 847e050955 Reorganised static variables in SmartPort code. 2018-05-20 00:55:07 +12:00
Michael Keller 0ded96910d
Merge pull request #5904 from mikeller/add_target_independence_check_to_travis
Added target independence check to travis 'test' target.
2018-05-20 00:46:47 +12:00
Michael Keller dd151b3636
Merge pull request #5914 from etracer65/cli_cmd_feedback
Add responses for cli commands that were missing them for consistency
2018-05-20 00:31:57 +12:00
Michael Keller 155a71def7
Merge pull request #5913 from etracer65/cli_whitespace_ignore
Ignore leading whitespace for cli command parameters
2018-05-20 00:31:24 +12:00
Michael Keller 0b40e1c673
Merge pull request #5912 from jirif/smartport_without_esc_telemetry
Smartport not working without USE_ESC_SENSOR
2018-05-20 00:30:55 +12:00
Loopur d36858a220 Add baro sensor of QMP6988 2018-05-18 18:37:28 +08:00