Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add NBGL support for Stax and Flex #114

Merged
merged 29 commits into from
May 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
9a2dbb6
Add Stax target
yhql Dec 6, 2023
ebfd658
Add NBGL wrapping with example
yhql Dec 6, 2023
288d4e5
Implement POC of Stax app with home + settings screen
agrojean-ledger Jan 10, 2024
d249641
Improve POC so that screens stay the same when navigating.
agrojean-ledger Jan 11, 2024
90a8219
Add StaticReview
agrojean-ledger Jan 16, 2024
7b4d577
Add address confirmation and clean-up, rename some functions.
agrojean-ledger Jan 17, 2024
50335ff
Add SDK header file for Stax
agrojean-ledger Jan 17, 2024
b46da81
Refactor NBGL structures to be compatible with Nano devices rust SDK
agrojean-ledger Jan 18, 2024
d84e4ac
Adapt NBGL and IO modules for synchronous API
agrojean-ledger Mar 1, 2024
c15d2ef
Update include_gif macro to support NBGL gzip compressed glyph genera…
agrojean-ledger Mar 28, 2024
4d48177
Remove useless global context in favor of struct fields
agrojean-ledger Mar 29, 2024
657927c
Update NBGL to integrate the new lib_ux_sync from the C SDK.
agrojean-ledger Apr 16, 2024
978817d
Add C string conversion with helper struct.
agrojean-ledger Apr 23, 2024
bcdfc7b
Add flex support + fixes for release compilation mode.
agrojean-ledger Apr 29, 2024
80f8601
Add support for settings in NBGL apps.
agrojean-ledger May 3, 2024
a332fba
Add support for Stax and Flex in cargo-ledger.
agrojean-ledger May 21, 2024
ab92316
Fix IO bug : pending event flag was not properly set before entering …
agrojean-ledger May 22, 2024
70ed67c
Update package versions
agrojean-ledger May 22, 2024
72459b9
Update flex C SDK branch to API_LEVEL_19
agrojean-ledger May 22, 2024
1d261c2
Fix CI tests, update NBGL examples.
agrojean-ledger May 22, 2024
ab74eb1
Fix cargo-ledger version bump.
agrojean-ledger May 23, 2024
d23eeaa
Add new init_comm function to initialize COMM_REF global.
agrojean-ledger May 23, 2024
d690db9
Add 2 new examples : nbgl_review, nbgl_address
agrojean-ledger May 23, 2024
d82d610
Custom memory layout for Stax and Flex (44k ram compared to 30k for n…
agrojean-ledger May 27, 2024
dbe7ade
Put specific commit ref for target files download in cargo-ledger
agrojean-ledger May 27, 2024
d35bc49
Rename NbglAddressConfirm to NbglAddressReview to match with C API na…
agrojean-ledger May 27, 2024
29ec480
Add review status screens at the end of AddressReview.
agrojean-ledger May 27, 2024
2c36722
Update Cargo.lock
agrojean-ledger May 27, 2024
9059d93
Clean up.
agrojean-ledger May 27, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ runner = "speculos -m nanox --display=headless"
[target.nanosplus]
runner = "speculos -m nanosp --display=headless"

[target.stax]
runner = "speculos --model stax"

[target.flex]
runner = "speculos --model flex"

[unstable]
build-std = ["core"]
build-std-features = ["compiler-builtins-mem"]
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,4 +100,4 @@ jobs:
uses: actions/checkout@v4
- name: Unit tests
run: |
cargo +$RUST_NIGHTLY test -p ledger_device_sdk --target ${{ matrix.target }} --features speculos
cargo +$RUST_NIGHTLY test -p ledger_device_sdk --target ${{ matrix.target }} --features speculos --tests
Loading