Skip to content

Commit bda3b62

Browse files
committed
[cov,e2e] Disable coverage for provisioning_data ujson
Instrumenting the provisioning_data ujson module consumes about 29K of RAM, causing the personalization binary to exceed the SRAM capacity. This change disables coverage instrumentation for this library to reduce memory usage, as the module consists mostly of generated code. Change-Id: I728720a42c0eb143e5bdfdae15b229322f399424 Signed-off-by: Yi-Hsuan Deng <[email protected]>
1 parent ff2e920 commit bda3b62

File tree

1 file changed

+2
-0
lines changed
  • sw/device/lib/testing/json

1 file changed

+2
-0
lines changed

sw/device/lib/testing/json/BUILD

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,8 @@ cc_library(
8585
name = "provisioning_data",
8686
srcs = ["provisioning_data.c"],
8787
hdrs = ["provisioning_data.h"],
88+
# Instrumenting this module consumes about 29K RAM.
89+
features = ["-coverage"],
8890
deps = ["//sw/device/lib/ujson"],
8991
)
9092

0 commit comments

Comments
 (0)