1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 08:15:30 +03:00
Commit graph

20 commits

Author SHA1 Message Date
mikeller
48281c17c9 Renamed 'sbus_inversion' to 'serialrx_inverted' and applied it to all
protocols.
2017-09-19 22:52:46 +12:00
Martin Budden
8dd4a584c1 Fixed whitespace 2017-08-17 08:32:37 +01:00
Martin Budden
23f158913e Moved time functions out of system.h into time.h 2017-05-26 14:03:28 +01:00
Magnus Ivarsson
b13d4694bb Combine ibus serial rx and ibus telemetry on the same fc uart on a single pin.
```
+---------+
| FS-iA6B |
|         |
| Ser RX  |---|<---\       +------------+
|         |        |       | FC         |
| Sensor  |---[R]--*-------| Uart TX    |
+---------+                +------------+
```
R = 10Kohm, Diode 1N4148 or similar.

Both uart tx and rx channels are used so it's not possible to use the spare pin for rx of something else.

Configure the serial port like this to get both serial rx and ibus telemetry on the same port:
```
serial 1 4160 115200 57600 115200 115200
```

It is still possible to run the serial rx and ibus telemetry on two uarts like before, an example:
```
serial 1 64 115200 57600 0 115200
serial 2 4096 115200 57600 115200 115200
```
2017-03-13 21:43:37 +01:00
Magnus Ivarsson
0dd758cdec reset sync byte in init to allow unittests to start fresh 2017-03-07 22:48:30 +01:00
blckmn
d466af8a44 Fixed serial RX to be able to use TX pin on any F4 target. 2017-02-15 00:00:41 +01:00
Martin Budden
93cab8805b Call serial frame status functions via pointer rather than switch statement.
Added type specific serial build flags as per iNav for finer grain ROM size control for F1 targets.
Improved efficiency of rxUpdateCheck function.
2016-11-11 21:08:05 +00:00
atomiclama
ce1c46ff84 Results from review.
Removed no longer required include build/build_config.h
2016-10-20 08:50:09 +01:00
atomiclama
4afab418fe Refactor to remove duplicate define of UNUSED macro. 2016-10-19 14:52:44 +01:00
blckmn
e65a77e87e ibus merge fix 2016-10-15 10:53:28 +11:00
blckmn
ac74764740 Merge branch 'betaflight_master' into development
# Conflicts:
#	src/main/common/filter.c
#	src/main/common/filter.h
#	src/main/flight/pid.c
#	src/main/rx/ibus.c
#	src/main/target/NAZE/config.c
#	src/main/target/NAZE/target.h
2016-10-15 10:52:27 +11:00
Martin Budden
fd20ece914 Changed function order to avoid function forward declarations 2016-10-12 08:04:49 +01:00
atomiclama
b51c9e0c03 Cherry pick d2d40ea8cf13d474b3fb64f946006b3b539c115e from atomiclama
Squashed commit of the following:
commit ba4ef96
Author: atomiclama <atomiclama@somewhere.com>
Date:   Mon Oct 3 10:45:24 2016 +0100

rebased

commit b8780a6
Author: atomiclama <atomiclama@somewhere.com>
Date:   Mon Oct 3 10:19:07 2016 +0100

comment added

commit 2a7144c
Author: atomiclama <atomiclama@somewhere.com>
Date:   Fri Sep 30 16:21:07 2016 +0100

fixed interframe value of 500us for both protocols.
Setup variables on first occurance of correct sync byte.

commit 4c3a503
Author: atomiclama <atomiclama@somewhere.com>
Date:   Fri Sep 30 13:09:20 2016 +0100

First working point for autodetect

commit d947e5d
Author: atomiclama <atomiclama@somewhere.com>
Date:   Wed Sep 28 09:20:58 2016 +0100

Merge remote-tracking branch 'androck/development' into
vtx-betaflight-dev

Reworked so that it's based on serial provider instead of the extra
config entry.
This saves space but requires a change in the configurator.
2016-10-07 07:39:32 -07:00
androck
82626de33a add support for flysky and turnigy ibus receiver ia6 2016-10-07 07:06:11 -07:00
Martin Budden
40ebc5d0a7 Moved RX functions pointers into rxRuntimeConfig. 2016-09-18 17:27:29 +01:00
Martin Budden
ccc9a5a9d4 Minor tidy of receiver code 2016-09-18 17:24:19 +01:00
Martin Budden
541f4d4018 Directory rearrangement to reflect cleanflight changes 2016-08-07 13:44:00 +01:00
mikeller
fefbc4d4bf Graft of 'serial_rx_telemetry_on_same_port' into development for flight testing by @blckmn. 2016-06-13 20:44:08 +12:00
borisbstyle
8b7b47da9a Sync Ibus with Cleanflight // Add extra AUX channels 2016-04-06 00:20:56 +02:00
digitalentity
f269f653f5 Implemented support for FlySky i-Bus serial receiver. 2016-01-13 16:54:29 +01:00