diff options
Diffstat (limited to '02-usart/test_harness/fake_env.c')
-rw-r--r-- | 02-usart/test_harness/fake_env.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/02-usart/test_harness/fake_env.c b/02-usart/test_harness/fake_env.c index f9c2a4d..d1dba35 100644 --- a/02-usart/test_harness/fake_env.c +++ b/02-usart/test_harness/fake_env.c @@ -23,6 +23,12 @@ DEFINE_MEMORY_SEGMENT(ahb2, 0x48000000, 0x50060C00) /* System Control Block */ DEFINE_MEMORY_SEGMENT(scb, 0xE000E008, 0xE000EF04) +/* Nested Vector Interrupt Controller (NVIC) */ +/* Note that this memory space acutally overlaps with the SCB, but + * they are functionally distinct entitites and such are modeled as + * separate structures in memeory. */ +DEFINE_MEMORY_SEGMENT(nvic, 0xE000E004, 0xE000E4F0) + /* SRAM */ DEFINE_MEMORY_SEGMENT(sram1, 0x20000000, 0x2000C000) DEFINE_MEMORY_SEGMENT(sram2, 0x2000C000, 0x20018000) |