diff options
| author | Marti Bolivar <mbolivar@leaflabs.com> | 2012-04-26 17:33:56 -0400 |
|---|---|---|
| committer | Marti Bolivar <mbolivar@leaflabs.com> | 2012-05-03 14:09:05 -0400 |
| commit | d10b5a3efafcc9a46b40d5939db020e42c3ac96d (patch) | |
| tree | da3aec665bda333922c249f5094942ee3da7eb46 /main.cpp.example | |
| parent | 2fb91678e08fc25299d70b1500495bbe06ee61be (diff) | |
stm32f1: Resurrect DMA support. (sets up breaking change)
Breaking change set up: struct dma_handler_config is no longer part of
the public API in <libmaple/dma.h>. User code which was touching
these was always mistaken; it should be using dma_attach_interrupt()
or dma_detach_interrupt() instead.
Other than that, just move the nonportable bits in <libmaple/dma.h>
and libmaple/dma.c to the appropriate places under
libmaple/stm32f1/. (Ouch. This is almost everything.) Patch the
(new) STM32F1 <series/dma.h> here and there to make everything
compile; this is mostly limited to forward-declaring struct dma_dev
and providing a hack _dma_dev_regs() declaration so inline functions
in the series header can still access a device's registers.
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
Diffstat (limited to 'main.cpp.example')
0 files changed, 0 insertions, 0 deletions
