Skip to content

Commit

Permalink
Merge pull request #82 from LedgerHQ/y333_20241001/heap_size_mngt
Browse files Browse the repository at this point in the history
Set heap size using recommended presets
  • Loading branch information
yogh333 authored Oct 10, 2024
2 parents 97abb23 + 7c21b52 commit 4b1bd9b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
6 changes: 6 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,9 @@ target = "nanosplus"
[unstable]
build-std = ["core", "alloc"]
build-std-features = ["compiler-builtins-mem"]

# By default, heap size is enforced to 8192 bytes.
# Authorized values are [2048, 4096, 8192, 16384, 24576]
# Uncomment the following lines to set the heap size to 4096 bytes for instance
#[env]
#HEAP_SIZE = "4096"
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ authors = ["yhql", "agrojean-ledger"]
edition = "2021"

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

0 comments on commit 4b1bd9b

Please sign in to comment.