summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/src
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* stm32: add sw workaround for broken stm32 hw RTS implementationKevin Hester2014-05-201-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 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-242-39/+51
| |\
| * | Corrected pinmaps for stm32f40xxx processorSarthak Kaingade2013-10-281-1/+1
| | |
* | | 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
* | 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.
* | small whitespace correctionThomas Gubler2014-01-021-1/+2
| |
* | STM32F10xxx single wire usart supportThomas Gubler2014-01-021-2/+14
| |
* | Fixed location of DMA console reinitializationLorenz Meier2013-12-171-3/+2
|/
* 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.
* Add an explicit preflight call for SDIO DMA operations, since we can't error ↵px4dev2013-09-081-29/+46
| | | | out of the DMA setup (the card is already committed at that point).
* Fix DMA channel definitions for UART7/8px4dev2013-09-011-4/+4
|
* Teach the STM32 SDIO driver how to determine whether a transfer can be ↵px4dev2013-09-011-47/+61
| | | | performed safely using DMA.
* Fix the Kconfig configuration for the STM32 SDIO DMA priority option.px4dev2013-09-011-0/+8
|
* Enhance the stm32_dmacapable implementation to give correct answers.px4dev2013-09-014-10/+241
|
* Fix STM32 UART7/8 kconfig names and UART DMA dependencies.px4dev2013-09-011-34/+34
|
* STM32 BxCAN filter registers are only accessible via the CAN1 register ↵px4dev2013-08-112-39/+72
| | | | block; teach the code how to get at them.
* Add CAN configuration to STM32 config menuGregory Nutt2013-08-111-1/+15
|
* Fixed serial init for non-reordering caseLorenz Meier2013-07-281-1/+8
|
* Added option to disable serial port reorderingLorenz Meier2013-07-282-1/+22
|
* HACK: don't call the card-changed callback with interrupts disabled, as it ↵Lorenz Meier2013-07-171-1/+2
| | | | means that timeouts don't work.
* Merged in upstream, took upstream UART driver without changes, needs ↵Lorenz Meier2013-06-1368-2214/+7483
| | | | re-evaluation (minor diffs to local version)
* Merge branch 'hardware_flow_control' into integrationLorenz Meier2013-06-061-43/+125
|\
| * Merge branch 'upstream' into hardware_flow_controlLorenz Meier2013-06-0695-6737/+12840
| |\
| * | Hardware flow control bitsLorenz Meier2013-06-021-43/+125
| | |
* | | Merge branch 'master' of http://git.code.sf.net/p/nuttx/git into integrationLorenz Meier2013-06-0614-139/+2317
|\ \ \ | | |/ | |/|
| * | Move SAM4L peripheral clock logic to a separate fileGregory Nutt2013-06-056-232/+634
| | |
| * | Updates to SAM4L clocking. Still not finishedGregory Nutt2013-06-054-57/+362
| | |
| * | Add power management register defintions and clock control logic for the SAM4LGregory Nutt2013-06-054-7/+847
| | |
| * | Add SAM4L FLASHCALW header fileGregory Nutt2013-06-056-17/+363
| | |
| * | SAM4L GPIO port addressing fixes; SAM4L Xplained LED support; minor ↵Gregory Nutt2013-06-052-116/+402
| | | | | | | | | | | | documentation updates
| * | Add configs/sam4l-xplained/src/up_userleds.cGregory Nutt2013-06-041-1/+0
| | |
* | | Cleanup on stack checkLorenz Meier2013-06-051-1/+1
| | |
* | | Merged upstream NuttXLorenz Meier2013-06-0531-446/+3490
|\| |
| * | More changes that should have gone with the last commitGregory Nutt2013-06-042-431/+429
| | |
| * | Add SAM4L GPIO driverGregory Nutt2013-06-045-41/+606
| | |
| * | Create SAM4L GPIO driver header fileGregory Nutt2013-06-044-110/+563
| | |
| * | Add SAM4L (and 4S) GPIO register definitionsGregory Nutt2013-06-046-266/+1067
| | |
| * | If CONFIG_STM32_DMACAPABLE is defined, use stm32_dmacapable to workaround ↵Gregory Nutt2013-06-041-19/+36
| | | | | | | | | | | | attempt SPI DMAs from the CCM stack
| * | Add stm32_dmacapable interface to determine is it is possible to perform DMA ↵Gregory Nutt2013-06-046-26/+170
| | | | | | | | | | | | from a given address.