Skip to content

Commit

Permalink
Merge pull request #927 from flit/bugfix/dfp_regions
Browse files Browse the repository at this point in the history
CMSIS DFP: another flash region creation fix
  • Loading branch information
flit committed Aug 31, 2020
1 parent 5d2fe78 commit 87d3a30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyocd/target/pack/cmsis_pack.py
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ def _build_flash_regions(self):
if j + 1 >= len(packAlgo.sector_sizes):
end = region.end
else:
end = packAlgo.sector_sizes[j + 1][0] - 1
end = region.start + packAlgo.sector_sizes[j + 1][0] - 1

# Limit page size.
if page_size > sector_size:
Expand Down

0 comments on commit 87d3a30

Please sign in to comment.