1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-20 23:05:19 +03:00
Commit graph

7588 commits

Author SHA1 Message Date
mikeller
48281c17c9 Renamed 'sbus_inversion' to 'serialrx_inverted' and applied it to all
protocols.
2017-09-19 22:52:46 +12:00
jflyper
298082375d Add I2C2 on TX3/RX3 2017-09-19 18:52:21 +09:00
jflyper
4e867c00bc Timer mapping rework
- UART backdoors are added for maximum flexibility.
- PPM is assigned to TIM10_CH1 to avoid colliding with LED strip.
- Motors 5 and 6 (S5_OUT and S6_OUT) removed, as they are not wired.
- Backdoor on UART6 are removed, as timers on these pins conflict with
motors (TIM3 and TIM8).
- target.h has been modified to accommodate these changes.
2017-09-19 16:03:07 +09:00
jflyper
f3f7029e85 Do proper IOConfigGPIOAF in ppmRxInit and pwmRxInit
Regression after #3991
2017-09-19 10:28:24 +09:00
dangeljs
fd29a8eff0 Reinstall the PPM pin on Timer2 CH2. Issue #2177 2017-09-18 20:24:25 -04:00
dangeljs
29bbaadceb Updating CC3D target file to allow for Parallel PWM to work properly with ESC motors on v2.1 and greater. 2017-09-18 18:30:41 -04:00
mikeller
860ec23fbe Fixed check for halfduplex mode in CRSF. 2017-09-19 01:43:55 +12:00
Martin Budden
f2f34b4693 Merge pull request #4166 from brycedjohnson/SmallAngle-turtle
Disable small_angle during crashflip mode
2017-09-18 06:53:15 +01:00
jflyper
74ba43a137 Temporary fix for BLUEJAYF4 and CLRACINGF4 2017-09-18 11:31:29 +09:00
jflyper
432c9da659 Fix N-Channel handling 2017-09-18 11:29:17 +09:00
Michael Keller
b20d5e6f80 Fixed mixer for non-3D mode. 2017-09-18 12:44:40 +12:00
Bryce Johnson
72a8e91fdd Disable small_angle during crashflip mode 2017-09-17 16:52:36 -05:00
Michael Keller
ce824a60d6 Fixed mixer for 3D / Dshot. (#4161) 2017-09-17 15:45:39 +01:00
jflyper
8534d565c7 Define OMNIBUSF4BASE to single out the Gen1 board 2017-09-15 23:50:31 +09:00
Michael Keller
21175320b4 Fixed Spektrum binding when overclocked. Also changed data type of 'spektrum_sat_bind_autoreset' from uint8_t to lookup(TABLE_OFF_ON). 2017-09-15 21:57:55 +12:00
Michael Keller
4f2bea6a84 Merge pull request #4153 from martinbudden/bf_blackbox_p_ratio
Renamed CLI setting blackbox_p_denom to blackbox_p_ratio
2017-09-15 20:48:57 +12:00
Martin Budden
a9d56097d1 Renamed CLI setting blackbox_p_denom to blackbox_p_ratio 2017-09-15 09:31:37 +01:00
jflyper
365a97cc8e Use keywords for max7456_clock value 2017-09-15 14:49:50 +09:00
jflyper
5a7ed7b686 Handle SPI clock for CPU over clocked environment 2017-09-15 11:10:28 +09:00
Dan Nixon
811a78c5e1 Fix define dependencies for VTX code
Fixes #4147
2017-09-14 17:57:46 +01:00
awolf78
f4af2da6e8 Added MSP_EXTRA_ESC_DATA MSP (#4140) 2017-09-14 11:22:07 +01:00
Martin Budden
2b10a7ff01 Merge pull request #4126 from elektronisk/patch-2
Set default Betaflight F3 current scale back to 220
2017-09-14 11:17:44 +01:00
jirif
0e19f7701d BEEPER_USB flag will silence the beeper only when battery is really not present (#4121)
Partial fox for #4107
2017-09-14 11:16:52 +01:00
Martin Budden
1dca5adb2b Merge pull request #4127 from jirif/diff_all_export_import
"diff|dump all" export can be used as direct copy/paste import
2017-09-14 11:15:14 +01:00
mikeller
7514c4ca26 Restrict LED_STRIP fading to modes where it acutally works. 2017-09-13 13:42:45 +12:00
atomiclama
f598145b48 Initialise rtc6705 CS to high.
Currently the pin initialisation sets it low, this allows any
initialisation glitches on the DATA and CLK lines to possibly be
detected.

This PR changes the order and forces the CS high before any changes to
the DATA and CLK lines.

I know there is information out there that the rtc6705 ignores the CS
but as we are using it lets do it properly.
2017-09-12 13:55:30 +01:00
jirif
96c7ef22c8 add strict argument checking for the "defaults" cli command 2017-09-12 10:15:13 +02:00
jirif
004e98457f "diff|dump all" export can be used as direct copy/paste import
"defaults" command causing reboot of the FC and ignoring remaining part of the pasted commands from "diff|dump all" exports. This change adding "nosave" parameter/functionality for the "defaults" command and "diff|dump all" exports. This parameter will not save eeprom and do not reboot the FC.
2017-09-11 21:19:26 +02:00
Andreas Bertheussen
3aa171ed47 Set Betaflight F3 current scale default back to 220
Fixes mistake from commit c59e7312c2 in PR #2699 where current scale was set to 200.
2017-09-11 20:56:16 +02:00
Martin Budden
b1f47c8a87 Merge pull request #4019 from jflyper/bfdev-escserial-avoid-n-channel-for-rx
ESCSERIAL Avoid N-Channel for RX side
2017-09-11 15:11:17 +01:00
Spencer Owen
992403d2dd Shows MSP api version in cli 2017-09-10 22:12:58 -06:00
Curtis Bangert
5ccd39843d Reset msp handling upon receipt of new incoming frames in msp_shared 2017-09-10 15:55:05 -04:00
Martin Budden
9b0e0a4f20 Merge pull request #4116 from DanNixon/osd_power_formatting
OSD power formatting
2017-09-10 17:25:32 +01:00
Martin Budden
0b17f44841 Merge pull request #4117 from mikeller/restore_smartport_msp_frame_handling
Restored SmartPort MSP frame handling to how it was before the addition of MSP over CRSF.
2017-09-10 17:24:15 +01:00
mikeller
aa1edbd978 Restored SmartPort MSP frame handling to how it was before the addition of MSP over CRSF. 2017-09-11 04:01:52 +12:00
mikeller
3bce54186c Disabled MSP over telemetry for F1, re-enabled SERVOS. 2017-09-11 03:44:55 +12:00
Dan Nixon
3013229918 Left pad OSD electrical power readout 2017-09-10 15:23:01 +01:00
Dan Nixon
8a1ba09ee8 Test rendering of existing OSD power element 2017-09-10 15:20:11 +01:00
Andrey Mironov
6bf755d0bd Merge pull request #4050 from codecae/msp_shared_crsf_smartport
Decoupled MSP functionality from S.Port.  Implemented MSP telemetry in CRSF.
2017-09-10 13:37:02 +03:00
Martin Budden
308b56957e Merge pull request #4108 from mikeller/add_dshot_command_delay
Added delay before sending Dshot commands to avoid read errors.
2017-09-10 09:39:18 +01:00
Martin Budden
8e8eeedfa5 Merge pull request #4114 from martinbudden/bf_spracingf3eve_dashboard
Undefine USE_DASHBOARD for SPRACINGF3EVO for ROM saving
2017-09-10 09:12:55 +01:00
Martin Budden
f5d4dbfb0e Undefine USE_DASHBOARD for SPRACINGF3EVO for ROM saving 2017-09-10 08:31:39 +01:00
Martin Budden
10d1f35122 Merge pull request #4106 from DieHertz/camera-control-internal-resistance
Added internal resistance adjustment
2017-09-10 07:11:40 +01:00
Curtis Bangert
863b24ae6a Corrected smartport regression issue with msp_shared
Corrected condition where an extra padded zero was added to outgoing msp buffers.
Whitespace tidy and removal of unnecessary condition.
Commented OSD and CMS from STM32F3DISCOVERY target.h
Various improvements to msp_shared (removed byte loops, point arithmetic)
Raised schedule priority of CRSF device and MSP calls
Reworked buffers in msp_shared to enable writes.
Moved msp buffers to msp_shared
Added new custom frames and reworking msp implementation
Implemented CRSF device info reply
Adding crsf ping/pong device info functionality
Changed Colibri FC address to Betaflight address
Implementing MSP in CRSF Telemetry
Decoupled msp functionality from smartport into msp_shared
Moved USE_SERVOS to FLASH>128 per mikeller
2017-09-10 01:36:59 -04:00
mikeller
c9e8bae51d Fixed beeping for 'gyro_cal_on_first_arm'. 2017-09-10 13:55:56 +12:00
mikeller
d4b1c06bf8 Added delay before sending Dshot commands to avoid read errors. 2017-09-10 12:55:47 +12:00
DieHertz
8c4b898128 Added internal resistance adjustment 2017-09-09 23:17:45 +03:00
Martin Budden
5b41fed90f Reserve MSP value for setting clock 2017-09-09 16:50:42 +01:00
Martin Budden
f4ff7b9c91 Merge pull request #4103 from martinbudden/bf_pid_tidy3
Minor tidy of PID code
2017-09-09 09:26:07 +01:00
Martin Budden
38574871d1 Merge pull request #4015 from sambas/betaflightF7
F7 uart TX IT
2017-09-09 07:06:35 +01:00