Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add "#ifdef CONFIG_ARCH_IRQPRIO" where needed | Anton Babushkin | 2014-08-14 | 4 | -0/+8 |
| | |||||
* | STM32: Handle setting of USART CR1_M when 8 bits of data plus parity | Gregory Nutt | 2014-07-23 | 1 | -19/+27 |
| | |||||
* | stm32_i2c: handle more unexpected ISR conditions | Andrew Tridgell | 2014-07-12 | 1 | -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 ISR | Andrew Tridgell | 2014-07-12 | 1 | -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 released | Andrew Tridgell | 2014-07-12 | 1 | -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 handling | Andrew Tridgell | 2014-07-12 | 1 | -2/+2 |
| | | | | thanks to hxxnrx@gmail.com for noticing this | ||||
* | Revert "Revert "stm32_i2c: ensure that unexpected ISR can't overwrite stale ↵ | Lorenz Meier | 2014-07-12 | 1 | -1/+10 |
| | | | | | | data"" This reverts commit 7a7a07ed0ec492b3ab9f87467189886a66b2fc1a. | ||||
* | stm32: add sw workaround for broken stm32 hw RTS implementation | Kevin Hester | 2014-05-20 | 1 | -5/+97 |
| | | | | | | | | | | | | | | 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. | ||||
* | Revert "stm32_i2c: ensure that unexpected ISR can't overwrite stale data" | Lorenz Meier | 2014-05-14 | 1 | -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/master | Lorenz Meier | 2014-05-07 | 1 | -1/+1 |
|\ | | | | | Corrected pinmaps for stm32f40xxx processor | ||||
| * | Merge https://github.com/PX4/NuttX | Sarthak Kaingade | 2014-02-24 | 2 | -39/+51 |
| |\ | |||||
| * | | Corrected pinmaps for stm32f40xxx processor | Sarthak Kaingade | 2013-10-28 | 1 | -1/+1 |
| | | | |||||
* | | | 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 | ||||
* | | 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. | ||||
* | | small whitespace correction | Thomas Gubler | 2014-01-02 | 1 | -1/+2 |
| | | |||||
* | | STM32F10xxx single wire usart support | Thomas Gubler | 2014-01-02 | 1 | -2/+14 |
| | | |||||
* | | Fixed location of DMA console reinitialization | Lorenz Meier | 2013-12-17 | 1 | -3/+2 |
|/ | |||||
* | 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. | ||||
* | Add an explicit preflight call for SDIO DMA operations, since we can't error ↵ | px4dev | 2013-09-08 | 1 | -29/+46 |
| | | | | 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 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 |
| | |||||
* | Fix STM32 UART7/8 kconfig names and UART DMA dependencies. | px4dev | 2013-09-01 | 1 | -34/+34 |
| | |||||
* | 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 |
| | |||||
* | Fixed serial init for non-reordering case | Lorenz Meier | 2013-07-28 | 1 | -1/+8 |
| | |||||
* | Added option to disable serial port reordering | Lorenz Meier | 2013-07-28 | 2 | -1/+22 |
| | |||||
* | HACK: don't call the card-changed callback with interrupts disabled, as it ↵ | Lorenz Meier | 2013-07-17 | 1 | -1/+2 |
| | | | | means that timeouts don't work. | ||||
* | Merged in upstream, took upstream UART driver without changes, needs ↵ | Lorenz Meier | 2013-06-13 | 68 | -2214/+7483 |
| | | | | re-evaluation (minor diffs to local version) | ||||
* | Merge branch 'hardware_flow_control' into integration | Lorenz Meier | 2013-06-06 | 1 | -43/+125 |
|\ | |||||
| * | Merge branch 'upstream' into hardware_flow_control | Lorenz Meier | 2013-06-06 | 95 | -6737/+12840 |
| |\ | |||||
| * | | Hardware flow control bits | Lorenz Meier | 2013-06-02 | 1 | -43/+125 |
| | | | |||||
* | | | Merge branch 'master' of http://git.code.sf.net/p/nuttx/git into integration | Lorenz Meier | 2013-06-06 | 14 | -139/+2317 |
|\ \ \ | | |/ | |/| | |||||
| * | | Move SAM4L peripheral clock logic to a separate file | Gregory Nutt | 2013-06-05 | 6 | -232/+634 |
| | | | |||||
| * | | Updates to SAM4L clocking. Still not finished | Gregory Nutt | 2013-06-05 | 4 | -57/+362 |
| | | | |||||
| * | | Add power management register defintions and clock control logic for the SAM4L | Gregory Nutt | 2013-06-05 | 4 | -7/+847 |
| | | | |||||
| * | | Add SAM4L FLASHCALW header file | Gregory Nutt | 2013-06-05 | 6 | -17/+363 |
| | | | |||||
| * | | SAM4L GPIO port addressing fixes; SAM4L Xplained LED support; minor ↵ | Gregory Nutt | 2013-06-05 | 2 | -116/+402 |
| | | | | | | | | | | | | documentation updates | ||||
| * | | Add configs/sam4l-xplained/src/up_userleds.c | Gregory Nutt | 2013-06-04 | 1 | -1/+0 |
| | | | |||||
* | | | Cleanup on stack check | Lorenz Meier | 2013-06-05 | 1 | -1/+1 |
| | | | |||||
* | | | Merged upstream NuttX | Lorenz Meier | 2013-06-05 | 31 | -446/+3490 |
|\| | | |||||
| * | | More changes that should have gone with the last commit | Gregory Nutt | 2013-06-04 | 2 | -431/+429 |
| | | | |||||
| * | | Add SAM4L GPIO driver | Gregory Nutt | 2013-06-04 | 5 | -41/+606 |
| | | | |||||
| * | | Create SAM4L GPIO driver header file | Gregory Nutt | 2013-06-04 | 4 | -110/+563 |
| | | | |||||
| * | | Add SAM4L (and 4S) GPIO register definitions | Gregory Nutt | 2013-06-04 | 6 | -266/+1067 |
| | | | |||||
| * | | If CONFIG_STM32_DMACAPABLE is defined, use stm32_dmacapable to workaround ↵ | Gregory Nutt | 2013-06-04 | 1 | -19/+36 |
| | | | | | | | | | | | | attempt SPI DMAs from the CCM stack | ||||
| * | | Add stm32_dmacapable interface to determine is it is possible to perform DMA ↵ | Gregory Nutt | 2013-06-04 | 6 | -26/+170 |
| | | | | | | | | | | | | from a given address. |