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

1550 commits

Author SHA1 Message Date
Dominic Clifton
a48a848890 Fix CRC errors in msp responses caused by double calling of
headSerialReply().  Ensure system is not reset while MSP response is
being transmitted.
2014-12-19 23:47:58 +00:00
Dominic Clifton
5b2659c92c Implement MSP_CONFIG and MSP_SET_CONFIG for backwards compatibility for
configurator.
2014-12-19 22:56:56 +00:00
Dominic Clifton
367eb79bd0 Add battery warning beeper. Update MSP_MISC/MSP_SET_MISC.
Note the old beeper was essentially 'battery critical'.
2014-12-19 22:16:47 +00:00
Dominic Clifton
49cf725b41 Merge pull request #232 from geekaz01d/patch-1
Update Board - Naze32.md
2014-12-19 10:34:47 +00:00
geekaz01d
f885564762 Update Board - Naze32.md
corrected small typo and clarified the mutually exclusive configs better
2014-12-18 17:07:03 -08:00
Dominic Clifton
ead9108ad6 Merge branch 'MJ666-AlienWii32_spectrum_bind' 2014-12-18 00:52:36 +00:00
Dominic Clifton
78d4f24ad2 Various cleanups for Spektrum binding support. 2014-12-18 00:50:30 +00:00
Dominic Clifton
8b59e03ea3 Add SPEKTRIM_BIND support to SPARKY and EUSTM32F103RC targets. 2014-12-17 23:15:35 +00:00
Dominic Clifton
19525fdd3c Removing unnecessary comment. 2014-12-17 23:15:34 +00:00
Dominic Clifton
ca7991d532 Update MSP_RX_CONFIG to include the ability to confugure spektrum
satellite binding.
2014-12-17 23:15:33 +00:00
Michael Jakob
8d1cfe633e Implement softreset detection for STM32F3xx based targets
Function still needs to be tested on target hardware
2014-12-17 23:15:33 +00:00
Michael Jakob
1be3e8e550 Added detection of soft reset and swich of bind mode
after first hard reset (power on) if hardware bind plug is not
configured. Now completly tested.
2014-12-17 23:15:32 +00:00
Michael Jakob
c09877e5b9 Fix spelling errors in comments 2014-12-17 23:15:31 +00:00
Michael Jakob
7b2c3be563 Remove softreset detection to make it more simple
User needs to reset spektrum_sat_bind manualy after binding the
sattelite receiver and the hardware bind plug is not present.
2014-12-17 23:15:31 +00:00
Michael Jakob
97523e832c Enable Spektrum bind for CJMCU, CC3D, NAZE32PRO targets 2014-12-17 23:15:30 +00:00
Michael Jakob
1766857da6 Spectrum bind code to be more geenic
Actualy only activated for the NAZE taget for USART2

#define SPEKTRUM_BIND
#define BIND_PORT  GPIOA
#define BIND_PIN   Pin_3

This is to activate the Hardware bind pug feature
#define HARDWARE_BIND_PLUG
#define BINDPLUG_PORT  GPIOB
#define BINDPLUG_PIN   Pin_5

can now be easyly added and configured for other tagets after testing.
2014-12-17 23:15:28 +00:00
Michael Jakob
3aaaa3f9f5 Updates and fixes
fix FEATURE_RX_SERIAL
Delay for the hardware bind plug
Bind code will only work on default NAZE serial port (document
limitation)
2014-12-17 23:15:28 +00:00
Michael Jakob
c80090f39f Spektrum Satelitte bind code ported from Baseflight
includes support for a hardware bind plug (PB5 pin 41)
Activate via OPTIONS="HARDWARE_BIND_PLUG" during make
2014-12-17 23:15:27 +00:00
Dominic Clifton
dd54a59991 Fix compilation on EUSTM32F103RC target. 2014-12-17 23:14:56 +00:00
Dominic Clifton
b22f4db259 Update Inflight Adjustments.md 2014-12-16 15:57:20 +00:00
Dominic Clifton
101f2aa8c2 DISPLAY - Only show GPS page when using GPS passthrough. 2014-12-16 00:17:56 +00:00
Dominic Clifton
1a3069b627 Merge pull request #222 from m3us/patch-1
Fixed typo
2014-12-16 00:13:16 +00:00
Dominic Clifton
19ea3a60fd GPS - cleanup and fix home/hold mode transitioning. 2014-12-15 11:53:59 +00:00
m3us
d3d5bebd5a Fixed typo
Airbourne->Airborne
2014-12-15 13:20:21 +04:00
Dominic Clifton
1b097d3bfc Latest binaries with GPS improvements. 2014-12-15 00:02:20 +00:00
Dominic Clifton
c595bf8fd4 GPS - Fix build for non-GPS enabled targets. 2014-12-14 23:55:31 +00:00
Dominic Clifton
00d0e30981 Update GPS PH and Navigation defaults.
These come from the multiwii codebase and were tested by stronnag.

See
https://code.google.com/p/multiwii/source/browse/trunk/MultiWii_shared/MultiWii.h#187
2014-12-14 23:52:23 +00:00
Dominic Clifton
26239c0071 Merge pull request #218 from pulsar256/devdocs
Beginner-Friendly Building CF for Windows Tutorial
2014-12-14 18:32:30 +00:00
pulsar256
eef68e8378 Update Building in Windows.md 2014-12-14 19:21:15 +01:00
pulsar256
69b04332cd Update Building in Windows.md 2014-12-14 19:05:57 +01:00
Paul Rogalinski
8b4d2e905e Windows dev env: setup & building 2014-12-14 19:00:39 +01:00
Paul Rogalinski
14fc5dd786 Windows dev env: setup & building 2014-12-14 18:59:30 +01:00
Dominic Clifton
562cd6c3bd Merge pull request #211 from UKTamo/patch-1
Update Display.md
2014-12-14 11:13:49 +00:00
Dominic Clifton
93afc46a4c Merge pull request #217 from Akfreak/patch-2
Update Board - Sparky.md
2014-12-14 11:13:19 +00:00
Akfreak
2467e96676 Update Board - Sparky.md
I was confused by the USB VSP ( Virtual Serial Port) at the bottom. I believe you meant USB VCP correct?
2014-12-13 19:38:06 -08:00
Dominic Clifton
d8b5f6c60c GPS - Add satellite strength bargraphs to OLED display. 2014-12-13 21:58:54 +00:00
Dominic Clifton
e8dbb77db5 UART1 - Fix interrupt race condition which resulted in UART randomly
stopping transmission of data.
2014-12-13 19:45:02 +00:00
Dominic Clifton
9cc7a5aab1 DISPLAY - Skip GPS page if GPS is not enabled. 2014-12-13 19:40:19 +00:00
Dominic Clifton
9bcc0acd18 DISPLAY - Only compile in GPS page if GPS is enabled. 2014-12-13 19:37:27 +00:00
Dominic Clifton
f78b80fe01 GPS - Update UBOX auto-configure to use Pedestrian navigation mode.
"Applications with low acceleration and speed, e.g. how a pedestrian
would move. Low acceleration assumed. MAX Altitude [m]: 9000, MAX
Velocity [m/s]: 30, MAX Vertical Velocity [m/s]: 20, Sanity check type:
Altitude and Velocity, Max Position Deviation: Small"
2014-12-13 18:16:03 +00:00
Dominic Clifton
ea9633f2b1 Minor usart code readability improvement. 2014-12-13 18:05:22 +00:00
Dominic Clifton
119542a218 Avoid use of calls to the display when display not supported by the
target.
2014-12-13 12:08:13 +00:00
Dominic Clifton
6d1b0cec40 USART fixes based on feedback from @ledvinap. 2014-12-13 11:38:01 +00:00
Dominic Clifton
ce6582b88a GPS - remove temporary hack for fixing the OLED page to the GPS page.
Fix incorrect flag usage.
2014-12-13 03:45:39 +00:00
Dominic Clifton
9b81dea320 Fix USART total bytes waiting when tx/rx buffer sizes are not equal.
Avoid using % operator.  Allow buffer sizes that are not powers of two.
2014-12-13 03:29:24 +00:00
Dominic Clifton
27ae6fdb72 GPS - move debug code for gps OLED page around. 2014-12-13 02:19:49 +00:00
Dominic Clifton
ff9806e7a8 GPS - send UBlox SVINFO only once every 5 cycles (1hz) to reduce load on
the FC.
2014-12-13 02:15:53 +00:00
Dominic Clifton
62134057f0 GPS - handling incoming data as soon as possible to avoid observed GPS
packet loss.
2014-12-13 01:45:48 +00:00
Dominic Clifton
31ba3b7c94 SPARKY - Support GPS.
GPS tested on USART1 concurrently with SUMD on USART2, MSP on USART2 and
MSP on USB.  All working as expected.
2014-12-13 01:44:47 +00:00
Dominic Clifton
1c8416db2c GPS - handle data loss occurs in the start of a UBLOX frame 2014-12-13 01:42:35 +00:00