Commit Graph

1432 Commits

Author SHA1 Message Date
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 6529d274b8 Adding details of the new serial port scenario for SmartPort telemetry. 2014-11-12 01:00:46 +00:00
Dominic Clifton 80e660140e Minor formatting fix. 2014-11-12 00:57:23 +00:00
Dominic Clifton 662dcc2920 Updating telemetry documentation to cover SmartPort (S.Port). 2014-11-12 00:56:50 +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
Dominic Clifton 70c580b211 Updating serial documentation to cover new defaults, updated examples. 2014-11-11 23:41:21 +00:00
Dominic Clifton 83fdb9e8e6 Merge pull request #160 from ledvinap/feature-timer
New timer implementation
2014-11-11 21:30:10 +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 6b92c50b6b Adding OpenTX SBus notes. 2014-11-11 11:10:50 +00: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 848a35ff40 Latest binaries with sbus improvements and some msp/telemetry port usage fixes. 2014-11-08 12:58:27 +00: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
dongie 9224eaf71e Redo sbus scaling/offset calculation based on data from FrSky X4R and d91ba93b8400ea118cd6fca1012c0ed2da14e3b7. 2014-11-08 01:33:18 +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 2c8b3af88d Merge branch 'Pierre-A-naze-updates-pb' 2014-11-06 19:52:21 +00: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
Dominic Clifton dc3b90c5d0 Merge pull request #157 from ledvinap/fix-whitespace
Fixed some whitespace around operators
2014-11-06 20:41:54 +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 d2e895ac93 Cleanup pinout tables in CC3D documentation 2014-11-06 10:12:38 +00:00
Dominic Clifton 1c545fdf9e Latest binaries. 2014-11-05 22:41:46 +00: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
Dominic Clifton 2d7184b25b Merge pull request #156 from ledvinap/feature-nvic
NVIC priority change
2014-11-04 17:30:50 +01: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