1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 08:15:30 +03:00
Commit graph

70 commits

Author SHA1 Message Date
borisbstyle
013312f90f Merge pull request #1833 from martinbudden/bf_config_inputfilteringmode
Moved inputFilteringMode into pwmConfig()
2016-12-16 21:53:20 +01:00
borisbstyle
61cddacd5c Merge pull request #1835 from martinbudden/bf_config_pid
Separated out pidConfig_t items
2016-12-16 12:59:01 +01:00
Martin Budden
acb14a9058 Moved inputFilteringMode into pwmConfig() 2016-12-15 19:30:06 +00:00
Martin Budden
d72b4e96c9 Separated out pidConfig_t items 2016-12-15 09:12:42 +00:00
Michael Jakob
07f7b20aec Move Brushed ESC auto detection into seperate source files
pwm_output.c and pwm_output_hal.c are used aternativly
2016-12-14 20:43:14 +01:00
Martin Budden
1f04d7343a Merge pull request #1774 from AlienWiiBF/Brushed_ESC_detect
Generalize brushed ESC auto detection
2016-12-11 11:54:35 +01:00
Michael Jakob
590b01a77e Generalize brushed ESC auto detection
Used for all AlienFlight and SPRACINGF3EVO targets
2016-12-10 23:14:32 +01:00
blckmn
f7518203aa Initial rework - removing target specific code from main.c
Moved FLASH to masterConfig
Moved LED (named statusLeds) to masterConfig
Fixed up some targets to remove defines from main.c
2016-12-10 10:35:17 +11:00
Martin Budden
229f6d14d4 Moved accZero and magZero out of sensorTrims into acc and compass config 2016-12-05 06:49:15 +00:00
Martin Budden
06e871406e Moved xx_hardware out of sensorSelectionConfig into config for specific sensor 2016-12-05 06:49:14 +00:00
Martin Budden
60e2227396 Moved alignment from sensor into device 2016-12-05 06:49:14 +00:00
Martin Budden
086d1f731e Added failsafe, serial, telemetry, ppm, and pwm config() macros 2016-11-30 23:11:53 +00:00
Martin Budden
00338cb854 Added throttleCorrection, batter, rcControls, gpsProfile, and gps config() macros 2016-11-30 22:59:12 +00:00
Martin Budden
3ec46f1bd2 Added gyro, compass, acc, and baro config macros 2016-11-30 21:38:14 +00:00
Martin Budden
a9280d732a Added sensor config macros 2016-11-30 21:30:57 +00:00
Martin Budden
6ccf11d518 Added motorConfig() macro 2016-11-30 11:44:29 +00:00
borisbstyle
55b32740d9 Merge pull request #1702 from martinbudden/bf_imuconfig_in_structs
Moved masterConfig imu items into a struct
2016-11-30 12:14:10 +01:00
borisbstyle
9f762aa88a Convert digital offset to percentage
Bump EEPROM

Fix rounding
2016-11-30 00:55:22 +01:00
Martin Budden
6ff265ec62 Moved masterConfig imu items into a struct 2016-11-29 22:28:11 +00:00
Martin Budden
c0761eb619 Merge pull request #1687 from martinbudden/bf_accelerometer_to_structs
Moved masterConfig accelerometer items to struct. masterConfig tidy.
2016-11-29 22:24:19 +01:00
Martin Budden
975f355b51 Merge pull request #1674 from martinbudden/bf_task_instrumentation
Improved scheduler and task timing instrumentation
2016-11-29 22:23:15 +01:00
Martin Budden
84467ea0e1 Moved masterConfig throttle correction items into a struct 2016-11-27 20:39:58 +00:00
Martin Budden
265cd85457 Moved accelerometer items to struct. masterConfig tidy. 2016-11-27 14:42:50 +00:00
borisbstyle
417d27dad2 Merge pull request #1658 from mikeller/add_consumption_alerts
Added battery warnings based on consumption.
2016-11-27 13:25:43 +01:00
Martin Budden
4fe68ce093 Improved scheduler and task timing instrumentation 2016-11-27 07:08:24 +00:00
Michael Keller
1c2bbf9c1a Added battery warnings based on consumption. 2016-11-27 18:32:33 +13:00
Martin Budden
78e6130aab Moved further gyro parameters into gyroConfig_t 2016-11-25 23:22:24 +00:00
Martin Budden
2c7d06a94e Moved gyro filter settings into gyroConfig 2016-11-25 23:22:24 +00:00
Martin Budden
e9407f3065 Tidied initialisation, especially PID filters 2016-11-25 23:22:23 +00:00
Martin Budden
d85eed0933 Move freestanding masterConfig items into structs 2016-11-24 17:34:05 +00:00
blckmn
e0d9e225d2 Fixed defaults for NAZE rev5 and above
Also included small rename of isOD to isOpenDrain for readability
2016-11-19 11:57:48 +11:00
Bas Delfos
16178a0662 Implementation of KISS ESC Telemetry protocol 2016-11-17 22:04:44 +01:00
Martin Budden
091c797fa8 Merge pull request #1574 from jflyper/bfdev-osd-adjustable_screen_pos
MAX7456: Adjustable screen area position offsets
2016-11-16 19:48:22 +01:00
jflyper
11128daaa6 Touch ups
- Renamed some variables
- Video system constants are now defined in vcd.h
- Removed video system default initializer from max7456.c
2016-11-17 02:48:01 +09:00
jflyper
062e8b7b26 MAX7456: Adjustable screen area position offsets
There are displays and goggles with slightly different timing
characteristics compared the standard ones. With such devices, screen
area may be too high or too low that top or bottom most characters may
be truncated.

This PR provides a way to adjust the screen area position so that
entire screen area can be shifted up or down, or left or right.

A new vcdProfile_t (VCD = Video Character Device) is defined and
video_system was moved from osdProfile also.
2016-11-16 23:30:10 +09:00
blckmn
b1e04e7ee0 PWM fix - and rename SKIP PWM and PPM to USE_PWM and USE_PPM 2016-11-15 20:59:05 +11:00
blckmn
17facbea84 sdcard dma config, adc config, bluejayf4 hardware revision
Moved ADC to configuration stored in masterConfig.
 - can remove features for vbat etc in future (perhaps param groups)
 - allows adc to be turned off completely (freeing up dma)

Added feature SDCARD
 - enables it to be turned off.
 - allows for DMA to be turned off (set sdcard_dma=OFF)

Fixed hardware revision to allow BJF4 mini to use the same target (no need for an additional target).
2016-11-13 14:25:33 +11:00
borisbstyle
6154a78101 Merge pull request #1527 from blckmn/f4_serial_provider
Added ability to specify USART6 as default port.
2016-11-11 11:53:27 +01:00
Martin Budden
7c8cb3205d Removed trailing spaces 2016-11-11 07:48:00 +00:00
blckmn
0ebaef175e Added abillity to specify USART6 as default port.
This fixes the mismatch between identifier and index when uarts are actually missing and not defined.
2016-11-11 17:19:43 +11:00
Martin Budden
04827440c8 Merge pull request #1422 from jflyper/bfdev-osd-cms-separation-poc
Configuration Menu System (CMS)
2016-11-09 07:29:46 +01:00
Martin Budden
30dfe0c3a5 Tidy of osd.c 2016-11-08 05:36:56 +00:00
Martin Budden
d8a83518db CMS file renaming. displayPort renaming 2016-11-06 20:24:33 +00:00
blckmn
18decaf436 Remaining LED strip driver issues resolved. 2016-11-07 05:56:27 +11:00
jflyper
e9a2f2b2c1 Merge remote-tracking branch 'betaflight/master' into bfdev-osd-cms-separation-poc 2016-11-06 02:43:24 +09:00
blckmn
3395d9ca2c Fixes reset LED issue (bad define) 2016-11-05 21:08:11 +11:00
blckmn
e56f915018 Moving LED strip to be configurable via resource command 2016-11-05 13:35:20 +11:00
Michael Keller
f17895db30 Merge pull request #1419 from mikeller/ledstrip_hue_overlay_cli_fix
Enable using of any RC channel to set the color hue modifier.
2016-11-04 16:29:16 +13:00
jflyper
ccdf1424c5 Rebased 2016-11-03 12:11:12 +09:00
Martin Budden
5bc1105871 Renamed display to dashboard 2016-11-02 05:00:09 +00:00