Initial support for CJMCU target (work-in-progress, compiles but doesn't link yet)
Merge branch 'master' into cjmcu
CJMCU - Allow various features to be compiled out to support.
NAZE - Make beeper hack Naze specific now that it's clear why the code
existed.
Delete remaining LED Ring code.  Please use generic WS2812 LEDs instead.
CJMCU - Add compass driver. Update I2C configuration. Use PPM and
Brushed motors by default.
Show sizes after build.
Allow autotune to be compiled in/out.
Update led strip compile in/out.
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
OLIMEXINO - Use I2C2.
add current sensor support to frsky telemetry

this lets the naze emulate the FAS100 current sensor and also transmits
the internally calculated mAh drawn via the fuel level data.

Conflicts:
	src/main/telemetry/frsky.c

Conflicts:
	src/main/telemetry/frsky.c
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>
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>
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>
Update makefile so it builds with DEBUG=GDB without _sbrk linker error.
Enable additional warnings.

Later commits will fix warnings.
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.
OLIMEXINO - Fix build when LEDs not used.
Fix merge of a753661c23c428ede8c2b72e95d3e31f6c8b894e when building for
targets that use telemetry.
Makefile: add -lc to make debug build with -nostartfiles happy

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