Read Error
f70958b6d3
COLIBRI RACE gryoDetection fix.
2015-10-17 08:32:30 -04:00
Dominic Clifton
0150abf1bc
Remove OpenPilot bootloader support.
...
This can be added back at a later date if required if enough code-size
savings can be found, for instance, the removal of the CLI.
2015-10-12 20:44:51 +01:00
Dominic Clifton
123a4ccfc5
Merge branch 'GTune' of https://github.com/MJ666/cleanflight into
...
MJ666-Harakiri_PID_update
Conflicts:
Makefile
src/main/blackbox/blackbox_fielddefs.h
src/main/flight/pid.c
src/main/io/serial_msp.c
src/main/mw.c
src/main/target/ALIENWIIF3/target.h
src/main/target/CC3D/target.h
src/main/target/NAZE/target.h
src/main/target/NAZE32PRO/target.h
src/main/target/SPARKY/target.h
2015-10-06 20:16:37 +01:00
Dominic Clifton
d36da111b2
Delete autotune.
2015-10-06 19:38:02 +01:00
Dominic Clifton
ba2e22ab89
Add RMDO target.
2015-10-06 19:00:53 +01:00
Michael Jakob
43f5792a61
G-Tune port from Harakiri
...
Enabled for NAZE, ALIENWWIIF1 and ALIENWIIF3 targets
Implement G-Tune for all PID controllers
The G-Tune tuning results will be save if G-Tune mode will be disabled
during copter is disarmed.
Update PID controller and G-Tune documentation
2015-10-04 18:37:18 +02:00
Dominic Clifton
6fb500f580
NAZE32 - Add support for BMP280.
2015-10-02 15:43:44 +01:00
Dominic Clifton
85ba1eb0bd
Add support for MPU6500 connected via I2C.
2015-10-02 15:43:44 +01:00
Dominic Clifton
678c0413cb
Relocate and use some of the common MPU code from MPU6000 into
...
accgyro_mpu.c.
2015-10-02 15:43:44 +01:00
Dominic Clifton
0361d161fb
Relocate and use some of the common MPU code from MPU6500 into
...
accgyro_mpu.c.
2015-10-02 15:43:44 +01:00
Dominic Clifton
b46d56a5bd
Relocate some of the common MPU code from MPU6050 into accgyro_mpu.c.
2015-10-02 15:43:44 +01:00
Echelon9
210d6bcd11
Add new Makefile feature, try 'make help'
2015-09-28 22:48:07 +10:00
Dominic Clifton
c6f5b98a79
Improve failure LED status flashing. Now users can identify and report
...
hardware failures by counting the number of long flashes.
Fix up sensor read API so that code that uses sensors can detect
malfunctions.
If a failure mode occurs in a debug mode the code reboots the system
rather than rebooting to the bootloader.
2015-09-12 01:33:19 +01:00
Echelon9
cf8a6f8f8b
Add command 'make cppcheck' and friend.
2015-08-22 14:23:55 +10:00
Dominic Clifton
7adfeffafb
Cleanup SPI initialisation. Relocate mpu6500 spi configuration from
...
Colibri race specific code into the mpu6500 driver.
2015-08-20 21:39:02 +01:00
Larry (TBS)
3b1f423c49
COLIBRI RACE support
2015-08-20 19:18:10 +01:00
Dominic Clifton
b4172941c1
Merge branch 'feature/make-top-level-test' of https://github.com/Echelon9/cleanflight into Echelon9-feature/make-top-level-test
2015-08-20 18:27:22 +01:00
Echelon9
e7d4f7da7f
Remove duplicated -mfpu=fpv4-sp-d16 under cortex-m4 based targets.
2015-08-19 23:11:02 +10:00
Echelon9
f85bd89947
Promote 'make test' to a top level folder feature.
2015-08-17 23:02:19 +10:00
Dominic Clifton
5b236a8133
Fix flash size for SPRACINGF3.
...
Note: Only early prototypes had the smaller flash.
2015-08-05 02:52:33 +01:00
Michael Hope
f792ffa2e6
build: add a target for flashing via st-flash.
...
This makes developing against Discovery boards easier.
Signed-off-by: Michael Hope <mlhx@google.com>
2015-07-19 15:52:15 +02:00
Dominic Clifton
676b2dd6c0
Use the define USE_FLASH_M25P16. Only USE_FLASHTOOLS for some
...
development targets.
2015-07-13 03:28:34 +01:00
Dominic Clifton
e48e50512e
Merge pull request #1028 from borisbstyle/dterm_filter
...
Selective Software Filtering (Gyro, Dterm, Pterm)
Thanks for the code boris and thanks to everyone else for their testing and feedback
2015-06-29 16:00:49 +01:00
Michael Hope
41c0a7c262
build: use the first serial port for flashing.
...
Use wildcard to list all of the USB serial ports. Pick the first.
This is useful on my machine as the board sometimes appears as
/dev/ttyUSB1.
Signed-off-by: Michael Hope <mlhx@google.com>
2015-06-29 04:16:47 +01:00
borisbstyle
10f2d35759
Soft Filtering (Gyro, Dterm, Pterm)
...
pterm_cut_hz added
Let's play with this as well to get more noise filtered
Code Cleanup
Make filter more flexible for reuse
rewrite correction pterm
Define static delta in filter
Fix array count
ident
return function for filter
Filter Function enhanced
Full software filtering (DTerm, PTerm, Gyro, Acc)
Normalize Variables
Revert Back gyro settings
Bugfix gyro/acc filter // (MPU60xx equalize lpf settings)
Moved filtering to mw.c
This has been done to prevent reusing old cycletime for filter function.
acc_cut_hz removed (not needed)
Harakiri zero fix
2015-06-27 14:13:10 +02:00
Dominic Clifton
2436ccbaf5
SPRacingF3 - Enable Softserial on CH4/5 and CH7/8 (RX/TX).
2015-06-26 15:16:52 +01:00
Michael Hope
b26efd6256
ld: split the common linker commands out into a shared file.
...
Done to make it easier to add new sections (like a parameter registry
section) in the future.
Signed-off-by: Michael Hope <mlhx@google.com>
2015-06-22 08:49:16 +02:00
Dominic Clifton
084626a70f
SPRacingF3 - Allow use of a different external mag.
2015-06-10 03:36:53 +01:00
Dominic Clifton
4ed6fdfea5
CC3D - Add sonar.
...
This also ensures that the PWM mapping does not use the sonar pins when
sonar is enabled in a board agnostic way.
Conflicts:
src/main/config/config.c
src/main/drivers/pwm_mapping.h
src/main/main.c
src/main/target/CC3D/target.h
2015-05-22 22:35:41 +01:00
Dominic Clifton
f28158a5a7
Cleanup debug code.
2015-04-14 13:59:11 +01:00
Dominic Clifton
ef50a0648f
Allow spcification of flash size on command line.
2015-03-26 01:29:00 +00:00
Dominic Clifton
1de9fa4db6
SPRacingF3 - Add sonar support.
2015-03-22 20:55:27 +00:00
Dominic Clifton
bce6c6722c
Merge branch 'port-changes' of https://github.com/ledvinap/cleanflight into ledvinap-port-changes
...
Conflicts:
src/main/blackbox/blackbox.c
src/main/io/serial.c
2015-03-09 22:23:04 +01:00
Dominic Clifton
266fe45b7e
Temporarily disable autotune on the CC3D OPBL binary.
2015-03-02 11:50:15 +00:00
Nicholas Sherlock
af68517dda
Merge remote-tracking branch 'upstream/master' into cc3d
2015-02-28 00:19:03 +13:00
Nicholas Sherlock
451d3d7ba2
Move zigzag encoding function to new common/encoding.c file, add tests
2015-02-26 13:27:09 +13:00
Nicholas Sherlock
57fcde05a3
Blackbox dataflash: Experimental CC3D support
2015-02-25 00:52:25 +13:00
Petr Ledvina
3abcbace72
Generate phony targets in auto-dependencies
...
This will fix problem with missing dependencies where #include changes
2015-02-23 09:18:51 +01:00
Dominic Clifton
070b556a07
Enable blackbox flash logging only on SPRacingF3 and Naze rev5 targets.
2015-02-22 21:49:53 +00:00
Dominic Clifton
2f09b7d1d9
Merge branch 'blackbox-flash' of https://github.com/sherlockflight/cleanflight-dev into sherlockflight-blackbox-flash
2015-02-22 17:24:39 +00:00
Dominic Clifton
9057d70410
Allow excluding of servo code at compilation time.
...
This is in preparation for backbox on CJMCU/64k.
Flight tested on CJMCU.
2015-02-22 16:21:03 +00:00
Dominic Clifton
a1b01807cf
Merge branch 'lowpass' of https://github.com/fusterjj/cleanflight into fusterjj-lowpass
...
Conflicts:
src/main/flight/mixer.c
2015-02-22 14:55:04 +00:00
Nicholas Sherlock
acd4745a4e
Merge remote-tracking branch 'upstream/master' into blackbox-flash
2015-02-15 01:54:50 +13:00
Dominic Clifton
ed51428989
SPRACINGF3 - Enable DISPLAY. Specify serial port I/O in target.h.
2015-02-05 02:08:37 +00:00
Dominic Clifton
55cac2bdeb
Finally rename flight.c/.h to pid.c/.h. Cleanup some dependencies.
...
Relocate more code.
2015-02-01 00:39:38 +01:00
Joel Fuster
ec946ea7d5
Split filter into separate file for future reuse
2015-01-31 11:46:44 -05:00
Dominic Clifton
fa18940087
Minor cleanups to allow CJMCU to build again.
2015-01-30 21:25:18 +01:00
Nicholas Sherlock
f9e22a0461
Merge remote-tracking branch 'upstream/master' into blackbox-flash
2015-01-28 20:48:17 +13:00
Nicholas Sherlock
0624eb5067
Refactor blackbox IO routines out into separate file
2015-01-28 20:42:51 +13:00
Nicholas Sherlock
3eb28f16ea
Basic read/write/erase flash functionality works from the CLI
...
Very little code coverage tested yet, only writes of small sizes
2015-01-28 17:45:36 +13:00