Corrected pinmaps for stm32f40xxx processor
Merge https://github.com/PX4/NuttX
FAT: move cluster expansion checks to start of IO loops

this fixes a filesystem corruption bug at cluster boundaries. Thanks
to tkloss for reporting the issue.

Fixes issue #12
stm32_i2c: ensure that unexpected ISR can't overwrite stale data

if we get an ISR leftover from a previous read transfer it could use
stale values for priv->dcnt and priv->ptr to overwrite stack that is
no longer in scope. This resets dcnt and ptr on each new
stm32_i2c_process() call to ensure that any unexpected data bytes are
discarded
Fixed include guard in cstdio. Broken include guard was preventing cstdio to compile if cctype was included first (and vice versa); as a result, the code that needed both cctype and cstdio was failing to compile.
Merge pull request #14 from pavel-kirienko/cstdio_guard_fix

Fixed include guard in cstdio
Declared log2l() in ARM math.h
Merge pull request #16 from pavel-kirienko/arm_math_log2l

Declared log2l() in ARM math.h
Merge pull request #8 from sarthakkaingade/master

Corrected pinmaps for stm32f40xxx processor
Revert "stm32_i2c: ensure that unexpected ISR can't overwrite stale data"

This reverts commit 099b2017ccfa0fc7696f168db2a0c2e13fe5edbc.

This is only a temporary measure to gain the time to apply a more complete fix without side effects.
include/cxx: Fix some bad idempotence defintions in header files
Disable -Wshadow warnings for system headers - alternatively we could use #pragma GCC system_header in those
stm32: add sw workaround for broken stm32 hw RTS implementation

adds support for manually asserting nRTS when the OS buffer is nearly full
and deasserting it when it has room again.

This makes the RTS pin actually work in a useful way (the stm32 hw
implementation is broken - it asserts nRTS as soon as more than one
character is received).

We assert nRTS from inside of up_recvchars.  For deassertion we needed
a new callback from the general serial device layer when characters
have been dequed.  onrxdeque was added to uart_ops_s for this purpose and
implemented (currently) only on the stm32.
mtd driver: add missing SPI header
Fix for sed "permission denied" error in Windows build

Cygwin sed in-place edit (option -i) broken, will mess up permissions.
Changed to work without in-place edit.
Merge pull request #18 from Kynos/master

Fix for sed "permission denied" error in Windows build