aboutsummaryrefslogtreecommitdiff
path: root/02-usart/include/arch/arm
diff options
context:
space:
mode:
authorJosh Rahm <joshuarahm@gmail.com>2020-11-21 01:25:26 -0700
committerJosh Rahm <joshuarahm@gmail.com>2020-11-21 01:25:26 -0700
commit14a651cda0bd8dfb992d2a6a1544300c39492ca3 (patch)
treea3f4b148fe64736f7bb73784498871009faf1fe0 /02-usart/include/arch/arm
parentfd763486d875968941c77386e23936e817856c8e (diff)
downloadstm32l4-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/include/arch/arm')
-rw-r--r--02-usart/include/arch/arm/arch.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/02-usart/include/arch/arm/arch.h b/02-usart/include/arch/arm/arch.h
index 175c984..569ca77 100644
--- a/02-usart/include/arch/arm/arch.h
+++ b/02-usart/include/arch/arm/arch.h
@@ -26,6 +26,7 @@
#define SYSTEM_CONFIG_BLOCK_BASE (0xE000E008)
#define NVIC_BASE (0xE000E004)
+#define RCC_BASE (0x40021000)
#include <stdint.h>
#ifndef DRY_RUN