Commit Graph

1644 Commits

Author SHA1 Message Date
Dominic Clifton b123b4ef03 Cleanup disabling of mixers for CJMCU, this might be usefulfor the
AlienWii32 target too.

Deleted old out of date comments.  Various other minor cleanups.
2014-12-24 11:33:14 +00:00
Dominic Clifton db14bd80cb Cleanup sonar driver
* spend less time in interrupt handler.
* avoid pointer usage to prevent the inclination adjusted reading being
replaced by the interrupt handler's calculation.
* only calculate the actual distance based on the measurement when
required.
2014-12-24 01:31:50 +00:00
Dominic Clifton bd29298197 Fix being unable to configure mixer via GUI. 2014-12-23 19:37:39 +00:00
Michael Jakob 73869a75e3 Some final documentation updates 2014-12-23 18:04:51 +01:00
Dominic Clifton 64d1687060 Updating readme. 2014-12-23 13:58:17 +00:00
Dominic Clifton 8693ccefa0 Adding IRC notifications to the TravisCI configuration. 2014-12-23 13:40:49 +00:00
Dominic Clifton 0300b57ed7 Merge pull request #223 from kylemanna/travis
travis: Add inital support for travis-ci.org
2014-12-23 12:25:44 +00:00
Dominic Clifton e9bc6c9353 Merge pull request #224 from GruffyPuffy/xbus
Added initial version of JRPropo XBUS Mode B support.
2014-12-23 12:08:23 +00:00
Dominic Clifton 11a88b1be1 Merge pull request #235 from geekaz01d/patch-2
Update Gps.md
2014-12-23 12:02:08 +00:00
Petr Ledvina eea8f90595 auto-disarm implementation, slight rewrite of HFMan commit 931478054e70cd6a51916ea9430f041f61b7f7ba
Added automatic disarm after 5 seconds when feature MOTOR_STOP is enabled (has no effect on
FIXED_WING configurations.)  Users that don't have a buzzer to warn when
board is armed and use feature MOTOR_STOP can forget to disarm the
board. For example after landing they pick up copter and then
accidentally move throttle up when trying to remove flight battery.

Configurable via CLI using 'set auto_disarm_board=x' where x is 0-60
seconds.  If zero, does not auto_disarm.
2014-12-22 14:39:50 +01:00
Dominic Clifton bebf43d568 Removing BINARIES from the SOURCE repo. Binaries are now attached to releases here: https://github.com/cleanflight/cleanflight/releases 2014-12-22 00:01:53 +00:00
Dominic Clifton 183c5f8e16 Add MPU9150 mag support and mag autodetection. Add AK8975 mag driver.
Note: not working on the sparky, MPU9150 needs passthough enabling but
when enabled the mag and gyro won't ack on the default addresses.  Needs
further investigation.
2014-12-21 23:40:48 +00:00
Dominic Clifton 13305dd2e4 Disable mixer configuration on CJMCU to save flash size. 2014-12-21 23:40:48 +00:00
Stefan Grufman 19bfabbce4 Changed name of define to better name. 2014-12-21 22:13:23 +01:00
Stefan Grufman 981adf51d9 Cleanup for coding standard. 2014-12-21 17:01:14 +01:00
Dominic Clifton d605ded161 Adding ATAIL support.
See https://github.com/multiwii/baseflight/pull/192
2014-12-21 14:58:46 +00:00
Dominic Clifton 4bf3d03591 Adding installation/backup/restore documentation. 2014-12-21 12:58:27 +00:00
Dominic Clifton 705e64d91e Fix continuous beeping when rate profile selection is used. 2014-12-20 09:58:41 +00:00
Dominic Clifton ec5929d278 Add MSP_BUILDINFO. 2014-12-20 02:57:02 +00:00
Dominic Clifton df61d9a7eb Support GPS Provider and SBAS mod in MSP_MISC. 2014-12-20 02:22:51 +00:00
Dominic Clifton a48a848890 Fix CRC errors in msp responses caused by double calling of
headSerialReply().  Ensure system is not reset while MSP response is
being transmitted.
2014-12-19 23:47:58 +00:00
Dominic Clifton 5b2659c92c Implement MSP_CONFIG and MSP_SET_CONFIG for backwards compatibility for
configurator.
2014-12-19 22:56:56 +00:00
Dominic Clifton 367eb79bd0 Add battery warning beeper. Update MSP_MISC/MSP_SET_MISC.
Note the old beeper was essentially 'battery critical'.
2014-12-19 22:16:47 +00:00
geekaz01d 9e430f1ff8 Update Gps.md
made language more clear and consistent
2014-12-19 12:41:49 -08:00
Dominic Clifton 49cf725b41 Merge pull request #232 from geekaz01d/patch-1
Update Board - Naze32.md
2014-12-19 10:34:47 +00:00
geekaz01d f885564762 Update Board - Naze32.md
corrected small typo and clarified the mutually exclusive configs better
2014-12-18 17:07:03 -08:00
Dominic Clifton ead9108ad6 Merge branch 'MJ666-AlienWii32_spectrum_bind' 2014-12-18 00:52:36 +00:00
Dominic Clifton 78d4f24ad2 Various cleanups for Spektrum binding support. 2014-12-18 00:50:30 +00:00
Dominic Clifton 8b59e03ea3 Add SPEKTRIM_BIND support to SPARKY and EUSTM32F103RC targets. 2014-12-17 23:15:35 +00:00
Dominic Clifton 19525fdd3c Removing unnecessary comment. 2014-12-17 23:15:34 +00:00
Dominic Clifton ca7991d532 Update MSP_RX_CONFIG to include the ability to confugure spektrum
satellite binding.
2014-12-17 23:15:33 +00:00
Michael Jakob 8d1cfe633e Implement softreset detection for STM32F3xx based targets
Function still needs to be tested on target hardware
2014-12-17 23:15:33 +00:00
Michael Jakob 1be3e8e550 Added detection of soft reset and swich of bind mode
after first hard reset (power on) if hardware bind plug is not
configured. Now completly tested.
2014-12-17 23:15:32 +00:00
Michael Jakob c09877e5b9 Fix spelling errors in comments 2014-12-17 23:15:31 +00:00
Michael Jakob 7b2c3be563 Remove softreset detection to make it more simple
User needs to reset spektrum_sat_bind manualy after binding the
sattelite receiver and the hardware bind plug is not present.
2014-12-17 23:15:31 +00:00
Michael Jakob 97523e832c Enable Spektrum bind for CJMCU, CC3D, NAZE32PRO targets 2014-12-17 23:15:30 +00:00
Michael Jakob 1766857da6 Spectrum bind code to be more geenic
Actualy only activated for the NAZE taget for USART2

#define SPEKTRUM_BIND
#define BIND_PORT  GPIOA
#define BIND_PIN   Pin_3

This is to activate the Hardware bind pug feature
#define HARDWARE_BIND_PLUG
#define BINDPLUG_PORT  GPIOB
#define BINDPLUG_PIN   Pin_5

can now be easyly added and configured for other tagets after testing.
2014-12-17 23:15:28 +00:00
Michael Jakob 3aaaa3f9f5 Updates and fixes
fix FEATURE_RX_SERIAL
Delay for the hardware bind plug
Bind code will only work on default NAZE serial port (document
limitation)
2014-12-17 23:15:28 +00:00
Michael Jakob c80090f39f Spektrum Satelitte bind code ported from Baseflight
includes support for a hardware bind plug (PB5 pin 41)
Activate via OPTIONS="HARDWARE_BIND_PLUG" during make
2014-12-17 23:15:27 +00:00
Dominic Clifton dd54a59991 Fix compilation on EUSTM32F103RC target. 2014-12-17 23:14:56 +00:00
Stefan Grufman 67cce3b9a0 Cleanup of code (whitespaces/defines etc). Added initial text for docs about XBus and its configurations. 2014-12-16 18:36:43 +01:00
Dominic Clifton b22f4db259 Update Inflight Adjustments.md 2014-12-16 15:57:20 +00:00
Dominic Clifton 101f2aa8c2 DISPLAY - Only show GPS page when using GPS passthrough. 2014-12-16 00:17:56 +00:00
Dominic Clifton 1a3069b627 Merge pull request #222 from m3us/patch-1
Fixed typo
2014-12-16 00:13:16 +00:00
Kyle Manna 334300922e travis: Use arm-none-eabi-gcc compiler
* Use the gcc-arm-none-eabi compiler.  This will cause Travis-CI to
  set the env variable `CC=gcc-arm-none-eabi` which would allow the
  Makefile to be simplified by not hardcoding `CC`
* "Travis CI VMs run on 1.5 virtual cores"
   http://docs.travis-ci.com/user/speeding-up-the-build/
   Use `-j2`
* Ask GCC to print it's version.  Travis-CI would do this automatically
  if there was a way to install gcc before `$CC --version` is
  automatically run.
2014-12-15 13:41:33 -08:00
Stefan Grufman 509f73853d Added initial version of JRPropo XBUS Mode B support. 2014-12-15 22:15:47 +01:00
Kyle Manna e41ea5bec5 travis: Create build matrix for each target
* Build for each target
* Remove the `-j` flag due to each build VM only having "1.5" cores
2014-12-15 12:52:29 -08:00
Kyle Manna f356830781 travis: Add inital support
* Initial support for travis-ci.org
2014-12-15 09:17:15 -08:00
Dominic Clifton 19ea3a60fd GPS - cleanup and fix home/hold mode transitioning. 2014-12-15 11:53:59 +00:00
Michael Jakob 64c5cda1f7 Remove include from pwm_mapping.c (not needed) 2014-12-15 11:00:04 +01:00