Skip to content

Commit

Permalink
Merge pull request #237 from LedgerHQ/y333/remove_nbgl_ux_sync
Browse files Browse the repository at this point in the history
Remove C SDK NBGL UX sync dep
  • Loading branch information
yogh333 authored Jan 31, 2025
2 parents 1d93d8e + f1ee541 commit b790f1f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 14 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

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

4 changes: 2 additions & 2 deletions ledger_device_sdk/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ledger_device_sdk"
version = "1.20.0"
version = "1.20.1"
authors = ["yhql", "yogh333", "agrojean-ledger", "kingofpayne"]
edition = "2021"
license.workspace = true
Expand All @@ -21,7 +21,7 @@ rand_core = { version = "0.6.3", default-features = false }
zeroize = { version = "1.6.0", default-features = false }
numtoa = "0.2.4"
const-zero = "0.1.1"
ledger_secure_sdk_sys = { path = "../ledger_secure_sdk_sys", version = "1.6.3" }
ledger_secure_sdk_sys = { path = "../ledger_secure_sdk_sys", version = "1.6.4" }

[features]
debug = []
Expand Down
2 changes: 1 addition & 1 deletion ledger_secure_sdk_sys/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ledger_secure_sdk_sys"
version = "1.6.3"
version = "1.6.4"
authors = ["yhql", "agrojean-ledger", "yogh333"]
edition = "2021"
license.workspace = true
Expand Down
9 changes: 0 additions & 9 deletions ledger_secure_sdk_sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,6 @@ impl SDKBuilder {

bindings = bindings.clang_args([
format!("-I{bsdk}/lib_nbgl/include/").as_str(),
format!("-I{bsdk}/lib_ux_sync/include/").as_str(),
format!("-I{bsdk}/lib_ux_nbgl/").as_str(),
]);
bindings = bindings
Expand All @@ -609,12 +608,6 @@ impl SDKBuilder {
.to_str()
.unwrap(),
)
.header(
self.bolos_sdk
.join("lib_ux_sync/include/ux_sync.h")
.to_str()
.unwrap(),
)
.header(
self.bolos_sdk
.join("lib_ux_nbgl/ux_nbgl.h")
Expand Down Expand Up @@ -839,12 +832,10 @@ fn configure_lib_nbgl(command: &mut cc::Build, bolos_sdk: &Path) {
.flag("-fms-extensions")
.include(bolos_sdk.join("lib_nbgl/include/"))
.include(bolos_sdk.join("lib_nbgl/include/fonts/"))
.include(bolos_sdk.join("lib_ux_sync/include/"))
.include(bolos_sdk.join("lib_ux_nbgl/"))
.include(bolos_sdk.join("qrcode/include/"))
.include(bolos_sdk.join("lib_bagl/include/"))
.file(bolos_sdk.join("lib_ux_nbgl/ux.c"))
.file(bolos_sdk.join("lib_ux_sync/src/ux_sync.c"))
.file(bolos_sdk.join("lib_bagl/src/bagl_fonts.c"))
.file(bolos_sdk.join("src/os_printf.c"))
.file(bolos_sdk.join("qrcode/src/qrcodegen.c"))
Expand Down

0 comments on commit b790f1f

Please sign in to comment.