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/include/arch/x86_64/arch.h | |
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/include/arch/x86_64/arch.h')
-rw-r--r-- | 02-usart/include/arch/x86_64/arch.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/02-usart/include/arch/x86_64/arch.h b/02-usart/include/arch/x86_64/arch.h index a93425d..258214e 100644 --- a/02-usart/include/arch/x86_64/arch.h +++ b/02-usart/include/arch/x86_64/arch.h @@ -6,6 +6,8 @@ #define ARCH_PC #define enable_all_interrupts() do {} while(0) +#define RCC_BASE (load_fake_rcc__()) + #define DMA1_BASE (load_fake_ahb1__() + 0x0) #define DMA2_BASE (load_fake_ahb1__() + 0x400) |