Fixed several instances where code was running inside a Q_ASSERT, which
led to the code not being compiled when the package is compiled as RELEASE
instead of DEBUG.
all targets: disable FreeRTOS queue registration
It is not being used anywhere and disabling it frees 54 bytes of bss
all targets: disable FreeRTOS timers
The timers have not been used. Maybe we have to enable this again
in the future. For now this saves 272 bytes of heap.
revomini: disable FreeRTOS queue registration
It is not being used anywhere and disabling it frees 54 bytes of bss
f3 linkerscript: move irqstack to CCSRAM, add .fastheap
bootloaders: permit irqstack to reside in CCSRAM
f4 linkerscript: move irqstack to CCSRAM, add .fastheap
linker scripts: stop the tab madness
A lot of linker scripts mixed up usage of space and tab. This
commit fixes that.
f4 linkerscript: moved irqstack back to SRAM
Moving the irqstack to CCSRAM requires a bootloader update.
As there is no bootloader updater for f4 yet, this change
is being deferred. F3 is not affected by this problem
as debug interface for bootloader update is builtin.
linker scripts: stop indentation madness
All linker scripts had partially wrong indentation which has
been copied over and over again. This is now fixed.
discoveryf4: added missing header to enable DEMCR and DWT
flyingf3: reduce init task stack size by 512 bytes
This leaves 80 bytes of stack free.
flyingf3: remove comment which doesn't apply anymore
flyingf3: disable telemetry pri queue, lower queue size
The priority queue seems not to be necessary. Disabling it
to free more memory. Also lowered the telemetry queue size
from 80 to 20 elements like its being used on CopterControl
for a long time without problems.
flyingf3: raised telemetry queue size as well as stack size
Queue size of 20 is not enough, Stack size of 512 is not enough either.
all targets: reduce FreeRTOS minimal stack size to 48 words
This is enough for CopterControl so it should work for all
other targets as well. The following tasks are affected:

IdleTask
TimerTask
FaultTask
EventTask

This should free 7424 bytes of heap.
flyingf3: set the stack of EventTask to 130 words
Revert "all targets: reduce FreeRTOS minimal stack size to 48 words"

This reverts commit a9943501f4d237c8f996171e8b0cbc287f9bd0b8.
flyingf3: reduce FreeRTOS minimal stack size to 48 words
This is enough for CopterControl so it should work for all
other targets as well. The following tasks are affected:

IdleTask
TimerTask
FaultTask
EventTask

This should free 7424 bytes of heap.
Calibration: In each of the 6 positions store the average gyro value as well
the influence of linear acceleration on the gyros.

For now just output the results to the command line.