Skip to content

Commit 4b1bd9b

Browse files
authored
Merge pull request #82 from LedgerHQ/y333_20241001/heap_size_mngt
Set heap size using recommended presets
2 parents 97abb23 + 7c21b52 commit 4b1bd9b

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed

.cargo/config.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,9 @@ target = "nanosplus"
77
[unstable]
88
build-std = ["core", "alloc"]
99
build-std-features = ["compiler-builtins-mem"]
10+
11+
# By default, heap size is enforced to 8192 bytes.
12+
# Authorized values are [2048, 4096, 8192, 16384, 24576]
13+
# Uncomment the following lines to set the heap size to 4096 bytes for instance
14+
#[env]
15+
#HEAP_SIZE = "4096"

Cargo.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ authors = ["yhql", "agrojean-ledger"]
55
edition = "2021"
66

77
[dependencies]
8-
ledger_device_sdk = "1.17.3"
8+
ledger_device_sdk = "1.17.4"
99
include_gif = "1.2.0"
1010
serde = {version="1.0.192", default_features = false, features = ["derive"]}
1111
serde-json-core = { git = "https://github.com/rust-embedded-community/serde-json-core"}

0 commit comments

Comments
 (0)