Commit graph

  • a406cb6f96 reorder aux/adjrange commands, commands must be alphabetically sorted due to the command-lookup code. Dominic Clifton 2014-10-24 21:30:12 +01:00
  • 066c814a8a Update adjrange command to take an 'adjustment index/slot'. Apply adjustment ranges to adjustment slots when channel is within range. Dominic Clifton 2014-10-24 20:49:00 +01:00
  • bd39445be8 Add cli command to configure adjustment ranges. Dominic Clifton 2014-10-24 19:51:40 +01:00
  • 18abad5dd7 Extract range definition so it can be reused. Dominic Clifton 2014-10-24 18:57:06 +01:00
  • b2db6b3b80 Beep when adjustments are made. (very short = adjust downwards, short = adjust upwards). Dominic Clifton 2014-10-24 18:42:34 +01:00
  • a92b148557 update some comment typos in sensors/acceleration.c Dominic Clifton 2014-10-24 18:35:59 +01:00
  • 2b02df8ba0 First cut of API documentation. Dominic Clifton 2014-10-24 17:54:42 +01:00
  • a2a9443045 Seperate adjustment configuration from adjustment state. Rename 'step' parameter to 'delta' applying the adjustment. Configure adjustment states based on adjustment configuration for AUX3 and AUX4. Dominic Clifton 2014-10-24 15:46:07 +01:00
  • 45d9678a39 Use adjustment index rather than function to track state. Dominic Clifton 2014-10-24 15:10:28 +01:00
  • e21f0667c5 Update adjustmentConfig to include the adjustment timeout. Dominic Clifton 2014-10-24 14:58:41 +01:00
  • 02c93f1c1a Fix rc_controls_unittest to use midrc. Dominic Clifton 2014-10-24 14:57:46 +01:00
  • 6db86da975 Re-instate the original softserial workaround. Dominic Clifton 2014-10-24 08:48:37 +01:00
  • 9f41f9aba4 Merge pull request #128 from Pierre-A/cc3d-updates-1 Dominic Clifton 2014-10-24 08:42:57 +01:00
  • 4c2802545f Merge pull request #133 from ledvinap/feature-nvic Dominic Clifton 2014-10-24 08:37:49 +01:00
  • a3af8284dc Update target identifier for MassiveF3. Dominic Clifton 2014-10-24 08:32:23 +01:00
  • 51574338e8 Merge pull request #132 from ledvinap/bugfix-targets Dominic Clifton 2014-10-24 08:30:14 +01:00
  • afd0d21b68 Merge pull request #131 from ledvinap/bugfix-trivial Dominic Clifton 2014-10-24 08:28:47 +01:00
  • e686b4504e Centralized NVIC priorities - NVIC priorities are moved to separate file, all values are replaced wit symbolic names. Priorities should be the same. - tiny change in DMA initialization Petr Ledvina 2014-10-23 16:45:14 +02:00
  • 1604f856b8 Merge branch 'bugfix-targets' into feature-nvic Petr Ledvina 2014-10-23 16:38:01 +02:00
  • e58afe9d64 quick fix it is impossible to build some targets. This is quick fix to get it working again Petr Ledvina 2014-10-23 16:32:16 +02:00
  • e179218caf Trivial changes - use inline functions for gpio (typesafe, no speed penalty) - fix sortSerialPortFunctions (original was IMO broken) - allow softserial port on sonar pin when FEATURE_SONAR is not enabled - minor style changes and comments Petr Ledvina 2014-10-23 15:08:57 +02:00
  • db26c09721 Merge branch 'ledvinap-feature-makefile' Dominic Clifton 2014-10-23 13:33:43 +01:00
  • 091941cd82 Makefile improvement - root must be assigned when declared - with := - add autodependecy generation Petr Ledvina 2014-10-23 14:10:45 +02:00
  • b0b83b31db Make the adjustment controls more sensitive by using a smaller 3POS switch deadzone. Dominic Clifton 2014-10-22 23:20:59 +01:00
  • 6d7035819f First cut of allowing a 3POS switch on AUX3 to change rc rate. Dominic Clifton 2014-10-22 22:53:22 +01:00
  • d0ec471d03 Current monitoring on CC3D Pierre-A 2014-10-21 20:30:40 +02:00
  • fd32ad6fcb Use correct buffer size variable when checking for softserial waiting bytes. Fixes #127. Dominic Clifton 2014-10-21 13:41:51 +01:00
  • cbd1817f6c Workaround for HoTT and softserial. Dominic Clifton 2014-10-20 23:14:30 +01:00
  • 2d8f65448d Cleanup Softserial/LedStrip timer clash checking. Move definitions of led strip timer and softserial pwm ports/timers into target specific files. Dominic Clifton 2014-10-20 20:57:16 +01:00
  • f9f6b05aac Fix opening softserial ports - missed a #ifdef check. Dominic Clifton 2014-10-20 20:13:30 +01:00
  • 91c7407806 Cleanup CC3D softserial - it only has enough pins/timers for one port. PR #124 incorrectly re-used the same timer hardware for the second port which was bad. Dominic Clifton 2014-10-20 19:34:10 +01:00
  • b08f51d88c Undo changes from 20c4dae7c2 / hott.c until a proper fix is found. Dominic Clifton 2014-10-20 18:43:56 +01:00
  • 729b929933 Merge pull request #124 from Pierre-A/cc3d-updates-1 Dominic Clifton 2014-10-20 18:29:19 +01:00
  • 20c4dae7c2 SoftSerial port for CC3D Pierre-A 2014-10-19 11:20:55 +02:00
  • 63236d5a2a Fixed bug where channel mapping was incorrect when using GPS and RX Parallel PWM on STM32F10X targets. Fixes #80. Dominic Clifton 2014-10-18 18:16:58 +01:00
  • c3c6a90a17 Latest binaries with FrSky telemetry updates and first cut of MSP_API_VERSION command. Dominic Clifton 2014-10-18 17:17:33 +01:00
  • b03df441f3 Updating serial port details for Naze board. Dominic Clifton 2014-10-18 16:40:21 +01:00
  • a3aad91f76 Bump EEPROM version (for #108). Dominic Clifton 2014-10-18 16:38:40 +01:00
  • e0495343de Updating credits for FrSky telemetry. Dominic Clifton 2014-10-18 16:03:13 +01:00
  • 8fef02fe8d Updating FrSky telemetry docs to match recent code changes. Dominic Clifton 2014-10-18 15:56:34 +01:00
  • 1b47d3cbae Clean up pull request #108 from @Airmamaf. Dominic Clifton 2014-10-18 15:52:04 +01:00
  • df5a61b433 Merge branch 'airmamaf-airmamaf' Dominic Clifton 2014-10-18 15:07:03 +01:00
  • 1c501272ab Merge branch 'airmamaf' of github.com:airmamaf/cleanflight into airmamaf-airmamaf Dominic Clifton 2014-10-18 15:06:42 +01:00
  • 50971667d9 Fix a couple of typos in MSP guidelines. Dominic Clifton 2014-10-17 22:46:07 +01:00
  • 596d798732 Add MSP_API_VERSION command. Added MSP development guidelines. Define board identifiers for all cleanflight targets. Dominic Clifton 2014-10-17 22:34:15 +01:00
  • 4f96e3c20e Disable MPU6500 on EUSTM32F103RC because the driver autodection is not implemented yet. See #119. Dominic Clifton 2014-10-17 01:35:46 +01:00
  • 6f3aa6fb86 Add extra MSP commands to allow settings to be made via a GUI in addition to setting via the CLI. Dominic Clifton 2014-10-17 01:25:30 +01:00
  • afb77484ea cleanup hardware revision detection and get rid of checks for hse_value add spi autodetect functionality, actually check for currently used M25P16 flash chip dongie 2014-08-18 01:10:44 +09:00
  • 38dbe897d9 Reduce RAM usage of mpu6050 initialisation. Dominic Clifton 2014-10-16 01:10:23 +01:00
  • f5895b762f NAZE32_SP - Enable MPU6500 driver. Dominic Clifton 2014-10-16 00:57:44 +01:00
  • 8f9a553a9e Use Naze hardware revision when initialising mma845. Cleanup ADXL345 initialisation. Dominic Clifton 2014-10-16 00:56:02 +01:00
  • 50391f2c8e Use Naze hardware revision when initialising beeper. Cleanup inverted beeper configuration. Dominic Clifton 2014-10-16 00:44:56 +01:00
  • 2ed09b0b2f Use Naze hardware revision when initialising bmp085. Cleanup bmp085 GPIO configuration for all targets. Dominic Clifton 2014-10-16 00:13:09 +01:00
  • 79917da85a Use Naze hardware revision when initialising mpu6050. The driver is not not naze specific anymore. Dominic Clifton 2014-10-15 23:06:04 +01:00
  • cf643b98c8 Use Naze hardware revision when initialising hmc5883. The driver is not not naze specific anymore. Dominic Clifton 2014-10-15 22:42:07 +01:00
  • 6162f609ea Use Naze hardware revision when initialising adxl345 - this now allows the driver to be used by any target with an hse_value of 12Mhz. Dominic Clifton 2014-10-15 21:16:52 +01:00
  • a4879cc2e3 Use Naze hardware revision when initialising ADC. Dominic Clifton 2014-10-15 21:14:49 +01:00
  • 8ef70abaa0 NAZE32 - Add hardware revision detection. Dominic Clifton 2014-10-15 20:59:06 +01:00
  • d3fc10fd83 Mode documentation updates. Dominic Clifton 2014-10-15 19:26:03 +01:00
  • 697152e69a Ensure that binary file changes are ignored when producing a git diff. Dominic Clifton 2014-10-15 15:23:59 +01:00
  • 83e22cb5ad Updating readme. Dominic Clifton 2014-10-15 14:33:27 +01:00
  • 30ddd177d9 Removing more profanity from code. See #43. Dominic Clifton 2014-10-15 14:33:10 +01:00
  • 80989c4bee Update Sonar docs. Dominic Clifton 2014-10-15 09:32:57 +01:00
  • 71170a40b2 Latest binaries (from 79c2e5648f) to use with configurator 0.51.1. Dominic Clifton 2014-10-15 09:20:04 +01:00
  • 53917ef87f Correcting MPU6500 driver multibyte reads - deasserting CS after read register write was a bad idea. dongie 2014-09-13 22:06:33 +09:00
  • 2c1ffd8f56 Fix initialization period for MPU6500, would cause strange effects if not followed. dongie 2014-09-01 18:04:30 +09:00
  • 3200e93a4d Slight cleanup of MPU6050 driver to use same constants as MPU6500. Both drivers should probably get merged, the operation is nearly identical with only bus access being different. dongie 2014-08-31 13:24:52 +09:00
  • 1e769cc1f2 Initial stab at supporting MPU6500. Make I2C driver fail gracefully when I2C hardware hasn't been initialized (on boards w/o I2C sensors) dongie 2014-08-30 23:57:25 +09:00
  • da51b5c479 Add MPU6500 SPI driver. Move sensor initialisation defines into target specific headers. Dominic Clifton 2014-10-14 00:22:54 +01:00
  • 79c2e5648f Add MSP capability bit so clients can detect Cleanflight and use an appropriate API. Renumber some cleanflight specific MSP commands, Cleanflight will use the range 32-63 for new MSP commands. Dominic Clifton 2014-10-13 22:36:00 +01:00
  • 1257367705 Latest binaries with mode range support. Dominic Clifton 2014-10-13 20:58:20 +01:00
  • 279f85b151 Bump EEPROM version for mode range support. Dominic Clifton 2014-10-13 19:57:28 +01:00
  • 59c55b4a19 Use permenant id for MSP_SET_MODE_RANGE. Dominic Clifton 2014-10-13 01:08:41 +01:00
  • c5280cd9d7 Ensure mode flags are correctly generated after the switch to a bitmask for activated modes. Dominic Clifton 2014-10-13 00:53:41 +01:00
  • 50ba314116 Fix range check problem for first mode range index. Dominic Clifton 2014-10-12 23:43:12 +01:00
  • 77e83eef0c Use permenant mode ids in MSP_MODE_RANGES and MSP_SET_MODE_RANGE. Dominic Clifton 2014-10-12 21:47:39 +01:00
  • 2555858687 Add two new MSP commands to get ALL mode ranges and to set individual mode ranges. Dominic Clifton 2014-10-12 21:22:05 +01:00
  • ca9f183b83 Cleanup some aux range defines and comments. Dominic Clifton 2014-10-12 21:05:34 +01:00
  • cfcd4792bb Determine with an aux range is used to arm. Dominic Clifton 2014-10-12 21:02:45 +01:00
  • 738c807e1d Fix setting of upper limit for mode ranges in cli. Dominic Clifton 2014-10-12 19:49:31 +01:00
  • 0589b29b84 Cleanup table formatting of modes. Dominic Clifton 2014-10-12 19:41:17 +01:00
  • 8ea267694a Updating baseflight migration note regarding aux configuration. Dominic Clifton 2014-10-12 19:33:42 +01:00
  • b0eab0cc9e Update the cli AUX command to take range parameters - see docs/Modes.md Dominic Clifton 2014-10-12 19:32:55 +01:00
  • b43fa247de Handle channel boundaries better. More efficient, less code, easier to understand. Dominic Clifton 2014-10-12 18:31:40 +01:00
  • 2369a63df0 First cut of code that passed the unit tests for mod activations, however it uses / operations and doesn't handle the case where the channel value is on the boundary between two ranges. Dominic Clifton 2014-10-12 18:15:44 +01:00
  • c0fd0c1f33 Replace profile.activate and rcOptions with profile.modeActivationCondition and rcModeActivationMask. Dominic Clifton 2014-10-12 10:38:04 +01:00
  • 9b84516344 FrSky telemetry update Airmamaf 2014-10-08 16:28:26 +02:00
  • 6f4ef82f7d Merge pull request #94 from airmamaf/patch-3 Dominic Clifton 2014-10-07 21:18:23 +01:00
  • 107a3425cf Updating unit test to verify expected values with the new maximum vbatscale value. See #104. Dominic Clifton 2014-10-07 21:10:29 +01:00
  • c2b1420c07 Merge pull request #104 from airmamaf/patch-5 Dominic Clifton 2014-10-07 21:02:21 +01:00
  • e281a99b40 OLIMEXINO - Allow compilation without BARO_PIN. Dominic Clifton 2014-10-07 20:36:55 +01:00
  • 12b00c237f Updating example serial configuration scenarios. Dominic Clifton 2014-10-07 20:36:12 +01:00
  • 3bc9dc7121 Move linker scripts to src/main/target. Dominic Clifton 2014-10-07 07:04:16 +01:00
  • 6beec3c6e9 MASSIVEF3 - Add new target. Dominic Clifton 2014-10-07 06:56:42 +01:00
  • a199685d83 EUSTM32F103RC - Add Barometer pin defines to target.h to fix build. Dominic Clifton 2014-10-07 06:55:46 +01:00
  • be7239ecac NAZE32PRO - Fix compilation problems. Dominic Clifton 2014-10-06 23:35:08 +01:00
  • 043577b8af MS5611 - Remove profanity. Replace comment with code. Improve code size. Improve code readability. Dominic Clifton 2014-10-03 14:38:20 +01:00
  • 720486a4de Update serial_cli.c airmamaf 2014-10-03 09:15:48 +02:00
  • 98f5bdd986 Updating .gitignore to ensure no OSX temporary files gets accidentally committed again. Dominic Clifton 2014-10-02 00:37:50 +01:00
  • 391f211e99 Removing OSX temporary files. Dominic Clifton 2014-10-02 00:37:09 +01:00