Skip to content

Commit

Permalink
pw_build: Increase size of test linker script memory region
Browse files Browse the repository at this point in the history
The bazel linker script test has regions that are too small to fit
the contents of linux binaries. This change increases the size of the
memory region that is undersized so the binary will properly link.

Change-Id: I5800ec38eaa4794fd3cace62c71dd6d21156b2e4
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/164823
Presubmit-Verified: CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com>
Commit-Queue: Auto-Submit <auto-submit@pigweed-service-accounts.iam.gserviceaccount.com>
Pigweed-Auto-Submit: Armando Montanez <amontanez@google.com>
Reviewed-by: Anthony DiGirolamo <tonymd@google.com>
  • Loading branch information
armandomontanez authored and CQ Bot Account committed Aug 14, 2023
1 parent 46b0909 commit 565311e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pw_build/bazel_internal/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ pw_linker_script(
"PW_BOOT_RAM_BEGIN=0x20000000",
"PW_BOOT_RAM_SIZE=192K",
"PW_BOOT_VECTOR_TABLE_BEGIN=0x08000000",
"PW_BOOT_VECTOR_TABLE_SIZE=512",
"PW_BOOT_VECTOR_TABLE_SIZE=1M",
],
linker_script = "linker_script.ld",
)
Expand Down

0 comments on commit 565311e

Please sign in to comment.