Skip to content

Commit c9189e3

Browse files
authored
Merge pull request #158 from LedgerHQ/y333/update_nano_nbgl_glyph_management
reorganize icons and glyphs and fix NBGL on Nano glyphs management
2 parents 5f23a96 + fc31627 commit c9189e3

File tree

24 files changed

+172
-45
lines changed

24 files changed

+172
-45
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ app_nanox.json
66
app_stax.json
77
app_flex.json
88

9+
# Automatic generated NBGL glyphs
10+
glyphs/home_nano_nbgl.png
11+
912
# Temporary directory with snapshots taken during test runs
1013
tests/snapshots-tmp/
1114

Cargo.lock

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

Cargo.toml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,20 @@
11
[package]
22
name = "app-boilerplate-rust"
3-
version = "1.7.2"
3+
version = "1.7.3"
44
authors = ["Ledger"]
55
edition = "2021"
66

77
[dependencies]
8-
ledger_device_sdk = "1.23.0"
9-
include_gif = "1.2.2"
8+
ledger_device_sdk = "1.24.7"
9+
include_gif = "1.2.4"
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" }
1212
hex = { version = "0.4.3", default-features = false, features = ["serde", "alloc"] }
1313
numtoa = "0.2.4"
1414

15+
[build-dependencies]
16+
image = "0.25.7"
17+
1518
[profile.release]
1619
opt-level = 'z'
1720
lto = true
@@ -27,16 +30,16 @@ path = ["44'/1'"]
2730
name = "Rust Boilerplate"
2831

2932
[package.metadata.ledger.nanox]
30-
icon = "crab_14x14.gif"
33+
icon = "icons/crab_14x14.gif"
3134

3235
[package.metadata.ledger.nanosplus]
33-
icon = "crab_14x14.gif"
36+
icon = "icons/crab_14x14.gif"
3437

3538
[package.metadata.ledger.stax]
36-
icon = "crab_32x32.gif"
39+
icon = "icons/crab_32x32.gif"
3740

3841
[package.metadata.ledger.flex]
39-
icon = "crab_40x40.gif"
42+
icon = "icons/crab_40x40.gif"
4043

4144
[lints.rust]
4245
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("stax", "flex", "nanos", "nanox", "nanosplus"))'] }

0 commit comments

Comments
 (0)