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
Dominic Clifton
903392b883
Updating comment.
2014-11-06 19:52:10 +00:00
Dominic Clifton
59698c5a37
Merge branch 'naze-updates-pb' of github.com:Pierre-A/Cleanflight into Pierre-A-naze-updates-pb
2014-11-06 19:44:39 +00:00
Dominic Clifton
feb4be43d4
Merge pull request #150 from Pierre-A/naze-updates-pa
...
RSSI_ADC configurable scale in CLI
2014-11-06 20:43:16 +01:00
Petr Ledvina
8d22a85222
Fixed some whitespace around operators
...
one compiller warning about possible uninitialized variable supressed
2014-11-06 17:36:40 +01:00
Dominic Clifton
30c550b83d
CC3D - Support 4 PWM inputs and 4 PWM outputs.
...
Avoid timer clashes on CC3D when using Parallel PWM input.
More work needs to be done on the PWM RX/Output code to negate timer
clashes.
2014-11-05 22:32:44 +00:00
Dominic Clifton
2d119cba78
Fix softserial/pwm timer clash caused by typo in preprocessor defines.
...
See 91c7407806
Fixes #143 .
2014-11-05 21:05:57 +00:00
Dominic Clifton
db36cfe12e
Fix arm/disarm/arm bug when using shared msp/telemetry ports.
...
All msp ports are now re-initialised when disarming.
Bug wa introduced by c06fd78b83
- see
#144 .
Runtime serial port scenario should not have been erased.
Fixes #144 and #155 . Cleanup #125 .
2014-11-05 20:23:59 +00:00
Petr Ledvina
bf50cbb1a8
NVIC priority change
...
Use 'better' macros to handle priority. This simplifies passing priority to function and new ATOMIC_BLOCK macro
2014-11-04 16:23:21 +01:00
Dominic Clifton
503e7a0817
Decouple altitudehold.c from config.c. Update flight_imu_unittest and
...
altitude_hold_unittest.
2014-11-03 20:03:21 +01:00
Pierre-A
d545ab545f
Remove profanity from comments (issue #43 )
2014-11-02 14:53:57 +01:00
Dominic Clifton
f8b13d7c62
Update unittest_flight_imu.
2014-11-01 11:10:57 +00:00
Dominic Clifton
21e9b0b537
Update battery_unittest.
2014-11-01 11:06:24 +00:00
Dominic Clifton
6efa63b8bd
Update telemetry_hott_unittest.
2014-11-01 11:04:39 +00:00
Dominic Clifton
8f196420ca
Fix unit test compiler warnings on rc_controls_unittest
2014-11-01 10:50:30 +00:00
Dominic Clifton
715c175aad
Add basic MPU6000 auto detection code. De-duplictate repeated code in
...
MPU6000.
2014-11-01 10:45:44 +00:00