diff options
author | Tobias Badertscher <python@baerospace.ch> | 2016-03-22 11:28:35 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2016-05-05 14:51:20 +0100 |
commit | e64032d6fdeb079de2ace20b64899d1ceb6754f1 (patch) | |
tree | c4ce1bb01259371a2eb72fb561dbc43c2e39edde /stmhal/system_stm32.c | |
parent | eb54e4d065a7cbc26dc4c8dc2812d1cabdcd0c50 (diff) | |
download | micropython-e64032d6fdeb079de2ace20b64899d1ceb6754f1.tar.gz micropython-e64032d6fdeb079de2ace20b64899d1ceb6754f1.zip |
stmhal: L4: Adapt DMA to be able to support STM32L4 MCU series.
The main thing is to change the DMA code in a way that the structure
DMA_Stream_TypeDef (which is similar to DMA_Channel_TypeDef on stm32l4)
is no longer used outside of dma.c, as this structure only exists for the
F4 series. Therefore I introduced a new structure (dma_descr_t) which
handles all DMA specific stuff for configuration. Further the periphery
(spi, i2c, sdcard, dac) does not need to know the internals of the dma.
Diffstat (limited to 'stmhal/system_stm32.c')
0 files changed, 0 insertions, 0 deletions