Kyle Manna
c806046181
perms: Remove execute bit on source files
...
* Remove the execute bit on source files.
* No functional change.
2014-11-26 10:13:29 -06:00
Dominic Clifton
4261185068
Merge pull request #186 from cleanflight/cc3d-mpu6000-detection-fix
...
CC3D - Attempt MPU6000 SPI detection multiple times.
2014-11-26 14:56:50 +00:00
Dominic Clifton
d41e8631ee
Disable and cleanup some debug output.
2014-11-26 00:28:53 +00:00
Dominic Clifton
e454e44b1e
CC3D - Attempt MPU6000 SPI detection multiple times.
...
On two CC3D boards tested prior to this fix the mpu6000ReadRegister call
for the MPU6000_WHOAMI would sometimes fail on code boot and sometimes
on warm boot, randomly.
The reset added in 4db1d58aaf
helps but
didn't fix detection for good.
2014-11-25 23:36:37 +00:00
Petr Ledvina
57c308538f
Whitespace cleanup
...
Misplaced whitespace fixed, no functional changes
2014-11-24 21:39:25 +01:00
Dominic Clifton
a71ef8fb80
Merge pull request #182 from ledvinap/fix-smartport
...
Fixed SmartPort units for heading; small improvements
2014-11-24 14:52:52 +00:00
Petr Ledvina
648e81d996
HOTT - fixed wrong operation order
...
Multiply first to prevent rounding error.
2014-11-24 15:39:49 +01:00
Petr Ledvina
21792048ae
Fixed SmartPort units for heading; small improvements
...
heading units checked with Opentx on Taranis ...
GPS speed is probably in knots, needs verification
2014-11-24 15:15:54 +01:00
Dominic Clifton
386c14c9e7
Update LedStrip warnings indication so it's clearer what warnings are
...
active.
This also has better performance, warning colors are only calculated
once per led strip update cycle.
2014-11-22 18:18:50 +00:00
Dominic Clifton
4db1d58aaf
Update MPU6000 SPI detection code - sending a reset is required before
...
it's reliably able to be detected.
2014-11-22 12:56:03 +00:00
Dominic Clifton
c5139fb9dc
CC3D - fix cc3d build.
...
SERIAL_PORT_USART2 is undefined for CC3D.
2014-11-22 01:16:07 +00:00
Dominic Clifton
249b09abce
Merge pull request #159 from Pierre-A/cc3d-updates-pa
...
RSSI monitoring on CC3D
2014-11-22 01:11:30 +00:00
Dominic Clifton
c84bd7f19b
Merge pull request #176 from ledvinap/fix-gps-tx
...
Enable TX when entering gpspassthrough
2014-11-21 23:30:09 +00:00
Dominic Clifton
365f3eebed
Merge pull request #178 from ledvinap/fix-serial-feature
...
Fix feature check (all features must be set to use port)
2014-11-21 23:25:03 +00:00
Dominic Clifton
56a1458eed
Merge pull request #170 from Pierre-A/cc3d-updates-pa2
...
Correction of typo and consequences
2014-11-21 23:23:48 +00:00
Petr Ledvina
4a23814532
Fix feature check (all features must be set to use port)
2014-11-20 14:58:54 +01:00
Petr Ledvina
4157cf5315
Fix double constatns
...
some constants were double, M_PI was sometimes inherided as double
added -Wdouble-promotion to makefile warnings
2014-11-20 08:31:35 +01:00
Petr Ledvina
31c8c21a79
Enable TX when entering gpspassthrough
2014-11-19 17:46:31 +01:00
Petr Ledvina
559edb4254
atomic.h - Bump version check number
...
Version for warning is increased to gcc > 4.x, used approach should be safe in gcc 4.x (and most probably also in future versions)
2014-11-18 13:57:12 +01:00
Petr Ledvina
cb98cb050d
Fix misplaced end-of-line in atomic.h
2014-11-15 19:38:21 +01:00
Pierre-A
e99fbe863f
Correction of typo and consequences
2014-11-15 11:37:39 +01:00
Dominic Clifton
c364d971a0
Some OLED displays do not respond on the first initialisation so refresh
...
the display when the page changes in the hopes the hardware responds.
This also allows the user to power off/on the display or connect it
while powered.
2014-11-14 00:48:33 +00:00
Dominic Clifton
1c22a94f92
Adding attomic barrier warning fix and documentation on how to verify
...
it. See #167
2014-11-13 22:03:16 +00:00
Dominic Clifton
daef382dd9
Show rates on OLED rate display page.
...
Other minor display cleanups and improvements.
2014-11-13 01:51:36 +00:00
Dominic Clifton
f5a0f9d3b2
Update RX & Battery OLED pages.
...
RX page shows up to 14 channels.
Battery page shows current and capacity information.
2014-11-13 01:29:07 +00:00
Dominic Clifton
8661849a5f
Ensure sensors bitmask contains the flag for the GYRO after gyro has
...
been detected.
2014-11-12 21:03:40 +00:00
Petr Ledvina
f7a8869b7d
List terminator is wrong in some arrays
2014-11-12 12:23:28 +01:00
Dominic Clifton
668c9c0457
Allow smartport to be configured. Fix shared port flag calculation.
2014-11-12 01:30:05 +00:00
Dominic Clifton
0f8d231aad
Adding a FIXME to the SmartPort code.
2014-11-12 01:09:14 +00:00
Dominic Clifton
80e660140e
Minor formatting fix.
2014-11-12 00:57:23 +00:00
Frank Zhao
6311dc8f8c
added single wire half duplex UART
...
Conflicts:
src/main/telemetry/telemetry.h
2014-11-12 00:29:42 +00:00
Frank Zhao
0000d3e65e
added smartport telemetry
...
Conflicts:
src/main/telemetry/telemetry.h
2014-11-12 00:11:13 +00:00
Dominic Clifton
d9c2963182
OLIMEXINO - Disable MPU3050 support.
2014-11-11 23:41:58 +00:00
Petr Ledvina
3ee60ef857
Merge remote-tracking branch 'refs/remotes/upstream/master' into feature-timer
2014-11-11 12:50:11 +01:00
Petr Ledvina
3b20b74c00
Fixed original softserial code
...
Bit end timer must by shifted by half-bit period to startbit edge, so that next edges are in middle of bit interval. This behavior was masked with old timer code, but noise immunity was probably very low.
2014-11-11 12:38:57 +01:00
Dominic Clifton
a6a72be0d2
Add a debug page to the OLED display.
2014-11-10 18:33:07 +00:00
Dominic Clifton
893023d21b
Delete some baseflight test code.
2014-11-10 00:40:22 +00:00
Dominic Clifton
9362590785
Replacing the init code for the UG2864 display with code that works on
...
the cheapest displays currently available from banggood.com.
Cleanup work will happen once the code has been tested on more displays,
such as the ones from Wide.HK and the Crius.
The default has changed to these boards because they are cheap and do
not require modification to get them working, unlike the Crius boards.
2014-11-10 00:58:39 +01:00
Dominic Clifton
54c650fa44
EUSTM32F103RC - Add inverter.
2014-11-10 00:55:30 +01:00
Dominic Clifton
d0f622bb81
PORT103R - Initial support for the Waveshare Port 103R development
...
board.
2014-11-10 00:53:48 +01:00
Petr Ledvina
98c0d0b5dd
Code cleanup / fixed missing TIM8_UP handler
2014-11-08 15:25:16 +01:00
Petr Ledvina
cd88c561a6
Merge remote-tracking branch 'refs/remotes/upstream/master' into feature-timer
2014-11-08 14:25:28 +01:00
Dominic Clifton
28da97f894
Fix MSP/Telemetry Arm/Disarm problems.
...
Tested with two MSP ports, one via softserial. Both with telemetry
enabled and without telemetry enabled.
2014-11-08 11:53:01 +00:00
dongie
f42d603b12
Fixing acc_hardware in cli to the new supported sensors range.
...
Conflicts:
obj/baseflight.hex
src/cli.c
2014-11-08 02:06:06 +00:00
Dominic Clifton
8ed45bce36
cli exit
command now reboots without saving.
...
This also prevents excessive wear to the eeprom/flash and makes it the
difference between `save` obvious.
Fixes #146
2014-11-08 01:58:35 +00:00
Dominic Clifton
28662e696a
Update SBus channel reading calculations.
...
Based on baseflight PR#48 by Geobish/Timecop.
2014-11-08 01:32:24 +00:00
Dominic Clifton
0f10855837
Support 16 channel SBus receivers.
...
Tested with FrSky X4RSB and Taranis+.
See also: https://github.com/opentx/opentx/issues/1701
2014-11-08 01:12:51 +00:00
Dominic Clifton
2461973dd6
There was a little more fixed to do when telemetry was not eanbled.
...
Tested arm/disarm/arm/disarm with telemetry on and off, all working now.
See #155 .
2014-11-08 01:11:10 +00:00
Petr Ledvina
aa7f5c4a1e
New timer implementation
...
This is first part of new softserial code. Main timer code is changed, changes to rest of code are kept to minimum.
macros for BASEPRI based synchronization are added to project (atomic.h)
TIMER_PERIOD fixed in pwm_rx.c
2014-11-07 15:38:26 +01:00
Pierre-A
caf81ad640
RSSI monitoring on CC3D
2014-11-07 09:23:54 +01:00