stm32g0: add dma.

same same, bit for bit, except not ;) - Channel request mapping now
depends on a new DMAMUX peripheral, and there's no default preset.
So, before enabling dma channel after its configuration, request
must be configured by :

dmamux_set_dma_channel_request(DMAMUX1, DMA_CHANNELx, request_number_from_datasheet);
This commit is contained in:
Guillaume Revaillot
2019-01-31 18:31:23 +01:00
committed by Guillaume Revaillot
parent 7a27397b9e
commit b9f183bf1e
3 changed files with 37 additions and 0 deletions

View File

@@ -35,6 +35,7 @@ TGT_CFLAGS += $(STANDARD_FLAGS)
ARFLAGS = rcs
OBJS += crc_common_all.o
OBJS += dma_common_l1f013.o
OBJS += exti.o exti_common_all.o
OBJS += flash.o flash_common_all.o
OBJS += gpio_common_all.o gpio_common_f0234.o