Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | stm32_i2c: ensure that unexpected ISR can't overwrite stale data | Andrew Tridgell | 2014-04-28 | 1 | -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 loops | Andrew Tridgell | 2014-03-04 | 1 | -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 code | Andrew Tridgell | 2014-02-10 | 1 | -20/+20 | |
| | | | | | | | | this fixes flow control on pixhawk | |||||
* | | typo, wide branch should be narrow | none | 2014-01-25 | 1 | -1/+1 | |
| | | ||||||
* | | Assembler changes with the gcc-47 distribution from ARM mean that we need to ↵ | none | 2014-01-22 | 1 | -16/+16 | |
| | | | | | | | | be explicit about branch sizes; one or more of the wide branch opcodes results in bad table branching. | |||||
* | | Merge pull request #9 from PX4/STM32F1_singlewire_uart | Lorenz Meier | 2014-01-21 | 1 | -0/+13 | |
|\ \ | | | | | | | STM32F10xxx single wire usart support | |||||
| * | | small whitespace correction | Thomas Gubler | 2014-01-02 | 1 | -1/+2 | |
| | | | ||||||
| * | | STM32F10xxx single wire usart support | Thomas Gubler | 2014-01-02 | 1 | -2/+14 | |
| | | | ||||||
* | | | More compile fixes for RAMTRON device | Lorenz Meier | 2014-01-16 | 1 | -0/+1 | |
| | | | ||||||
* | | | Ramtron compile fix | Lorenz Meier | 2014-01-16 | 1 | -1/+1 | |
| | | | ||||||
* | | | Range checking on clock argument for RAMTRON set speed IOCTL | Lorenz Meier | 2014-01-16 | 1 | -4/+11 | |
| | | | ||||||
* | | | mtd: added MTDIOC_SETSPEED ioctl | Andrew Tridgell | 2014-01-16 | 2 | -20/+23 | |
| | | | | | | | | | | | | allows setting of SPI bus speed | |||||
* | | | mtd: added timeouts to at24xx eeprom driver | Andrew Tridgell | 2014-01-16 | 1 | -2/+13 | |
| | | | ||||||
* | | | ramtron: the driver has been tested now | Andrew Tridgell | 2014-01-16 | 1 | -1/+1 | |
| | | | ||||||
* | | | ramtron: give errors for IO operations immediately | Andrew Tridgell | 2014-01-16 | 1 | -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 layers | Lorenz Meier | 2014-01-15 | 1 | -11/+37 | |
| | | | ||||||
* | | | FAT: fixed start cluster of .. directory entry | Andrew Tridgell | 2014-01-14 | 1 | -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 size | Andrew Tridgell | 2014-01-14 | 1 | -2/+2 | |
|/ / | | | | | | | when the file size is 4096 we should use 1 cluster, not two | |||||
* | | Merge branch 'master' of github.com:PX4/NuttX | Lorenz Meier | 2013-12-17 | 1 | -1/+1 | |
|\ \ | ||||||
| * | | Minor adjustment to make CLANG assembler happy | Lorenz Meier | 2013-12-10 | 1 | -1/+1 | |
| | | | ||||||
* | | | Fixed location of DMA console reinitialization | Lorenz Meier | 2013-12-17 | 1 | -3/+2 | |
|/ / | ||||||
* / | Fixes for sim for CLANG | Lorenz Meier | 2013-12-09 | 2 | -6/+494 | |
|/ | ||||||
* | strncpy bug fixed: fill tail of dest with zeroes if src size < n | Anton Babushkin | 2013-10-23 | 1 | -0/+1 | |
| | ||||||
* | sdio: fixed SDIO_DMAPREFLIGHT() macro to return fault code | Andrew Tridgell | 2013-10-10 | 1 | -3/+2 | |
| | | | | the logical && was swallowing the -EFAULT return | |||||
* | Fix a typo that disconnected the DMA range validation checker from the ↵ | px4dev | 2013-09-29 | 1 | -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 Meier | 2013-09-22 | 1 | -2/+9 | |
| | | | | support for the full valid C99 number symbol range plus the binary numbers NuttX supports | |||||
* | Also consider negative values to be valid | Lorenz Meier | 2013-09-22 | 1 | -2/+5 | |
| | ||||||
* | Cover a range of sscanf() corner cases, including %n not being the last ↵ | Lorenz Meier | 2013-09-22 | 1 | -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/NuttX | Lorenz Meier | 2013-09-21 | 10 | -100/+524 | |
|\ | ||||||
| * | Missed de-optioning the DMA preflight check. | px4dev | 2013-09-11 | 1 | -2/+0 | |
| | | ||||||
| * | Add an explicit preflight call for SDIO DMA operations, since we can't error ↵ | px4dev | 2013-09-08 | 3 | -29/+138 | |
| | | | | | | | | out of the DMA setup (the card is already committed at that point). | |||||
| * | Fix DMA channel definitions for UART7/8 | px4dev | 2013-09-01 | 1 | -4/+4 | |
| | | ||||||
| * | Teach the FAT filesystem how to deal with I/Os that can't be handled due to ↵ | px4dev | 2013-09-01 | 1 | -27/+71 | |
| | | | | | | | | DMA non-conformability. | |||||
| * | Teach the MMC layer to handle errors reported during DMA setup. | px4dev | 2013-09-01 | 1 | -4/+24 | |
| | | ||||||
| * | Teach the STM32 SDIO driver how to determine whether a transfer can be ↵ | px4dev | 2013-09-01 | 1 | -47/+61 | |
| | | | | | | | | performed safely using DMA. | |||||
| * | Fix the Kconfig configuration for the STM32 SDIO DMA priority option. | px4dev | 2013-09-01 | 1 | -0/+8 | |
| | | ||||||
| * | Enhance the stm32_dmacapable implementation to give correct answers. | px4dev | 2013-09-01 | 4 | -10/+241 | |
| | | ||||||
* | | Fixed two sscanf() issues: 1) sscanf() always reported as result value the ↵ | Lorenz Meier | 2013-09-21 | 1 | -16/+42 | |
|/ | | | | number of wanted arguments, even if it was not able to get all of them. 2) sscanf() would return conversion success for the last argument even if the last character is a space symbol | |||||
* | Fix STM32 UART7/8 kconfig names and UART DMA dependencies. | px4dev | 2013-09-01 | 1 | -34/+34 | |
| | ||||||
* | Fix handling of filenames > 15 characters in ROMFS. | px4dev | 2013-08-25 | 1 | -1/+1 | |
| | ||||||
* | Merge pull request #4 from PX4/kconfig-cleanup | Lorenz Meier | 2013-08-14 | 1 | -19/+0 | |
|\ | | | | | Pull more PX4-specific code from the NuttX tree. | |||||
| * | Pull more PX4-specific code from the NuttX tree. | px4dev | 2013-08-12 | 1 | -19/+0 | |
| | | ||||||
* | | cdcacm: fixed SELFPOWERED and REMOTEWAKEUP bits in USB attributes | Andrew Tridgell | 2013-08-14 | 1 | -2/+2 | |
|/ | | | | | | the ifndef checks should be ifdef. This was causing the wrong attributes on USB, which could limit available power on some host systems | |||||
* | STM32 BxCAN filter registers are only accessible via the CAN1 register ↵ | px4dev | 2013-08-11 | 2 | -39/+72 | |
| | | | | block; teach the code how to get at them. | |||||
* | Add CAN configuration to STM32 config menu | Gregory Nutt | 2013-08-11 | 1 | -1/+15 | |
| | ||||||
* | Merged MMCSD single read fix from Greg, without change log | Gregory Nutt | 2013-08-11 | 1 | -32/+46 | |
| | ||||||
* | USB tracing fix, contributed by Jean M. Cyr | Lorenz Meier | 2013-08-04 | 1 | -16/+15 | |
| | ||||||
* | Math header fix, contributed by Jean M. Cyr | Lorenz Meier | 2013-08-04 | 1 | -2/+2 | |
| | ||||||
* | All PX4 configs move out into the PX4 tree proper | px4dev | 2013-08-02 | 34 | -6236/+0 | |
| | ||||||
* | Revert "px4fmu-v1: disable RXDMA on USART1" | px4dev | 2013-08-02 | 1 | -1/+1 | |
| | | | | This reverts commit 53a86709353fa67c32258f405060313f18588cc8. |