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
Dominic Clifton
20f32d632c
GPS - differenciate between timeouts and crc errors. Improve packet
...
logging. Cleanup UBLOX packet parsing.
2014-12-12 18:26:38 +00:00
Dominic Clifton
34385041ad
GPS - Update documentation.
2014-12-12 18:23:57 +00:00
Dominic Clifton
6610a91ce0
Optimize uart buffer counter incrementing.
2014-12-12 18:23:40 +00:00
Dominic Clifton
39f9b799d3
GPS - quick hack to parse the received GPS data and update the OLED
...
display in GPS passthough mode.
2014-12-12 17:04:33 +00:00
Dominic Clifton
1d5c2fb13e
GPS - fix ubox maximum packet size comparisons. Increase UBlox buffer
...
size to work with Glonass MSG-SVINFO packets. Skip data from packets
that are too large to process without attempting to process a large
payout as packet data. Ignore GPS presence check when enabling
passthrough mode so that it is possible to configure a GPS unit via the
FC without the GPS unit actually having communicated to the FC first.
2014-12-12 16:32:26 +00:00
Dominic Clifton
e8cba5bfb6
GPS - more documentaiton updates.
2014-12-12 16:26:41 +00:00
Dominic Clifton
ad9a2d2833
Update serial port irq handlers so they avoid the % operator.
2014-12-12 16:23:44 +00:00
Dominic Clifton
d8127f65ad
GPS - adding some documentation.
2014-12-12 16:22:33 +00:00
UKTamo
b862329897
Update Display.md
2014-12-12 15:13:40 +00:00
Dominic Clifton
6ce288063e
GPS - Add packet logging to the OLED display. Allow autobauding to be
...
enabled/disabled via cli (disabled by default now). Fix missing rate
configuration for UBLOX SVINFO which would have resulted in missing
satallite counts.
2014-12-12 14:43:59 +00:00
Dominic Clifton
8345401ff2
GPS - Demystify some magic numbers.
2014-12-12 14:41:49 +00:00