summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Added WIP F102 support for the MAvstationkbrtny2014-11-264-1/+307
|
* Fixing md5 hashing when digest[$i] lower that 16. Sergey <sectus@mail.ru>Gregory Nutt2014-11-231-1/+1
|
* ARM math.h: Remove commented out code partsLorenz Meier2014-11-151-28/+0
|
* Merge pull request #24 from tridge/pullrequest-sscanf-hangLorenz Meier2014-11-111-0/+4
|\ | | | | lib_sscanf: fixed a hang in scanf() on end of string
| * lib_sscanf: fixed a hang in scanf() on end of stringAndrew Tridgell2014-11-061-0/+4
|/ | | | | if we reach end of buffer when we are not on a format specifier then the code would loop forever.
* Cleanup of docs / commentsLorenz Meier2014-11-021-7/+5
|
* Force a hardfault on stack overflows to make the fault condition obvious ↵Lorenz Meier2014-11-021-2/+20
| | | | once it occurs
* Merge pull request #23 from tridge/pullrequest-i2c-lockup-fixLorenz Meier2014-10-281-0/+28
|\ | | | | stm32_i2c: handle more error conditions on I2C bus
| * stm32_i2c: handle more error conditions on I2C busAndrew Tridgell2014-10-281-0/+28
|/ | | | | | | this fixes a I2C ISR storm condition where status=0x70084, which can happen with some specific types of noise on the I2C bus. This was reproduced by playing 80s rock through a Jabra wireless headset close to the I2C cables.
* Merge pull request #21 from PX4/irqprioLorenz Meier2014-08-224-0/+8
|\ | | | | Add "#ifdef CONFIG_ARCH_IRQPRIO" where needed
| * Add "#ifdef CONFIG_ARCH_IRQPRIO" where neededAnton Babushkin2014-08-144-0/+8
|/
* STM32: Handle setting of USART CR1_M when 8 bits of data plus parityGregory Nutt2014-07-231-19/+27
|
* stm32_i2c: handle more unexpected ISR conditionsAndrew Tridgell2014-07-121-1/+11
| | | | | | | | this clears the interrupt for more unexpected ISR conditions that otherwise lead to an ISR storm. When that happens no user threads are able to run as the I2C ISR is continually raised Thanks to Lorenz for help in tracking this down
* stm32_i2c: check for msgc underflow in I2C ISRAndrew Tridgell2014-07-121-17/+24
| | | | | | a spurious I2C interrupt could cause priv->msgc to underflow, leading to memory being overwritten. This seems to have been the cause of at least some of lockups we have seen
* stm32_i2c: ensure we don't change priv-> after semaphore is releasedAndrew Tridgell2014-07-121-1/+2
| | | | | | | this prevents a race condition where a subsequent I2C transfer could be lost Many thanks to hxxnrx@gmail.com for reporting this bug
* stm32_i2c: fixed timeout handlingAndrew Tridgell2014-07-121-2/+2
| | | | thanks to hxxnrx@gmail.com for noticing this
* Revert "Revert "stm32_i2c: ensure that unexpected ISR can't overwrite stale ↵Lorenz Meier2014-07-121-1/+10
| | | | | | data"" This reverts commit 7a7a07ed0ec492b3ab9f87467189886a66b2fc1a.
* Fixed FS command IO bufferGregory Nutt2014-07-061-1/+9
|
* Merge pull request #18 from Kynos/masterLorenz Meier2014-05-241-1/+2
|\ | | | | Fix for sed "permission denied" error in Windows build
| * Fix for sed "permission denied" error in Windows buildKynos2014-05-241-1/+2
|/ | | | | Cygwin sed in-place edit (option -i) broken, will mess up permissions. Changed to work without in-place edit.
* mtd driver: add missing SPI headerLorenz Meier2014-05-201-1/+1
|
* stm32: add sw workaround for broken stm32 hw RTS implementationKevin Hester2014-05-203-7/+134
| | | | | | | | | | | | | | 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.
* Disable -Wshadow warnings for system headers - alternatively we could use ↵Lorenz Meier2014-05-164-0/+12
| | | | #pragma GCC system_header in those
* include/cxx: Fix some bad idempotence defintions in header filesLorenz Meier2014-05-161-4/+4
|
* Revert "stm32_i2c: ensure that unexpected ISR can't overwrite stale data"Lorenz Meier2014-05-141-10/+1
| | | | | | This reverts commit 099b2017ccfa0fc7696f168db2a0c2e13fe5edbc. This is only a temporary measure to gain the time to apply a more complete fix without side effects.
* Merge pull request #8 from sarthakkaingade/masterLorenz Meier2014-05-071-1/+1
|\ | | | | Corrected pinmaps for stm32f40xxx processor
| * Merge https://github.com/PX4/NuttXSarthak Kaingade2014-02-249-114/+830
| |\
| * | Corrected pinmaps for stm32f40xxx processorSarthak Kaingade2013-10-281-1/+1
| | |
* | | Merge pull request #16 from pavel-kirienko/arm_math_log2lPavel Kirienko2014-05-071-0/+1
|\ \ \ | | | | | | | | Declared log2l() in ARM math.h
| * | | Declared log2l() in ARM math.hPavel Kirienko2014-05-071-0/+1
|/ / /
* | | Merge pull request #14 from pavel-kirienko/cstdio_guard_fixLorenz Meier2014-05-051-3/+3
|\ \ \ | | | | | | | | Fixed include guard in cstdio
| * | | Fixed include guard in cstdio. Broken include guard was preventing cstdio to ↵Pavel Kirienko2014-05-051-3/+3
|/ / / | | | | | | | | | compile if cctype was included first (and vice versa); as a result, the code that needed both cctype and cstdio was failing to compile.
* | | stm32_i2c: ensure that unexpected ISR can't overwrite stale dataAndrew Tridgell2014-04-281-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | 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
* | | FAT: move cluster expansion checks to start of IO loopsAndrew Tridgell2014-03-041-54/+50
| |/ |/| | | | | | | | | | | this fixes a filesystem corruption bug at cluster boundaries. Thanks to tkloss for reporting the issue. Fixes issue #12
* | stm32_serial: fixed spelling of FLOWCONTROL config option in stm32 serial codeAndrew Tridgell2014-02-101-20/+20
| | | | | | | | this fixes flow control on pixhawk
* | typo, wide branch should be narrownone2014-01-251-1/+1
| |
* | Assembler changes with the gcc-47 distribution from ARM mean that we need to ↵none2014-01-221-16/+16
| | | | | | | | be explicit about branch sizes; one or more of the wide branch opcodes results in bad table branching.
* | Merge pull request #10 from PX4/env_expandLorenz Meier2014-01-211-19/+180
|\ \ | | | | | | nsh env variables expanding
| * \ Merge branch 'master' into env_expandAnton Babushkin2014-01-173-47/+98
| |\ \
| * \ \ Merge branch 'master' into env_expandAnton Babushkin2014-01-141-3/+7
| |\ \ \
| * | | | nsh: code style fixedAnton Babushkin2014-01-101-121/+139
| | | | |
| * | | | nsh: fixed syntax checking in env variables expandingAnton Babushkin2014-01-101-63/+59
| | | | |
| * | | | nsh: don’t try to expand env variables in nsh_argumentAnton Babushkin2014-01-101-18/+1
| | | | |
| * | | | nsh: env variables expansionAnton Babushkin2014-01-101-0/+164
| | | | |
| * | | | Revert "nsh env variables expanding"Gregory Nutt2014-01-101-50/+5
| | | | | | | | | | | | | | | | | | | | This reverts commit cb7f30317a655f620dfc905069c9066494e99161.
| * | | | nsh env variables expandingAnton Babushkin2014-01-091-5/+50
| | | | |
* | | | | Merge pull request #9 from PX4/STM32F1_singlewire_uartLorenz Meier2014-01-211-0/+13
|\ \ \ \ \ | |_|_|/ / |/| | | | STM32F10xxx single wire usart support
| * | | | small whitespace correctionThomas Gubler2014-01-021-1/+2
| | | | |
| * | | | STM32F10xxx single wire usart supportThomas Gubler2014-01-021-2/+14
| |/ / /
* | | | More compile fixes for RAMTRON deviceLorenz Meier2014-01-161-0/+1
| | | |