From 14a651cda0bd8dfb992d2a6a1544300c39492ca3 Mon Sep 17 00:00:00 2001 From: Josh Rahm Date: Sat, 21 Nov 2020 01:25:26 -0700 Subject: Implemented DMA abstraction in the peri/dma.c source file. This abstraction makes it much more intuitive to use the DMA features on the STM32L4 boards. --- 02-usart/test_harness/fake_env.c | 3 +++ 1 file changed, 3 insertions(+) (limited to '02-usart/test_harness/fake_env.c') diff --git a/02-usart/test_harness/fake_env.c b/02-usart/test_harness/fake_env.c index d1dba35..43a6caa 100644 --- a/02-usart/test_harness/fake_env.c +++ b/02-usart/test_harness/fake_env.c @@ -14,6 +14,9 @@ return fake_##name; \ } +/* Reset and clock control. */ +DEFINE_MEMORY_SEGMENT(rcc, 0x40021000, 0x400210A0) + /* Peripheral buses */ DEFINE_MEMORY_SEGMENT(apb1, 0x40000000, 0x40010000) DEFINE_MEMORY_SEGMENT(apb2, 0x40010000, 0x40020000) -- cgit