1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-16 21:05:35 +03:00
Commit graph

693 commits

Author SHA1 Message Date
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
borisbstyle
ae269db9e2 Merge pull request #1556 from CC-Jeff/master
Passthrough Settings for Castle Creations ESCs
2016-11-15 00:16:54 +01:00
Jeff
b62e91df15 Added serial passthrough settings for Castle Creations
Corrected conditional in setTxSignalEsc
2016-11-14 14:03:31 -06: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
blckmn
e393d61116 Fixed errors on KAKUTEF4 target
Added definitions for TIM8_CH3 alternative DMA in timer_def.h (F4)
Renamed KAKUTEF4 target directory (removing version - use HW REV, not target name)
Fixed signed versus unsigned warning in serial_cli.c
2016-11-12 06:39:20 +11:00
Martin Budden
c00e49ed72 Merge pull request #1528 from martinbudden/bf_trailing_spaces1
Removed trailing spaces
2016-11-11 09:05:36 +01:00
Martin Budden
7c8cb3205d Removed trailing spaces 2016-11-11 07:48:00 +00:00
blckmn
58105c25ac Simplified Owner management 2016-11-10 18:56:13 +11:00
borisbstyle
d2530da874 Merge pull request #1490 from blckmn/dma_owner
Adding DMA ownership for ADC, LED STRIP, USART and MOTOR
2016-11-09 09:59:07 +01:00
blckmn
8dc3bee80d Adding DMA ownership for ADC, LED STRIP, USART and MOTOR 2016-11-08 13:47:37 +11:00
jflyper
c12942ed41 Substitute FEATURE_MSP_DISPLAYPORT with !defined(OSD)
Save feature bits.
2016-11-07 22:29:35 +09:00
jflyper
1da1837288 Change feature name to MSP_DISPLAYPORT
And some build option fix.
2016-11-07 18:53:23 +09:00
Martin Budden
d8a83518db CMS file renaming. displayPort renaming 2016-11-06 20:24:33 +00:00
Martin Budden
a7a428a5bb Code tidy and addition of GPL headers 2016-11-06 10:29:11 +00:00
jflyper
e9a2f2b2c1 Merge remote-tracking branch 'betaflight/master' into bfdev-osd-cms-separation-poc 2016-11-06 02:43:24 +09:00
Sami Korhonen
d2981cd704 escprog inverted output support
multiport test, usage "escprog ki 255"
2016-11-05 11:27:02 +02:00
blckmn
e56f915018 Moving LED strip to be configurable via resource command 2016-11-05 13:35:20 +11:00
J Blackman
32a3f8912c Merge pull request #1452 from martinbudden/bf_fc_name
Added and used FC_FIRMWARE_NAME #define
2016-11-04 21:38:26 +11:00
Martin Budden
383a7b5c40 Added and used FC_FIRMWARE_NAME #define 2016-11-04 08:11:50 +00: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
Michael Keller
932ef0d22e Cleaned up resource related commands in CLI. 2016-11-01 01:22:08 +13:00
jflyper
1aaf2d9d47 Minor touch ups 2016-10-29 13:40:27 +09:00
jflyper
8816678333 Rebased on to master 2016-10-29 02:01:48 +09:00
jflyper
720a841008 More displayPort_t, CANVAS as new feature, multi-display cycling
- Further touch-ups with displayPort_t handling.
- CANVAS is a FEATURE now.
- Device specific xxxCmsInit() are registered by device’s init, and
called by CMS upon entry to menu.
- Multiple display devices can be cycled by entering menu invocation
command while in menu.
- The menu invocation command is (was) changed to THR-Mid + YAW-Left +
Pitch-Full to avoid collision with MWOSD menu invocation command.
- More separation attempt.
2016-10-28 13:22:28 +09:00
gaelj
431295ab21 Enable using of any RC channel to set the color hue modifier.
Can be set via MSP (bumped to version 22)
New CLI command: mode_color 7 0 AUX_Channel
AUX_Channel:
    ROLL = 0
    PITCH = 1
    YAW = 2
    THROTTLE = 3
    AUX1 = 4
    AUX2 = 5
    AUX3 = 6
    AUX4 = 7
    AUX5 = 8
    AUX6 = 9
    AUX7 = 10
    AUX8 = 11

Fixed CLI defaults printing for #1019.
2016-10-28 11:31:16 +13:00
jflyper
7960b1665d Introduction of displayPort_t 2016-10-27 19:07:27 +09:00
Michael Keller
0a4648c03e Fixed motor value translation to / from MSP for DShot.
Fixed 'stopMotors' (used in 'HardfaultHandler' to actually stop motors with DShot. Also made 'disarmMotorOutput' used consistently.

Renamed functions to be more clear.
2016-10-27 08:31:00 +13:00
Martin Budden
58c85029d6 Removed unnecessary #includes 2016-10-26 05:15:26 +01:00
jflyper
482dbe316b Rebased again ... 2016-10-26 03:22:12 +09:00
borisbstyle
b5a70451ec Merge pull request #1364 from martinbudden/bf_servo_split2
Split mixer and servo code
2016-10-25 13:09:26 +02:00
borisbstyle
f79896b1bd Add DSHOT300
Bool check for dshot protocol

Add dshot300 to init

ident
2016-10-25 13:05:03 +02:00
Martin Budden
31828873fa Split mixer and servo code 2016-10-24 20:58:45 +01:00
jflyper
6cf9086f56 CMS-OSD separation 2016-10-23 19:03:35 +09:00
Sami Korhonen
2478fb84f1 fix cli outputs 2016-10-23 10:45:30 +03:00
Sami Korhonen
ec923b6180 Escserial test 2016-10-23 00:59:07 +02:00
borisbstyle
706897c187 Convert mixer to float math 2016-10-20 09:05:52 +02:00
borisbstyle
f698f99198 Merge pull request #1282 from blckmn/digital_motors
DSHOT600 & 150 -> digital one shot motor (ESC) protocol
2016-10-19 00:24:39 +02:00
borisbstyle
5e3c974d64 Remove Legacy Pid Controller 2016-10-18 16:49:16 +02:00
blckmn
4e529642d1 Initial implementation of DSHOT protocol (600 and 150) 2016-10-18 19:38:18 +11:00
Martin Budden
a771280b50 Moved config.c from config directory to fc directory 2016-10-18 08:57:39 +01:00
kc10kevin
6dbded7071 ICM20689 Gyro Fix 2016-10-16 20:28:53 -05:00
Martin Budden
69719788cb Merge pull request #1223 from mikeller/add_fast_msp_support_to_cli
Added support for setting fast MSP bitrates in CLI.
2016-10-14 23:09:44 +01:00
blckmn
6ea3e47f56 Some more const qualifiers, and including sonar for configuration list. 2016-10-13 11:08:43 +11:00
blckmn
46a6e560f1 Initial IO remapping capability 2016-10-13 11:08:39 +11:00
borisbstyle
0e827b331d New Beebrain defaults // refactoring 2016-10-13 01:50:34 +02:00
borisbstyle
c527d30716 Initial BeeBrain Support 2016-10-12 12:55:26 +02:00
borisbstyle
aaafd4f661 Merge branch 'master' into development 2016-10-12 10:15:13 +02:00
borisbstyle
05084ec306 Set D default 2016-10-12 09:55:34 +02:00