From e60d59ce49062a96b28c6d9203c28a4161fdd964 Mon Sep 17 00:00:00 2001 From: Ethan Frei Date: Wed, 13 Jul 2022 21:58:19 -0500 Subject: [PATCH] changing linker memory locations for stm32f103c8 (#65) --- src/modules/chips.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/chips.zig b/src/modules/chips.zig index 5a2d5a0..6a4858e 100644 --- a/src/modules/chips.zig +++ b/src/modules/chips.zig @@ -35,8 +35,8 @@ pub const stm32f103x8 = Chip{ .path = root_path ++ "chips/stm32f103/stm32f103.zig", .cpu = cpus.cortex_m3, .memory_regions = &.{ - MemoryRegion{ .offset = 0x00000000, .length = 64 * 1024, .kind = .flash }, - MemoryRegion{ .offset = 0x10000000, .length = 20 * 1024, .kind = .ram }, + MemoryRegion{ .offset = 0x08000000, .length = 64 * 1024, .kind = .flash }, + MemoryRegion{ .offset = 0x20000000, .length = 20 * 1024, .kind = .ram }, }, };