Gregory Nutt
a581e9206d
Convert remaining serial drivers to use use irq_attach.
2017-02-27 10:27:14 -06:00
Mark Schulte
b3222bbc8a
irq_dispatch: Add argument pointer to irq_dispatch
...
Provide a user defined callback context for irq's, such that when
registering a callback users can provide a pointer that will get
passed back when the isr is called.
2017-02-27 06:27:56 -06:00
Gregory Nutt
f9652812e2
Change *err() to either info() or err(ERROR:..), depending upon if an error has occurred.
2016-06-16 09:38:16 -06:00
Gregory Nutt
26718cee5c
Eliminate some warnings when CONFIG_DEBUG_FEATURES is enabled, but no output is enabled
2016-06-12 14:44:04 -06:00
Gregory Nutt
a1469a3e95
Add CONFIG_DEBUG_ERROR. Change names of *dbg() * *err()
2016-06-11 15:50:49 -06:00
Gregory Nutt
fc3540cffe
Replace all occurrences of vdbg with vinfo
2016-06-11 11:59:51 -06:00
Gregory Nutt
70e502adb0
Replace irqsave() with enter_critical_section(); replace irqrestore() with leave_critical_section()
2016-02-13 19:11:09 -06:00
Gregory Nutt
53f6fd6e66
STM32: Correct some spacing issues
2015-10-07 13:45:15 -06:00
Gregory Nutt
d41b050526
Fix another missing semicolon after DEBUGASSERT
2015-05-27 11:49:19 -06:00
Gregory Nutt
4dc151097e
Replace os_internal.h with sched/sched.h in files that actually reference something in sched.h
2014-08-08 17:53:55 -06:00
Gregory Nutt
de7136e69b
STM32: More places where up_prioritize_irq is called when CONFIG_ARCH_IRQPRIO is not defined. Sourceforge ticket #26
2014-04-28 07:07:47 -06:00
Gregory Nutt
fd468d219f
Changes to stm32_dmacapable interfaces from Mike Smith
2013-10-18 08:06:23 -06:00
Gregory Nutt
56f9092a87
Fix all occurrences of "the the" in documentation and comments
2013-08-27 09:40:19 -06:00
Gregory Nutt
1c3116c91e
Add stm32_dmacapable interface to determine is it is possible to perform DMA from a given address.
2013-06-04 08:44:49 -06:00
Gregory Nutt
3aa94411be
Remove up_assert_code
2013-04-25 15:19:59 -06:00
patacongo
052b9dc37d
Fix to STM32 F2/F4 DMA driver from Yan T.
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5694 42af7a65-404d-4744-a932-0658087f49c3
2013-03-01 22:15:44 +00:00
patacongo
896e32f73d
Removed stm32_internal.h; Changes for clean compile of STM32F3Discovery configuration with SPI and USB
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5630 42af7a65-404d-4744-a932-0658087f49c3
2013-02-09 15:03:49 +00:00
patacongo
95c062fbe0
Update STM32 F1 DMA to parity with F2/F4
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5509 42af7a65-404d-4744-a932-0658087f49c3
2013-01-11 13:30:23 +00:00
patacongo
5fcff5bc26
Back out the last STM32 DMA priority change. It is not necessary; just dropping the SD frequency was sufficient
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5021 42af7a65-404d-4744-a932-0658087f49c3
2012-08-10 23:16:01 +00:00
patacongo
de32f16245
Drop STM32 F2/4 SDIO clock from 24 to 16 MHz. Seems to fix SD accesses on STM3240G-EVAL
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5020 42af7a65-404d-4744-a932-0658087f49c3
2012-08-10 22:42:46 +00:00
patacongo
f0b1643958
STM32 SDIO DMA setup was losing DMA priority
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5019 42af7a65-404d-4744-a932-0658087f49c3
2012-08-10 22:01:12 +00:00
patacongo
1dd72a0277
Update all STM32 F2 files so that they are the same as the corresponding F4 files
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4778 42af7a65-404d-4744-a932-0658087f49c3
2012-05-28 18:10:41 +00:00
patacongo
a74f601c6c
Add circular DMA support to STM32 and STM32 serial driver; Add initial configuration for the Mikroelektronika PIC32MX7 MMB board
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4640 42af7a65-404d-4744-a932-0658087f49c3
2012-04-22 19:50:33 +00:00
patacongo
69b322f99a
STM32 SDIO DMA: Ignore DMA FIFO errors; these seem to be bogus. SD multiple block transfers result in CRC errors; avoid them by using smaller FTP buffer sizes
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4410 42af7a65-404d-4744-a932-0658087f49c3
2012-02-21 22:00:28 +00:00
patacongo
bdbb6add35
More STM32 SDIO DMA fixes
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4407 42af7a65-404d-4744-a932-0658087f49c3
2012-02-21 00:21:26 +00:00
patacongo
2726206ac1
Various STM32 SDIO and DMA fixes (SDIO DMA still does not work)
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4406 42af7a65-404d-4744-a932-0658087f49c3
2012-02-20 20:02:53 +00:00
patacongo
5f9533b655
Fix error in STM32 DMA driver stream index calculation
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4405 42af7a65-404d-4744-a932-0658087f49c3
2012-02-19 18:04:25 +00:00
patacongo
de19e2d88b
Add STM32 F4 DMA framework (untested)
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4142 42af7a65-404d-4744-a932-0658087f49c3
2011-12-07 14:56:28 +00:00