1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-20 06:45:16 +03:00
Commit graph

106 commits

Author SHA1 Message Date
Michael Keller
a33cc7d038 Fixed copy / pasta bug, changed to checko only TX pin assignment. 2017-03-09 18:24:29 +13:00
Michael Keller
2b2229fe61 Suppress listing SOFTSERIAL ports if they don't have pins assigned. 2017-03-09 14:41:32 +13:00
Maxim Strinzha
499e74efa4 Rename USART4/5 to UART4/5
This commit avoids compilation errors when INVERTER_PIN_USART4/5 is set.
2017-02-27 19:50:44 +03:00
Martin Budden
a94318a75f Added PG config definitions 3 2017-02-25 11:29:55 +00:00
borisbstyle
de3d1d527d Merge branch 'master' into patch_v3.1.6 2017-02-20 14:40:43 +01:00
jflyper
97b5dbc386 Softserial with monotimer and bidir 2017-02-09 23:32:37 +01:00
Martin Budden
5851b21e4a Removed a number of static config pointers 2017-02-01 12:58:29 +00:00
Martin Budden
e41d6a3b5b Preparation for conversion to parameter groups 2017-02-01 10:44:12 +00:00
Martin Budden
79d4b2146d Preparation for conversion to parameter groups 2017-02-01 08:46:19 +00:00
mikeller
8319bf4c69 Reinstated telemetry / MSP port sharing, since it can work if 'telemetry_switch' is true. 2017-01-21 22:48:01 +13:00
mikeller
5e45ec3293 Renamed 'serial_cli' and 'fc_main'. 2017-01-11 23:22:03 +13:00
Martin Budden
79f0a7088a Moved serial_cli to fc directory 2017-01-04 11:13:40 +00:00
mikeller
28f2cf0510 Made MAVLink telemetry shareable with serial Rx. 2016-11-27 15:43:02 +13:00
Michael Jakob
519c3d243b Fix findSerialPortIndexByIdentifier() function 2016-11-25 23:26:14 +01:00
Michael Keller
23e04a41b7 Removed FUNCTION_TELEMETRY_CRSF (since it's included in CRSF serial Rx) and FUNCTION_PASSTROUGH (since it can't be preconfigured anyway). 2016-11-21 09:20:23 +13:00
Martin Budden
890eab203b First cut of CRSF RX and telemetry code 2016-11-17 22:36:11 +00:00
blckmn
0ebaef175e Added abillity to specify USART6 as default port.
This fixes the mismatch between identifier and index when uarts are actually missing and not defined.
2016-11-11 17:19:43 +11:00
Sami Korhonen
1f8805cdf0 squash betaflightF7
Parts and driver boost from @npsm
2016-10-21 08:51:02 +03:00
Konstantin (DigitalEntity) Sharlaimov
ff19b5bcff MAVLink telemetry support 2016-10-17 17:17:25 +10:00
Martin Budden
5f791cef77 Renamed some MSP related files 2016-10-16 11:13:38 +01:00
Martin Budden
e15bafe6e7 Further reorganisation of MSP 2016-10-15 10:21:13 +01:00
Martin Budden
699e736f0b Added higher baudrates to support openlager 2016-10-14 23:18:05 +01:00
Martin Budden
31c3f9bb54 Added additional baudrates 2016-10-14 23:05:00 +01:00
Martin Budden
1dea28002e Further rxCallback parameter renames 2016-10-12 09:17:16 +01:00
Martin Budden
53981adbb7 Renamed serial port callback 2016-10-12 08:39:06 +01:00
Martin Budden
ea6b459ead Tidy up msp related #includes 2016-10-05 08:33:35 +01:00
Michael Keller
18bf3e924e Implemented support for MSP jumbo frames, switched dataflash reading to be using jumbo frames.
Set default MSP serial speed to 500000 kbps.
2016-09-14 14:06:45 +12:00
Martin Budden
a60cb8597f Rename serial MSP functions in prep for converting to using streambuf 2016-09-10 16:28:15 +01:00
borisbstyle
541b28cfc0 Merge pull request #920 from martinbudden/bf_directories
Directory rearrangement to reflect Cleanflight changes
2016-08-08 16:40:11 +02:00
Anders Hoglund
4cd7375cc3 Fix compile warnigs when only USE_VCP is defined. 2016-08-07 17:19:51 +02:00
Martin Budden
541f4d4018 Directory rearrangement to reflect cleanflight changes 2016-08-07 13:44:00 +01:00
Martin Budden
168469236b Tidied serial and telemetry files 2016-08-01 06:45:59 +01:00
Martin Budden
5c1c64fc41 Avoids initialisation of UART2 when PWM or PPM RX is used 2016-07-28 00:40:04 +01:00
Martin Budden
141b369667 Removed trailing whitespace 2016-07-16 07:54:58 +01:00
Martin Budden
c076bc3e2d Minor build optimisations 2016-07-11 20:11:09 +01:00
blckmn
c4e75e456c Move to UART naming convention where possible (rather than USART). 2016-07-09 14:51:23 +10:00
Read Error
e0c28c30d5 USART5 doesn't exist on F3 or F4, should be UART5. 2016-07-01 06:34:41 -04: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
blckmn
51a99e74c6 STM32F4: USARTS 4,5,6 added
Flag initialisation for motor_pwm_protocol
Fixes for AlienFlightF4 and timers
2016-06-08 05:43:28 +10:00
Ferdia McKeogh
7b7ee481db Update serial.c 2016-02-16 17:31:29 +00:00
borisbstyle
63dcc3dc1d Add LTM Telemetry // Remove MSP telemetry 2016-02-03 11:14:35 +01:00
digitalentity
2614111c39 Implemented RC calibration and unit-tests
Added rc calibration docs to Rx.md
2015-07-16 08:49:18 +10:00
Dominic Clifton
ca22fb0ee3 Replace CLI serial port configuration code with a new serial command.
This is done to make it clearer in configuration dumps which ports are
enabled and configured.

There is a nice code size reduction due to less strings being needed.

Serial documentation updated.

Closes #966.
2015-05-31 11:50:58 +01:00
Dominic Clifton
704dcf46ba Fix all warnings when compiling unit tests.
Use C++11 for the C++ unit test code to make the tests easier to read.
Previously we were using a 17 year old standard (!) (g++98)

GoogleTest is compiled with some additional flags to avoid some specific
warnings.  Consider enabling the warnings when upgrading GoogleTest.

See https://code.google.com/p/googletest/issues/detail?id=433

Closes #941
2015-05-29 15:26:10 +01:00
Dominic Clifton
dcc54a9aec Remove duplicate const keywords which were generating warnings when
compiling unit tests.
2015-05-29 14:23:12 +01:00
Dominic Clifton
a370d60595 Support UART3 and I2C on Paris Air Hero 32 Flex port (aka Naze32_SP).
This change also allows serial ports to be removed at runtime.  e.g.
UART3 on Naze32 and SoftSerial 1 & 2 when softserial is not enabled.
2015-05-22 20:49:33 +01:00
Dominic Clifton
d0a9d14b87 Allow CLI to be compiled out.
First cut, as proof-of-concept.  This allows CJMCU target to be built
without CLI and with Blackbox.
2015-05-19 23:42:41 +01:00
Dominic Clifton
8a7edb17ed Merge branch 'softserial-enabled' of git://github.com/sherlockflight/cleanflight-dev into sherlockflight-softserial-enabled 2015-04-01 20:06:08 +01:00
Dominic Clifton
b0b1eaf9c7 Add first unit test for some code in serial.c. Fix compiler warnings in
other tests.
2015-04-01 14:12:24 +01:00
Nicholas Sherlock
dce873434b Use SERIAL_PORT_NONE identifier to mark ports which are unavailable 2015-04-02 01:55:13 +13:00