Dominic Clifton
6db86da975
Re-instate the original softserial workaround.
...
This will be investigated further after the softserial changes are
merged in.
2014-10-24 08:48:37 +01:00
Dominic Clifton
9f41f9aba4
Merge pull request #128 from Pierre-A/cc3d-updates-1
...
Current monitoring on CC3D
2014-10-24 08:42:57 +01:00
Dominic Clifton
4c2802545f
Merge pull request #133 from ledvinap/feature-nvic
...
Feature nvic
2014-10-24 08:37:49 +01:00
Dominic Clifton
a3af8284dc
Update target identifier for MassiveF3.
...
Target identifiers should 4 characters long.
2014-10-24 08:32:23 +01:00
Dominic Clifton
51574338e8
Merge pull request #132 from ledvinap/bugfix-targets
...
quick fix
2014-10-24 08:30:14 +01:00
Petr Ledvina
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
2014-10-23 16:48:35 +02:00
Petr Ledvina
1604f856b8
Merge branch 'bugfix-targets' into feature-nvic
2014-10-23 16:38:01 +02:00
Petr Ledvina
e58afe9d64
quick fix
...
it is impossible to build some targets. This is quick fix to get it working again
2014-10-23 16:32:16 +02:00
Petr Ledvina
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
2014-10-23 15:08:57 +02:00
Pierre-A
d0ec471d03
Current monitoring on CC3D
2014-10-21 20:30:40 +02:00
Dominic Clifton
fd32ad6fcb
Use correct buffer size variable when checking for softserial waiting
...
bytes. Fixes #127 .
2014-10-21 13:41:51 +01:00
Dominic Clifton
cbd1817f6c
Workaround for HoTT and softserial.
2014-10-20 23:14:30 +01:00
Dominic Clifton
2d8f65448d
Cleanup Softserial/LedStrip timer clash checking. Move definitions of
...
led strip timer and softserial pwm ports/timers into target specific
files.
2014-10-20 21:44:55 +01:00
Dominic Clifton
f9f6b05aac
Fix opening softserial ports - missed a #ifdef check.
2014-10-20 20:13:30 +01:00
Dominic Clifton
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.
2014-10-20 19:34:10 +01:00
Dominic Clifton
b08f51d88c
Undo changes from 20c4dae7c2
/ hott.c
...
until a proper fix is found.
2014-10-20 18:54:30 +01:00
Pierre-A
20c4dae7c2
SoftSerial port for CC3D
2014-10-19 11:20:55 +02:00
Dominic Clifton
63236d5a2a
Fixed bug where channel mapping was incorrect when using GPS and RX
...
Parallel PWM on STM32F10X targets. Fixes #80 .
The check to see if usart2 should always be done. The PWM mapping code
decides on a per-target base if possible pwm input channels need to be
skipped due to pin usage clashes.
2014-10-18 18:16:58 +01:00
Dominic Clifton
a3aad91f76
Bump EEPROM version (for #108 ).
2014-10-18 16:38:40 +01:00
Dominic Clifton
e0495343de
Updating credits for FrSky telemetry.
2014-10-18 16:03:37 +01:00
Dominic Clifton
1b47d3cbae
Clean up pull request #108 from @Airmamaf.
2014-10-18 15:52:04 +01:00
Dominic Clifton
1c501272ab
Merge branch 'airmamaf' of github.com:airmamaf/cleanflight into airmamaf-airmamaf
2014-10-18 15:06:42 +01:00
Dominic Clifton
50971667d9
Fix a couple of typos in MSP guidelines.
2014-10-17 22:46:07 +01:00
Dominic Clifton
596d798732
Add MSP_API_VERSION command. Added MSP development guidelines. Define
...
board identifiers for all cleanflight targets.
2014-10-17 22:34:15 +01:00
Dominic Clifton
4f96e3c20e
Disable MPU6500 on EUSTM32F103RC because the driver autodection is not
...
implemented yet. See #119 .
2014-10-17 01:35:46 +01:00
Dominic Clifton
6f3aa6fb86
Add extra MSP commands to allow settings to be made via a GUI in
...
addition to setting via the CLI.
Note: MSP_CONFIG from baseflight
bc68d89983d762d35cc1cf5e3fa0c2cf03287b70 will not be supported because
more specific commands exist in cleanflight.
MSP_MISC and MSP_CONFIG are good examples of single responsibility
violations.
2014-10-17 01:33:47 +01:00
Dominic Clifton
38dbe897d9
Reduce RAM usage of mpu6050 initialisation.
2014-10-16 01:10:23 +01:00
Dominic Clifton
f5895b762f
NAZE32_SP - Enable MPU6500 driver.
2014-10-16 00:57:44 +01:00
Dominic Clifton
8f9a553a9e
Use Naze hardware revision when initialising mma845. Cleanup ADXL345
...
initialisation.
2014-10-16 00:56:02 +01:00
Dominic Clifton
50391f2c8e
Use Naze hardware revision when initialising beeper. Cleanup inverted
...
beeper configuration.
2014-10-16 00:44:56 +01:00
Dominic Clifton
2ed09b0b2f
Use Naze hardware revision when initialising bmp085. Cleanup bmp085
...
GPIO configuration for all targets.
2014-10-16 00:13:09 +01:00
Dominic Clifton
79917da85a
Use Naze hardware revision when initialising mpu6050. The driver is not
...
not naze specific anymore.
2014-10-15 23:10:18 +01:00
Dominic Clifton
cf643b98c8
Use Naze hardware revision when initialising hmc5883. The driver is not
...
not naze specific anymore.
2014-10-15 22:42:07 +01:00
Dominic Clifton
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.
2014-10-15 21:16:52 +01:00
Dominic Clifton
a4879cc2e3
Use Naze hardware revision when initialising ADC.
2014-10-15 21:14:49 +01:00
Dominic Clifton
8ef70abaa0
NAZE32 - Add hardware revision detection.
2014-10-15 20:59:06 +01:00
Dominic Clifton
da51b5c479
Add MPU6500 SPI driver. Move sensor initialisation defines into target
...
specific headers.
2014-10-14 00:22:54 +01:00
Dominic Clifton
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.
2014-10-13 22:36:00 +01:00
Dominic Clifton
279f85b151
Bump EEPROM version for mode range support.
2014-10-13 19:57:28 +01:00
Dominic Clifton
59c55b4a19
Use permenant id for MSP_SET_MODE_RANGE.
2014-10-13 01:08:41 +01:00
Dominic Clifton
c5280cd9d7
Ensure mode flags are correctly generated after the switch to a bitmask
...
for activated modes.
2014-10-13 00:53:41 +01:00
Dominic Clifton
50ba314116
Fix range check problem for first mode range index.
2014-10-12 23:43:12 +01:00
Dominic Clifton
77e83eef0c
Use permenant mode ids in MSP_MODE_RANGES and MSP_SET_MODE_RANGE.
2014-10-12 21:47:39 +01:00
Dominic Clifton
2555858687
Add two new MSP commands to get ALL mode ranges and to set individual
...
mode ranges.
2014-10-12 21:22:05 +01:00
Dominic Clifton
ca9f183b83
Cleanup some aux range defines and comments.
2014-10-12 21:05:34 +01:00
Dominic Clifton
cfcd4792bb
Determine with an aux range is used to arm.
2014-10-12 21:02:45 +01:00
Dominic Clifton
738c807e1d
Fix setting of upper limit for mode ranges in cli.
2014-10-12 19:49:31 +01:00
Dominic Clifton
b0eab0cc9e
Update the cli AUX command to take range parameters - see docs/Modes.md
2014-10-12 19:32:55 +01:00
Dominic Clifton
b43fa247de
Handle channel boundaries better.
...
More efficient, less code, easier to understand.
2014-10-12 18:31:59 +01:00
Dominic Clifton
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.
2014-10-12 18:15:44 +01:00