diff options
author | Josh Rahm <joshuarahm@gmail.com> | 2020-11-21 23:09:31 -0700 |
---|---|---|
committer | Josh Rahm <joshuarahm@gmail.com> | 2020-11-21 23:09:31 -0700 |
commit | a922e19f41e25a4b9c77e95c6b5d736609dfb9f5 (patch) | |
tree | bf7e537a001b5ac91d94ab2c0ea870efd3551d99 /02-usart/test_harness/fake_env.c | |
parent | 822c68c74ebc3ac3694f87d516f1e91f2ce1d0fe (diff) | |
download | stm32l4-a922e19f41e25a4b9c77e95c6b5d736609dfb9f5.tar.gz stm32l4-a922e19f41e25a4b9c77e95c6b5d736609dfb9f5.tar.bz2 stm32l4-a922e19f41e25a4b9c77e95c6b5d736609dfb9f5.zip |
Add the spi headers that define the SPI structure.
Diffstat (limited to '02-usart/test_harness/fake_env.c')
-rw-r--r-- | 02-usart/test_harness/fake_env.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/02-usart/test_harness/fake_env.c b/02-usart/test_harness/fake_env.c index 43a6caa..3175317 100644 --- a/02-usart/test_harness/fake_env.c +++ b/02-usart/test_harness/fake_env.c @@ -35,3 +35,7 @@ DEFINE_MEMORY_SEGMENT(nvic, 0xE000E004, 0xE000E4F0) /* SRAM */ DEFINE_MEMORY_SEGMENT(sram1, 0x20000000, 0x2000C000) DEFINE_MEMORY_SEGMENT(sram2, 0x2000C000, 0x20018000) + +/* Serial Peripheral Interface */ +DEFINE_MEMORY_SEGMENT(spi1, 0x40013000, 0x400133FF) +DEFINE_MEMORY_SEGMENT(spi3, 0x40003C00, 0x40003FFF) |