Martin Budden
c293414dd1
Merge pull request #2948 from martinbudden/bf_blackbox_unittest
...
Added blackbox unittest
2017-04-25 15:33:20 +01:00
Martin Budden
695c278b49
Added blackbox unittest
2017-04-25 14:52:47 +01:00
Martin Budden
d6ca86b9b2
Merge pull request #2938 from martinbudden/bf_flash_tidy
...
Flash code tidy
2017-04-25 14:44:07 +01:00
Martin Budden
229137127f
Merge pull request #2941 from martinbudden/bf_rx_unittest
...
Got rx_rx_unittest running, some tests disabled
2017-04-25 14:43:13 +01:00
Martin Budden
1f2db3e6cc
Merge pull request #2945 from martinbudden/bf_blackbox_switch_tidy
...
Tidied blackbox switch statements
2017-04-25 14:42:08 +01:00
Martin Budden
68154a223b
Tidied blackbox switch statements
2017-04-25 12:00:13 +01:00
MJ666
1ad0546af3
Merge pull request #2942 from AlienWiiBF/AF_update
...
Alienflight targets configuration cleanup
2017-04-25 09:00:00 +02:00
Michael Jakob
48b1204b53
Alienflight targets configuration cleanup
2017-04-25 08:42:00 +02:00
Martin Budden
c89fc98bf6
Got rx_rx_unittest running, some tests disabled
2017-04-25 07:38:36 +01:00
MJ666
e867c72def
Merge pull request #2939 from AlienWiiBF/F7_WS2811
...
F7 WS2811 make cleanup
2017-04-25 08:37:10 +02:00
Michael Jakob
3bb2dd1fee
F7 WS2811 make cleanup
2017-04-25 07:37:26 +02:00
Martin Budden
3e66b8edbd
Flash code tidy
2017-04-25 06:05:00 +01:00
Michael Keller
a5866f4fc6
Merge pull request #2926 from mikeller/added_dshot_for_f7
...
Added DShot for F7 targets.
2017-04-24 23:18:49 +12:00
Michael Keller
79594dfd86
Merge pull request #2927 from mikeller/fixed_f7_timer_assignments
...
Fixed timer to pin assignments for F7.
2017-04-24 23:18:06 +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
Martin Budden
068107a01e
Merge pull request #2923 from betaflight/cf-fixes-1
...
Merge some fixes from CF (Hott Telemetry, SPRacingF3NEO defaults)
2017-04-24 10:11:46 +01:00
Martin Budden
01777439de
Merge pull request #2932 from martinbudden/bf_blackbox_switch
...
Tidied blackbox switch statements
2017-04-24 09:04:45 +01:00
Martin Budden
4f95a50322
Tidied blackbox switch statements
2017-04-24 08:28:27 +01:00
mikeller
0770ccb11a
Added DShot for F7 targets. Cleaned up USE_DSHOT in 'target.h'.
2017-04-24 13:44:20 +12:00
Hydra
8dc019acdf
CF/BF - Fix average cell voltage.
...
4.10 was rendered as "4.10V"
4.07 was rendered as "4.7V"
Caused by incorrect format specification.
2017-04-23 21:16:23 +01:00
mikeller
2e0b7362d3
Fixed timer to pin assignments for F7.
2017-04-24 03:41:11 +12:00
Hydra
49471727be
CF/BF - SPRACINGF3 - Re-instate SONAR.
...
It appears @borisbstyle broke it with this commit. 907a184
After it was commented out @mikeller later deleted it in ce6d020
See https://github.com/cleanflight/cleanflight/issues/2755
2017-04-23 11:30:29 +01: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
Hydra
1d6c9382e4
CF/BF - SPRACINGF3NEO - Change the default telemetry settings to be
...
appropriate for the XSR receiver.
2017-04-23 11:29:35 +01:00
Martin Budden
d2ec0719f7
Merge pull request #2913 from mikeller/make_float_parameter_calculation_static
...
Made float parameter calculation static and other mixer performance improvements.
2017-04-23 09:37:32 +01:00
Martin Budden
ba62820076
Merge pull request #2924 from betaflight/spracingf3mq
...
SPRacing target cleanups/additions.
2017-04-23 09:34:29 +01:00
MJ666
a871a7f3e0
Merge pull request #2910 from AlienWiiBF/MPU6500_fix
...
MPU6500 / AK8963 driver interoperation fix
2017-04-23 09:50:41 +02:00
mikeller
991e69974f
Added more mixer optimisations from #2898 .
2017-04-23 18:26:06 +12:00
Nathan
64625965ed
Merge pull request #2892 from savaga/led-support
...
remap timers, add LED support
2017-04-22 21:38:30 -07:00
mikeller
485a8ef37f
Fixed setting of negative values in CLI.
2017-04-23 14:37:58 +12:00
Hydra
500a12740c
CF/BF - Change SPRACINGF3MQ into a variant. Cleanup SPRacing PCB
...
revision handling.
* Note the initial target support for the F3MQ dates back to early 2016,
prior to new build system.
2017-04-22 22:01:35 +01:00
Hydra
af9b5ea3f5
SPRACINGF3MQ - Initial target support.
2017-04-22 21:50:43 +01:00
Michael Jakob
c59b3e9948
Activate pull ups for I2C port on AlienFlight F3, F4 and F7 targets
2017-04-22 17:55:07 +02:00
Michael Jakob
c199bb5638
Revert changes for SPRACINGF3MINI (MPU9250 I2C)
2017-04-22 17:45:09 +02:00
Michael Jakob
278350b7e6
Fix alignment of tasklist output
2017-04-22 17:45:06 +02:00
Michael Jakob
434f4f661d
MPU6500 / AK8963 driver interoperation fix
2017-04-22 17:45:04 +02:00
Martin Budden
bb5314b825
Merge pull request #2921 from blckmn/nero_update
...
Updates for NERO. Fix for 20602, move i2c for LEDs
2017-04-22 16:42:40 +01:00
Martin Budden
fdf7d635fa
Merge pull request #2917 from sambas/betaflightF7
...
F7/HAL Fix spi init
2017-04-22 16:42:11 +01:00
Martin Budden
3aefa479d4
Merge pull request #2873 from theseankelly/cf2_bf
...
Adding target for Crazyflie 2.0 Nanocopter
2017-04-22 16:41:32 +01:00
blckmn
d229bacc60
Updates for NERO. Fix for 20602, move i2c for LEDs
...
Update the config for VCD to populate only 1 interface, and use device class allowing for built in Windows 10 driver.
2017-04-22 22:51:46 +10:00
Sami Korhonen
6ceb35122f
F7 Fix spi init
2017-04-22 08:51:50 +03:00
Martin Budden
de7e81918c
Merge pull request #2915 from betaflight/fix-merges-1
...
BF - Fix incorrectly merge conflict resolution.
2017-04-21 22:41:37 +01:00
Hydra
9659379e9d
BF - Remove unneeded code from crsf.c.
2017-04-21 20:01:07 +01:00
Dominic Clifton
c997e634da
BF - Fix incorrectly merge conflict resolution.
2017-04-21 19:27:55 +01:00
Michael Keller
40a2bee492
Made float parameter calculation static.
2017-04-21 13:18:23 +12:00
Michael Keller
df4b09e874
Merge pull request #2912 from betaflight/cli-cleanup-1
...
CLI Cleanup from Cleanflight - code size reductions
2017-04-21 12:53:19 +12: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
Michael Keller
c838ab5af8
Merge pull request #2874 from TheAngularity/patch-1
...
align_board_xxx - only positive values allowed
2017-04-21 11:51:41 +12:00