1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 16:25:31 +03:00
Commit graph

66 commits

Author SHA1 Message Date
Martin Budden
695c278b49 Added blackbox unittest 2017-04-25 14:52:47 +01:00
Martin Budden
68154a223b Tidied blackbox switch statements 2017-04-25 12:00:13 +01:00
Hydra
2b1dac4c6d CF/BF - First cut of allow building of the OSD SLAVE board without all
the flight controller code.

Likely the dependencies can be further improved.  This is a
minimal-impact solution while there are a lot of other Betaflight PR's
still pending.
2017-04-12 00:39:27 +01:00
Hydra
b473ebf0d0 CF/BF - reduce flash usage by allowing blackbox that match other strings
to
be-duplicated by the linker.
2017-03-19 10:40:27 +00:00
mikeller
15bef42fd2 Made flash erasing compile conditional on USE_FLASHFS. 2017-02-13 07:36:38 +13:00
Martin Budden
3d1e42d1aa Tidy of IMU header 2017-02-06 00:27:08 +00:00
Bryce Johnson
22d11e35b2 Added blackbox erase for flashchips
revert back initBlackbox

Fixed blackbox erase when full.
Change BOXBLACKBOXERASE to the end

Blackbox erase changes
Moved the ARM detect into the blackbox statemachine
Added blackbox erase start and end beep

Tab to space
2017-02-01 22:07:56 -06:00
Martin Budden
79d4b2146d Preparation for conversion to parameter groups 2017-02-01 08:46:19 +00:00
Martin Budden
4498f58918 Added osdProfile, vcdProfile, sdcard, and blackbox config macros 2016-11-30 23:43:10 +00:00
Martin Budden
d85eed0933 Move freestanding masterConfig items into structs 2016-11-24 17:34:05 +00:00
Martin Budden
7c8cb3205d Removed trailing spaces 2016-11-11 07:48:00 +00:00
Martin Budden
a771280b50 Moved config.c from config directory to fc directory 2016-10-18 08:57:39 +01:00
Martin Budden
5f791cef77 Renamed some MSP related files 2016-10-16 11:13:38 +01:00
Martin Budden
e530c72a18 Removed unused parameters 2016-10-02 08:37:40 +01:00
Martin Budden
9889b1db9c Move master_t required #includes into config_master.h 2016-10-01 14:10:09 +01:00
Martin Budden
a11d0bdb4d Split escAndServoConfig into motor and servo parts 2016-09-26 19:24:52 +01:00
mikeller
2cc4eea6de Fixed detection of existing log files when logging to SDCard. 2016-09-25 10:48:45 +13:00
Michael Keller
73a626a22e Turns out directory entries do not contain the dot. 2016-09-24 23:40:08 +12:00
Michael Keller
63db7f99e6 Fixed char array definition. 2016-09-24 18:22:09 +12:00
Michael Keller
7195f1dd2e Changed suffix for file detection as well. 2016-09-23 19:59:22 +12:00
Michael Keller
7ed2dc6fe3 Changed BLACKBOX default filename for SDCard logging to 'logXXXXX.bfl'. 2016-09-23 13:14:36 +12:00
Martin Budden
a60cb8597f Rename serial MSP functions in prep for converting to using streambuf 2016-09-10 16:28:15 +01:00
Martin Budden
541f4d4018 Directory rearrangement to reflect cleanflight changes 2016-08-07 13:44:00 +01:00
Martin Budden
0de27cf7c2 Used forward declarations to remove #includes from header files 2016-08-07 01:28:17 +02:00
borisbstyle
b581f4c39a Revert "Used forward references to remove #includes from header files" 2016-08-04 01:41:58 +02:00
Martin Budden
f6194f0eb7 Used forward references to remove #includes from header files 2016-08-03 21:19:40 +01:00
Martin Budden
141b369667 Removed trailing whitespace 2016-07-16 07:54:58 +01:00
Martin Budden
4d238b27d5 Moved targetLooptime into gyro_t, tidied gyro_sync and gyro 2016-06-26 16:15:06 +01:00
Evgeny Sychov
eb5963809d merge upstream into sirinfpv branch 2016-06-10 19:42:54 -07:00
sblakemore
2df7e3cefa Add RTC6705 SPI VTX support 2016-05-31 07:15:37 +10:00
Evgeny Sychov
e2ec4ce2be Make OSD items configurable 2016-03-13 17:31:33 -07:00
borisbstyle
f5de06c59e Enable Faster cycletimes (Sample Rates) on all targets // More automatic looptime calculations
cleanup
2016-02-24 23:17:21 +01:00
Nicholas Sherlock
360ea84a14 SDCard: multi-block write, card profiling. AFATFS: Bugfixes 2016-02-02 23:36:42 +01:00
Nicholas Sherlock
518c765620 Robustness improvements for Blackbox SD card log start 2016-02-02 23:36:41 +01:00
Nicholas Sherlock
e572ccebad Discard logged files when blackbox was paused for the entire flight 2016-02-02 23:36:35 +01:00
Nicholas Sherlock
14c13085b7 Add AFATFS support to Blackbox 2016-02-02 23:36:33 +01:00
Nicholas Sherlock
96182c7c07 Working on using AFATFS from Blackbox 2016-02-02 23:36:32 +01:00
borisbstyle
4b3ba927e9 Merge branch 'master' into betaflight
Conflicts:
	src/main/blackbox/blackbox_io.c
	src/main/drivers/serial_usb_vcp.c
	src/main/flight/imu.c
	src/main/mw.c
	src/main/target/CC3D/target.h
2015-10-12 23:53:43 +02:00
Nicholas Sherlock
ca2a6d9cdd Fix VCP support for new Tx bytes free vtable entry 2015-10-01 17:25:27 +13:00
Nicholas Sherlock
94affd5841 Fix truncated blackbox headers on fast looptimes/slow UARTs
As a consequence, now supports 19200 baud for Blackbox logging
2015-10-01 16:48:56 +13:00
borisbstyle
26deeb8ff6 Loop synced to Gyro
Remove double MPU_RA_PWR_MGMT_1

Looptime to Gyro refresh rate

disable 2khz when acc used for F3

Gyro sync code improvement

doc change
2015-09-02 00:30:39 +02:00
Nicholas Sherlock
0c4604eeef Blackbox code size savings by factoring common loops out into fuctions 2015-07-31 15:53:22 +09:00
Alexander Fedorov
00bff6485b Add logging of the inflight adjustment events to the blackbox 2015-06-23 15:20:22 +02:00
Nicholas Sherlock
159f57f583 Add new serial port options field (inversion, stop bits, etc) 2015-03-19 12:56:11 +13:00
Petr Ledvina
8d2dc82f4b blackboxPrintf - return number of characters written
change fmt to `const char*`
2015-03-17 09:33:16 +01:00
Nicholas Sherlock
3b5d2b6a16 Change recommended Blackbox baudrate to 250000
This is because the AVR's 230400 baudrate is very inaccurate, while the
250000 baudrate is spot-on.
2015-03-07 13:07:03 +13:00
Nicholas Sherlock
99fe3465b2 Support configurable Blackbox baud rates, allows >750Hz logging 2015-03-06 20:08:05 +13:00
Dominic Clifton
a156d915f4 Only index into the configurable baud rate list when needed. 2015-03-03 17:30:35 +00:00
Dominic Clifton
1a8500c768 Transition to new per-port & per-function baud rate configuration. 2015-02-27 01:05:37 +00:00
Dominic Clifton
b6509dd1eb Merge branch 'master' into serial-cleanup
Conflicts:
	src/main/blackbox/blackbox_io.c
	src/main/config/config.c
2015-02-26 22:43:29 +00:00