organize memory layout options for debug/release

This commit is contained in:
Conor Patrick
2018-12-04 21:12:21 -05:00
parent 173b8833ce
commit 5ee91048e2
12 changed files with 449 additions and 18 deletions

View File

@@ -24,8 +24,8 @@ def get_firmware_object(sk_name, hex_file):
# start of firmware and the size of the flash region allocated for it.
# TODO put this somewhere else.
START = 0x08008000
END = START + 1024 * 186 - 8
START = ih.segments()[0][0]
END = ((0x08000000 + ((128-19)*2024))-8)
ih = IntelHex(hex_file)
segs = ih.segments()