diff options
author | Josh Rahm <joshuarahm@gmail.com> | 2020-11-21 01:25:26 -0700 |
---|---|---|
committer | Josh Rahm <joshuarahm@gmail.com> | 2020-11-21 01:25:26 -0700 |
commit | 14a651cda0bd8dfb992d2a6a1544300c39492ca3 (patch) | |
tree | a3f4b148fe64736f7bb73784498871009faf1fe0 /02-usart/test_harness/fake_env.c | |
parent | fd763486d875968941c77386e23936e817856c8e (diff) | |
download | stm32l4-14a651cda0bd8dfb992d2a6a1544300c39492ca3.tar.gz stm32l4-14a651cda0bd8dfb992d2a6a1544300c39492ca3.tar.bz2 stm32l4-14a651cda0bd8dfb992d2a6a1544300c39492ca3.zip |
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.
Diffstat (limited to '02-usart/test_harness/fake_env.c')
-rw-r--r-- | 02-usart/test_harness/fake_env.c | 3 |
1 files changed, 3 insertions, 0 deletions
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) |