Commit Graph

142 Commits

Author SHA1 Message Date
Dominic Clifton 1c8416db2c GPS - handle data loss occurs in the start of a UBLOX frame 2014-12-13 01:42:35 +00:00
Dominic Clifton 6c96b8dd86 Support the Sparky board by peabody124 - work in progress, not flight
ready.

https://github.com/TauLabs/TauLabs/wiki/Sparky

http://buildandcrash.blogspot.co.uk/2013/05/sparky-testing-and-building-no-crashing.html
2014-12-09 03:12:38 +00:00
Petr Ledvina 4157cf5315 Fix double constatns
some constants were double, M_PI was sometimes inherided as double

added -Wdouble-promotion to makefile warnings
2014-11-20 08:31:35 +01:00
Frank Zhao 0000d3e65e added smartport telemetry
Conflicts:

	src/main/telemetry/telemetry.h
2014-11-12 00:11:13 +00:00
Petr Ledvina 3ee60ef857 Merge remote-tracking branch 'refs/remotes/upstream/master' into feature-timer 2014-11-11 12:50:11 +01:00
Dominic Clifton d0f622bb81 PORT103R - Initial support for the Waveshare Port 103R development
board.
2014-11-10 00:53:48 +01:00
Petr Ledvina 98c0d0b5dd Code cleanup / fixed missing TIM8_UP handler 2014-11-08 15:25:16 +01:00
Petr Ledvina aa7f5c4a1e New timer implementation
This is first part of new softserial code. Main timer code is changed, changes to rest of code are kept to minimum.

macros for BASEPRI based synchronization are added to project (atomic.h)

TIMER_PERIOD fixed in pwm_rx.c
2014-11-07 15:38:26 +01:00
Dominic Clifton 1f54424cb0 Ignore system dependencies. Fixes #140 2014-10-26 10:01:51 +00:00
Petr Ledvina 091941cd82 Makefile improvement
- root must be assigned when declared - with :=
- add autodependecy generation
2014-10-23 14:10:45 +02: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 3bc9dc7121 Move linker scripts to src/main/target. 2014-10-07 07:06:05 +01:00
Dominic Clifton 6beec3c6e9 MASSIVEF3 - Add new target. 2014-10-07 06:57:28 +01:00
Dominic Clifton acbede5492 CC3D - Allow building of a binary that is compatible with the OpenPilot
CC3D bootloader to allow easy switching between OpenPilot and
Cleanflight.

Submitted by Alessio Morale -
http://forums.openpilot.org/topic/43569-baseflightcleanflight-ported-to-cc3d/?p=372149
2014-09-26 14:10:12 +01:00
Dominic Clifton 35280abfed Allow disabling of I2C for targets that do not use it. 2014-09-26 01:32:57 +01:00
Dominic Clifton a5d57e7b87 STM32F3 - Cleanup serial port usage. 2014-09-26 01:02:27 +01:00
Dominic Clifton c898ca4634 OLED Display - Add two pages: RX info and Welcome.
The RX info page shows channel letters and bar graphs for the first 8
channels.
The Welcome page shows the target and cleanflight git revision.
2014-09-21 05:09:01 +01:00
Dominic Clifton a4c21b5e57 SUMH - Initial cut of support for Graupner SUMH Serial RX protocol. 2014-09-20 09:39:42 +01:00
Dominic Clifton 0b4f5804bc Update led strip code to use HSV instead of RGB. 2014-09-18 20:53:28 +01:00
goebish 9f18ad474b fix typo preventing rebuild 2014-09-16 13:46:27 +02:00
Dominic Clifton 2e959dfd04 Make display support configurable per-target, enabled by default for
NAZE and EUSTM32F103RC.
2014-09-12 21:56:33 +01:00
Dominic Clifton f29168a998 Working OLED in test mode. 2014-09-12 21:56:33 +01:00
Dominic Clifton 9ce6dde1e7 Work-in-progress. 2014-09-12 21:56:33 +01:00
Dominic Clifton 2ae62d1977 Add git commit number to cli version command output. 2014-09-04 00:27:28 +01:00
Dominic Clifton 3d382ea4c7 EUSTM32F103RC - First cut of support for this High-Density STM32F103
series development board.

These boards can be picked up for less than $11, coupled with a 10DOF
sensor board they make a great development platform or cheap expandable
FC.

Pretty much all pins are available to be used, unlike on the less
capable and more expensive OLIMEXINO.
2014-09-03 01:38:27 +01:00
Dominic Clifton 59cddb21b4 Enable Serial RX on CJMCU target. 2014-08-26 23:25:14 +01:00
Dominic Clifton f1af9d434f Removing cruft from makefile that was accidentally committed when
working on the CJMCU target.
2014-08-22 19:19:20 +01:00
Dominic Clifton aa719dfe4f CJMCU - Use 64k/128k flash specific linker scripts scripts 2014-08-18 21:04:35 +01:00
Dominic Clifton d0338eac19 Cleanup sonar support for Naze/Flip32/Olimexino. Add Sonar
documentation.
2014-08-13 22:01:39 +01:00
Dominic Clifton 9906294cd8 Split navigation functionality from io/gps.c into flight/navigation.c.
gps.c now only has code that deals with gps hardware, state and
messaging.
navigation.c  now only has code dealing with flight
navigation/waypoints/home/hold/etc
2014-08-07 14:23:05 +01:00
Dominic Clifton 8c3a869251 Update CLI so that you can dump all, master or profile settings.
Cleanup '...' strings to reduce binary size.  Change version
information.

With this change it's much more obvious what is and what is not included
in a profile.

Examples:

dump
dump profile
dump master
2014-08-02 12:39:18 +01:00
Dominic Clifton 582503c0e6 Delete unused pwm rssi code - rssi adc is used instead since the rate
used (8khz) by some frsky receivers is too fast to be detected using the
pwm rssi code without bogging down the cpu in interrupt handlers.
2014-08-02 01:38:09 +01:00
Dominic Clifton 25ede3e6e0 Fix PWM in RSSI - accidentally excluded when adding CJMCU support. 2014-08-02 00:43:06 +01:00
Dominic Clifton 4d9a672d9c CC3D / NAZE - Adding support for hardware controlled inverter for use by
SBUS RX.
2014-08-02 00:43:06 +01:00
Dominic Clifton 94784dfa04 STM32F30x - Update compiler flags. Disable -pedantic on F30x targets
due to the hundreds of warning the CMSIS library generates when it is
enabled.
2014-08-01 22:06:39 +01:00
Dominic Clifton 2d6a61c8c7 Remove -Wshadow, the warnings are not useful.
See https://lkml.org/lkml/2006/11/28/253
2014-08-01 19:58:39 +01:00
Dominic Clifton 61bdc2ad5d Fixed problem with debug build and _sbrk, caused by missing -lc linker
option.

Re-ordered some makefile statements to be in-line with baseflight for
easier merging.
2014-08-01 18:39:47 +01:00
Dominic Clifton b96d1ae71d Update makefile so it builds with DEBUG=GDB without _sbrk linker error.
Enable additional warnings.

Later commits will fix warnings.
2014-08-01 14:12:39 +01:00
Paul Fertser 900f872058 Makefile: switch to newlib-nano
This makes the binary considerably smaller (73852 text with gcc
4.7.3, 71620 text with gcc 4.9.0 from TNT).

Build-tested only.

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2014-08-01 12:29:00 +01:00
Paul Fertser 941b42a269 Makefile: link with -nostartfiles
This saves a bit more space and a reasonable thing to do since a
custom startup is used anyway.

Build-tested only.

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2014-08-01 12:28:55 +01:00
Paul Fertser 76f4f31cf3 Make code warnings-free with -pedantic
This removes a function that's no longer used, and inline specifiers
from include file (where they're useless anyway). This makes the whole
default project warnings-free with -Wall -pedantic.

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2014-08-01 12:28:44 +01:00
Paul Fertser f218d3c040 Makefile: enable LTO
This rearranges Makefile a bit and enables Link Time Optimisation
which leads to a smaller code (77724 text with gcc 4.7.3).

Unconditionally adding -ggdb3 doesn't affect code size anyhow as all
the debugging info is stored in separate sections.

Build-tested only.

Signed-off-by: Paul Fertser <fercerpav@gmail.com>

Conflicts:

	Makefile
2014-08-01 01:25:16 +01:00
Dominic Clifton 326a10b1dc Allow autotune to be compiled in/out. 2014-08-01 01:14:23 +01:00
Dominic Clifton a6f4633272 Show sizes after build. 2014-08-01 01:07:06 +01:00
Dominic Clifton 1d5ef51373 CJMCU - Add compass driver. Update I2C configuration. Use PPM and
Brushed motors by default.
2014-08-01 00:56:28 +01:00
Dominic Clifton 125f6d1450 CJMCU - Allow various features to be compiled out to support. 2014-08-01 00:18:37 +01:00
Dominic Clifton 8f473f9b20 Initial support for CJMCU target (work-in-progress, compiles but doesn't link yet) 2014-07-31 14:01:01 +01:00
Dominic Clifton 5f16cfb72a CC3D - Support MPU6000 Gyro/Acc and SPI 1/2. 2014-07-17 22:12:21 +01:00
Dominic Clifton 1fb75890d5 Initial OpenPilot CC3D commit. 2014-07-16 01:06:09 +01:00