aboutsummaryrefslogtreecommitdiff
path: root/02-usart/include/mem.h
diff options
context:
space:
mode:
authorJosh Rahm <joshuarahm@gmail.com>2020-11-16 21:02:48 -0700
committerJosh Rahm <joshuarahm@gmail.com>2020-11-16 21:02:48 -0700
commitc0e1b4cdf20c55f2cbbdf3a5889f447974135fd8 (patch)
tree003c27f4551f02de304da28cc60314a4516c40ed /02-usart/include/mem.h
parentcd115ba47253ce8d2680178248116d251abacb23 (diff)
downloadstm32l4-c0e1b4cdf20c55f2cbbdf3a5889f447974135fd8.tar.gz
stm32l4-c0e1b4cdf20c55f2cbbdf3a5889f447974135fd8.tar.bz2
stm32l4-c0e1b4cdf20c55f2cbbdf3a5889f447974135fd8.zip
Got the DMA to send a simple message through UART2.
Diffstat (limited to '02-usart/include/mem.h')
-rw-r--r--02-usart/include/mem.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/02-usart/include/mem.h b/02-usart/include/mem.h
new file mode 100644
index 0000000..fefe53d
--- /dev/null
+++ b/02-usart/include/mem.h
@@ -0,0 +1,12 @@
+#ifndef MEM_H_
+#define MEM_H_
+
+#include "common.h"
+
+void memcpy_(void* dest, const void* src, size_t len);
+
+#ifdef ARCH_STM32L4
+#define memcpy memcpy_
+#endif
+
+#endif