1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-24 16:55:36 +03:00
Commit graph

105 commits

Author SHA1 Message Date
Martin Budden
3cdbaaf14d Remove duplication in motor enable/disable 2017-07-06 08:55:26 +01:00
Faduf
f47b438918 define PLL setting for overclock 2017-07-05 16:43:10 +02:00
jflyper
7e48c48411 Overclockin' baby face!!! 2017-07-05 21:30:57 +09:00
jflyper
a877a132b9 Use 0x2001FFF8 for overclock request marker 2017-07-05 20:57:32 +09:00
Martin Budden
3d4f0bb137 Whitespace tidy 2017-07-05 06:36:22 +01:00
Faduf
1c2eb3f731 Add F4 overclock possibility
F4 overclock activation via CLI and not automaticaly when Gyro 32k is activated

Add condition in target file to alow overclock

Replace ALLOW_OVERCLOCK by DISABLE_OVERCLOCK

Remanant flag and soft reboot for overclocking
2017-07-03 21:42:45 +02:00
mikeller
67acc6c7ec Added beeps to indicate the reason for arming being disabled. 2017-07-04 01:38:04 +12:00
jflyper
d18a06f721 Merge remote-tracking branch 'betaflight/master' into bfdev-configurable-spi-phase-1 2017-07-02 11:06:50 +09:00
blckmn
1ff5ff7d98 Remove SITL specific defines from fc_init
Cleanup target.c indentation.
2017-07-02 04:40:19 +10:00
Anders Hoglund
08281e8ec9 Fix SITL compile. 2017-06-30 15:34:08 +02:00
jflyper
2c7970a9ed Revive visual indication of gyro detection failure 2017-06-30 14:33:35 +09:00
jflyper
adee15a806 Allow gyro-less booting 2017-06-30 08:51:06 +09:00
mikeller
31df82db2d Reworked arming conditions. 2017-06-30 08:43:46 +12:00
jflyper
78bf9da3a6 Merge branch 'master' into bfdev-configurable-spi-phase-1 2017-06-29 09:28:36 +09:00
Martin Budden
4b48e3ea28 Merge pull request #3365 from blckmn/dynamic_timer
Dynamic PWM output based on timer clock speed
2017-06-28 17:52:07 +01:00
blckmn
b9ebf8f4fd PWM output calculations dynamic based on clock speed 2017-06-28 21:59:42 +10:00
Dominic Clifton
545e30e3c4 Merge pull request #2872 from cleanflight/fix-servo-filtering
CF/BF - Fix servo filter initialisation.
2017-06-28 11:54:34 +12:00
jflyper
0e573383ec Merge remote-tracking branch 'betaflight/master' into bfdev-configurable-spi-phase-1 2017-06-26 11:41:43 +09:00
jflyper
ac668e2c6d Merge branch 'master' into bfdev-configurable-spi-phase-1 2017-06-24 15:27:57 +09:00
jflyper
0c803f23d2 Cherry-picked #3321 (Preset CS lines for SPI devices initial high) 2017-06-24 12:44:01 +09:00
jflyper
e88db3cb1a Merge branch 'master' into bfdev-configurable-bind-pin-2 2017-06-23 19:20:31 +09:00
Martin Budden
cca6d1ad6a Merge pull request #3321 from jflyper/bfdev-set-spi-cs-initial-high-2
Preset CS lines for SPI devices initial high
2017-06-23 10:36:16 +01:00
jflyper
7a52f91975 Make SPI pins configurable 2017-06-23 11:12:10 +09:00
Dominic Clifton
32fa109a64 Merge pull request #2852 from azolyoung/add-runcam-split-support
Add runcam split support
2017-06-23 08:48:07 +12:00
jflyper
5845f96c1e RX_CE_PIN doesn't need to be initialized 2017-06-22 23:15:45 +09:00
jflyper
a2718a91cd Even more devices (RX_SPI and RX_NRF24) 2017-06-21 03:12:05 +09:00
jflyper
8a03089569 More SPI devices 2017-06-21 00:54:33 +09:00
jflyper
682d4d4014 Preset CS lines for SPI devices initial high 2017-06-20 21:10:31 +09:00
jflyper
4451ae5fe9 Exclude SITL case 2017-06-19 20:46:49 +09:00
jflyper
8e2ebcf026 Rebased on to master 2017-06-19 19:43:18 +09:00
blckmn
3cfcf8a4b3 Fix for SITL target 2017-06-19 06:35:40 +10:00
jflyper
3d2fe5e8de Enable spektrum bind for SRXL 2017-06-17 11:12:50 +09:00
jflyper
c7f62e47a6 Automatic spektrum bind pin determination 2017-06-17 04:12:50 +09:00
jflyper
52bfef1ea5 Configurable I2C (rework) 2017-06-16 01:20:32 +09:00
Michael Keller
671d453709 Merge pull request #3097 from jflyper/bfdev-uart-refactor-and-configurable
UART refactor and configurable
2017-06-05 08:35:29 +12:00
jflyper
2d45189fe2 No more "pin-pair"
RX and TX can be assigned to ANY capable pins.
2017-05-27 02:55:13 +09:00
Martin Budden
23f158913e Moved time functions out of system.h into time.h 2017-05-26 14:03:28 +01:00
jflyper
fdfe9e8af3 Configurable UART 2017-05-24 11:49:21 +09:00
Martin Budden
4be1e31d01 Further work on multiple gyro support 2017-05-08 07:02:45 +01:00
jflyper
4b80bceb1f Rebased on to master 2017-05-07 22:26:47 +09:00
jflyper
9461672b46 Make inverter resource configurable
Add XXX comment about inverterConfig size

Fixed non-USE_INVERTER case

Moved inverter pin to serialPinConfig_t

Various improvements

Per @ledvinap ’s comments.

Only include "drivers/serial.h" from inverter.h

SERIAL_PORT_UART{4,5}, not _USART{4,5}

Dah!

Avoid magic number

Prepare for SERIAL_PORT_IDENTIFIER_TO_INDEX change (#3015)
2017-05-05 02:34:50 +09:00
Martin Budden
d1302712f2 Tidied blackbox function names to have blackbox prefix 2017-04-28 10:00:59 +01:00
Hydra
723831b579 SPRACINGF3NEO - Use RTC6705 clk hack.
CF/BF - Fix typo in max7456DmaInProgress.  Always define an
implementation even when there is no TX-DMA.

CF/BF - Ensure that max7456 communication does not disrupt RTC6705
communication when using the same SPI port for both.

CF/BF - Port RTC6705 to use the VTX API.

* Support VTX channel/band/power on OSD for ALL vtx APIs - previously it only supported RTC6705.
* Remove all FEATURE_VTX usage.
* Remove all `#define VTX` usage.

Note that due to the async nature of tramp/smartaudio it's not possible
to know the current band/channel after requesting a change (as the
request hasn't been processed) so it makes no sense to try and save the
config - and on the tramp/smartaudio vtx the vtx maintains it's state.
So on an RTX6705 equipped FC the user should now MANUALLY save the
config using the save config stick position.

CF/BF - Move CMS for RTC6705 into vtx_rtc6705.c for consistency with
other VTX CMS menus.

CF/BF - Update RTC6705 via SOFT SPI to use VTX API.

* Achieved by simply aligning the API at the driver level and removing
all legacy conditional compilation checks.

CF/BF - Use new IO for RTC6705 CLK Hack

CF/BF - Port VTX button from CF v1.x.

Features:
* Channel Cycle
* Band Cycle
* Power Cycle
* Save Settings
* Works with any VTX using VTX API.

CF/BF - Allow support for Internal and External VTX - External takes
precedence when configured.

CF/BF - Fix display of VTX power in CMS.

* Issue occured when CMS was transitioned from integer to list of
strings.

CF/BF - Disable SMARTAUDIO and TRAMP on the SPRacingF3NEO due to flash
size.

CF/BF - Cleanup const usage of bass-by-value parameters.  Cleanup
naming.

CF/BF - Cleanup naming.  Removing noise-words. Improving consistency.

CF/BF - Improve readability by further naming cleanups.

CF/BF - Remove some magic numbers in the RTC6705 VTX code.

CF/BF - Use braces on some procedural macros.

CF/BF - Improve code readability by renaming rtc6705SetChannel to
rtc6705SetBandAndChannel.

CF/BF - Remove editor mishap.

CF/BF - Make the rtc6705Dev variable static.

CF/BF - remove duplicate state variablertc6705Dev_t - vtxDevice_t had
all we needed.  Use brackets on some procedural style macros.  Make all
the vtx vtable static const.

CF/BF - making some declarations const.

CF/BF - Fix vtx_power maximum value (out by one).
2017-04-21 11:49:31 +12:00
Martin Budden
2493c214b0 Created subdirectories in drivers directory 2017-04-12 08:06:22 +01:00
Hydra
2b1dac4c6d CF/BF - First cut of allow building of the OSD SLAVE board without all
the flight controller code.

Likely the dependencies can be further improved.  This is a
minimal-impact solution while there are a lot of other Betaflight PR's
still pending.
2017-04-12 00:39:27 +01:00
Michael Keller
9204d0a34e Fixed conditionals for SPEKTRUM_BIND_PIN. 2017-04-10 09:55:40 +12:00
Hydra
ca5bafeab9 CF/BF - SPRACINGF3OSD initial target support inc support for OSD SLAVE via MSP_DISPLAYPORT.
OSD is tested and working on an SPRACINGF3EVO stacked with an SPRACINGF3OSD.
2017-04-09 14:17:17 +01:00
Martin Budden
149ed180f6 Merge pull request #2800 from jflyper/bfdef-cms-resurrect-display-cycling
[CMS] Resurrect display cycling
2017-04-03 20:52:30 +01:00
Miguel
a2841d783b Fix compile linking issues when USE_PWM is disabled 2017-04-02 20:01:41 +01:00
jflyper
cdf1bbb087 Rebased on to master 2017-04-02 22:46:33 +09:00