1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-21 15:25:36 +03:00
Commit graph

256 commits

Author SHA1 Message Date
jflyper
65c4b26aa4 Merge branch 'master' into bfdev-configurable-transponder 2017-06-30 22:36:25 +09:00
jflyper
42ba069a69 Print names instead of hex value 2017-06-30 22:02:40 +09:00
jflyper
1c2573c50f MINIMAL_CLI only print the value. 2017-06-30 14:35:22 +09:00
jflyper
adee15a806 Allow gyro-less booting 2017-06-30 08:51:06 +09:00
mikeller
31df82db2d Reworked arming conditions. 2017-06-30 08:43:46 +12:00
jflyper
84ba94f266 Remove NSS related defs and ammend cli.c 2017-06-26 11:39:13 +09:00
jflyper
ac668e2c6d Merge branch 'master' into bfdev-configurable-spi-phase-1 2017-06-24 15:27:57 +09:00
jflyper
1923316efd Touch up 2017-06-24 15:19:39 +09:00
jflyper
e88db3cb1a Merge branch 'master' into bfdev-configurable-bind-pin-2 2017-06-23 19:20:31 +09:00
jflyper
7a52f91975 Make SPI pins configurable 2017-06-23 11:12:10 +09:00
mikeller
2b2894a96f Fixed CLI buffer defines. 2017-06-23 00:43:45 +12:00
jflyper
f9bd5b1af5 Rebased onto master 2017-06-21 02:27:38 +09:00
jflyper
bb1ca6d57d Conflict resolution 2017-06-21 02:24:51 +09:00
jflyper
8e2ebcf026 Rebased on to master 2017-06-19 19:43:18 +09:00
Michael Keller
7b762e640c Merge pull request #3304 from mikeller/add_cli_array
Added support for array variables to CLI.
2017-06-19 21:39:49 +12:00
borisbstyle
98b301f1e8 Merge pull request #3302 from blckmn/config_led
Making status LEDs configurable.
2017-06-19 08:19:06 +02:00
Michael Keller
f65249e137 Increased buffer size. 2017-06-19 08:45:19 +12:00
Michael Keller
71958b6732 Merge pull request #3287 from mikeller/remove_pg_profile_support
Removed support for profile handling in parameter groups.
2017-06-18 15:52:30 +12:00
Michael Keller
a5b428ae4f Added support for array variables to CLI. 2017-06-18 01:43:08 +12:00
blckmn
daa0afcd39 Initial making of LEDs configurable 2017-06-17 16:47:38 +10:00
jflyper
c7f62e47a6 Automatic spektrum bind pin determination 2017-06-17 04:12:50 +09:00
Michael Keller
e7a02c819c Merge pull request #3229 from jflyper/bfdev-i2c-configurable-rework
Configurable I2C (rework)
2017-06-16 09:11:25 +12:00
jflyper
52bfef1ea5 Configurable I2C (rework) 2017-06-16 01:20:32 +09:00
jflyper
fda5e0f962 Configurable transponder 2017-06-15 17:43:05 +09:00
mikeller
774cae215c Removed support for profile handling in parameter groups. 2017-06-15 03:11:02 +12:00
mikeller
fd79841ffc Fixed dump of resources in CLI. 2017-06-14 00:16:07 +12:00
Martin Budden
39d6b31036 Code tidy 2017-06-04 14:12:56 +01:00
Martin Budden
23f158913e Moved time functions out of system.h into time.h 2017-05-26 14:03:28 +01:00
Anders Höglund
2463d5164e Merge pull request #3072 from ledvinap/fix-sitl-warnings
Fix SITL warnings
2017-05-16 11:18:10 +02:00
Petr Ledvina
58212464c5 Fix SITL warnings 2017-05-15 19:49:15 +02:00
rav
75089ea24c fix build errors 2017-05-11 23:10:00 +02:00
jflyper
4b80bceb1f Rebased on to master 2017-05-07 22:26:47 +09:00
J Blackman
0a37e76a37 Merge pull request #2922 from jflyper/bfdev-fix-resource-command-output
Fix resource command outputs
2017-05-06 13:26:53 +10:00
jflyper
9461672b46 Make inverter resource configurable
Add XXX comment about inverterConfig size

Fixed non-USE_INVERTER case

Moved inverter pin to serialPinConfig_t

Various improvements

Per @ledvinap ’s comments.

Only include "drivers/serial.h" from inverter.h

SERIAL_PORT_UART{4,5}, not _USART{4,5}

Dah!

Avoid magic number

Prepare for SERIAL_PORT_IDENTIFIER_TO_INDEX change (#3015)
2017-05-05 02:34:50 +09:00
Martin Budden
1c9e5598ce Allow high serial baudrates for OpenLager blackbox logging 2017-05-01 09:43:01 +01:00
mikeller
a2a9c4d05d Fixed buffer length used for ftoa. 2017-04-26 22:06:54 +12:00
Michael Keller
44ed1d2091 Merge pull request #2920 from mikeller/fix_cli_negative_values
Fixed setting of negative values in CLI.
2017-04-24 23:16:26 +12:00
jflyper
8007303df3 cliPrintLinefeed() is the consensus? 2017-04-24 18:03:30 +09:00
jflyper
2034895b27 Per line feed rule 2017-04-24 14:49:13 +09:00
Hydra
9726e52a54 CF/BF - Fix HoTT telemetry.
Two issues:
1 - failure to work on softserial ports.

The TX pin was not allocated due to the initial port mode.

HoTT telemetry is different in that it changes the serial port mode
between sending and receiving.

This change opens the port in RX/TX mode so that both RX and TX pins are
initally allocated.

Test scenario:
* HoTT on SoftSerial 1
* Diode connecting between RX and TX pins.

2 - bidirectional hardware ports were not supported.

Renamed `sport_halfduplex` to `tlm_halfduplex`.  The setting is now used
by sport and hott telemetry.
2017-04-23 11:30:29 +01:00
mikeller
485a8ef37f Fixed setting of negative values in CLI. 2017-04-23 14:37:58 +12:00
jflyper
0eb2b2b394 Hmm... 2017-04-23 11:21:45 +09:00
jflyper
3697f19c8c Some more savings.
This change will save 16B for F4 and F7 (no difference for F1 and F3).
2017-04-23 03:53:07 +09:00
jflyper
0aa40e822a Space-saving 2017-04-23 03:14:21 +09:00
jflyper
07b1918acd Fix resource command outputs 2017-04-23 03:05:17 +09:00
Michael Jakob
278350b7e6 Fix alignment of tasklist output 2017-04-22 17:45:06 +02:00
Dominic Clifton
c997e634da BF - Fix incorrectly merge conflict resolution. 2017-04-21 19:27:55 +01:00
Dominic Clifton
970f193dd7 CF/BF - Extract cli settings so they can be re-used.
CF/BF - Save 1280 bytes of flash and delete over 300 lines of code by
removing giant switch statement and static variables in the CLI.

fix

CF/BF - Remove some conditional code because there is a copy of every PG
so it will always be found*.

* unless a developer makes an error in the value table by specifying an
invalid PG.

CF/BF - Remove final usages of getCurrentAndDefaultConfigs to save more
flash space.

CF/BF - Change CLI command 'dump showdefaults' to simply 'dump defaults'.

* This will save a few bytes of flash space due to string re-use of the
'defaults' string.

CF/BF - Save a few more bytes by re-using the 'defaults' string again.

CF/BF - Fix CLI not being size optimized.

* The file had moved but the makefile was not updated to reflect that.

CF/BF - Add 'fc_init.c' and 'settings.c' to the size optimizations list.

CF/BF - Add some config source files to the size-optimized list.

CF/BF - De-duplicate CR/LF code by using appropriate methods. Promote
additional string re-use.

* This saves quite a lot of space when the file is size optimized, but grows it otherwise.

CF/BF - Further flash savings by removing more CR/LF on the
cliDump/cliDefaultPrintf format strings.

* It turns out that all the format strings ended in CR+LF so they could
all be removed.

CF/BF - Fix LF+CR being used instead of CR+LF for further flash savings.
2017-04-21 12:34:13 +12:00
Michael Keller
63552348c0 Merge pull request #2737 from betaflight/remove-msp-cruft
CF/BF - Remove more MSP cruft
2017-04-21 12:24:57 +12:00
Michael Keller
7a453bf4d1 Merge pull request #2894 from betaflight/vtx-rtc6705-api
Cleanup VTX api for RTC6705 via SPI and SoftSPI and add button support to SPRACINGF3NEO.
2017-04-21 12:16:22 +12:00