summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
| | | |
* | | | Ramtron compile fixLorenz Meier2014-01-161-1/+1
| | | |
* | | | Range checking on clock argument for RAMTRON set speed IOCTLLorenz Meier2014-01-161-4/+11
| | | |
* | | | mtd: added MTDIOC_SETSPEED ioctlAndrew Tridgell2014-01-162-20/+23
| | | | | | | | | | | | | | | | allows setting of SPI bus speed
* | | | mtd: added timeouts to at24xx eeprom driverAndrew Tridgell2014-01-161-2/+13
| | | |
* | | | ramtron: the driver has been tested nowAndrew Tridgell2014-01-161-1/+1
| | | |
* | | | ramtron: give errors for IO operations immediatelyAndrew Tridgell2014-01-161-24/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | waiting for write completion and checking the status register on read will improve the chance that we catch IO errors immediately rather than on the next IO. This improves the chance that callers will be able to take reasonable action on IO errors. We have one example board that does give intermittent IO errors, and this change helps for that board
* | | | Abort after N retries, propagate error throughout driver layersLorenz Meier2014-01-151-11/+37
| |/ / |/| |
* | | FAT: fixed start cluster of .. directory entryAndrew Tridgell2014-01-141-1/+5
| | | | | | | | | | | | this should be 0 on FAT32 as well (tested on Windows8 and Linux)
* | | FAT: cope with files of size equal to multiple of cluster sizeAndrew Tridgell2014-01-141-2/+2
|/ / | | | | | | when the file size is 4096 we should use 1 cluster, not two
* | Merge branch 'master' of github.com:PX4/NuttXLorenz Meier2013-12-171-1/+1
|\ \
| * | Minor adjustment to make CLANG assembler happyLorenz Meier2013-12-101-1/+1
| | |
* | | Fixed location of DMA console reinitializationLorenz Meier2013-12-171-3/+2
|/ /
* / Fixes for sim for CLANGLorenz Meier2013-12-092-6/+494
|/
* Merge pull request #7 from DrTon/strncpy_fixLorenz Meier2013-10-231-0/+1
|\ | | | | strncpy bug fix
| * strncpy bug fixed: fill tail of dest with zeroes if src size < nAnton Babushkin2013-10-231-0/+1
|/
* sdio: fixed SDIO_DMAPREFLIGHT() macro to return fault codeAndrew Tridgell2013-10-101-3/+2
| | | | the logical && was swallowing the -EFAULT return
* Fix a typo that disconnected the DMA range validation checker from the ↵px4dev2013-09-291-1/+1
| | | | | | actual DMA path. Now SDIO DMA ranges are properly checked, and filesystem operations are correctly bounced when they cannot be DMA'ed.
* Also consider negative values to be valid, and while we are at it add ↵Lorenz Meier2013-09-221-2/+9
| | | | support for the full valid C99 number symbol range plus the binary numbers NuttX supports
* Also consider negative values to be validLorenz Meier2013-09-221-2/+5
|
* Cover a range of sscanf() corner cases, including %n not being the last ↵Lorenz Meier2013-09-221-17/+82
| | | | format specifier and trailing characters after a successful number pattern. Behaves mostly now as the POSIX variant, with all tested non-error cases being exactly the same. In particular for %n the number of returned characters now matches correctly in presence of trailing whitespace.
* Merge branch 'master' of github.com:PX4/NuttXLorenz Meier2013-09-2110-100/+524
|\
| * Missed de-optioning the DMA preflight check.px4dev2013-09-111-2/+0
| |
| * Add an explicit preflight call for SDIO DMA operations, since we can't error ↵px4dev2013-09-083-29/+138
| | | | | | | | out of the DMA setup (the card is already committed at that point).
| * Fix DMA channel definitions for UART7/8px4dev2013-09-011-4/+4
| |