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

B2CA-1584: Port Nano on NBGL #6

Merged
merged 13 commits into from
Jan 28, 2025
Merged

Conversation

cedelavergne-ledger
Copy link
Contributor

@cedelavergne-ledger cedelavergne-ledger commented Jan 6, 2025

Need to adapt the code and enable the flag to support NBGL on Nano devices.

  • Add dynamic check of AppName and AppVersion rather than hardcoded value
  • Update version to 1.1.0
  • Add Missing NBGL tests (for not covered APIs)
  • Adapt ragger tests accordingly to the new NBGL tests
  • Activate the flag to use NBGL for Nano devices
  • Remove BAGL related code and adapt the code
  • Adapt ragger tests to Nano navigation
  • Update the snapshots

Note: Needs SDK adaptations, for the moment in branch LedgerHQ/ledger-secure-sdk#838

@cedelavergne-ledger cedelavergne-ledger force-pushed the cev/B2CA-1584-nbgl_nano branch 10 times, most recently from 1e4f968 to 16c345b Compare January 15, 2025 15:36
@cedelavergne-ledger cedelavergne-ledger force-pushed the cev/B2CA-1584-nbgl_nano branch 4 times, most recently from 4895e10 to 674ba64 Compare January 21, 2025 09:05
@cedelavergne-ledger cedelavergne-ledger marked this pull request as ready for review January 21, 2025 13:19
Copy link
Contributor

@tdejoigny-ledger tdejoigny-ledger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in addition : static analysis to fix

.vscode/settings.json Show resolved Hide resolved
tests/test_app_mainmenu.py Outdated Show resolved Hide resolved
tests/test_use_case_address_review.py Outdated Show resolved Hide resolved
@tdejoigny-ledger
Copy link
Contributor

It seems that we have less tests for Nano devices than for Stax/Flex (24 vs 33), for example : test_use_case_address_review_refused

@cedelavergne-ledger
Copy link
Contributor Author

It seems that we have less tests for Nano devices than for Stax/Flex (24 vs 33), for example : test_use_case_address_review_refused

This is due to the fact the tests related to the future deprecated APIs have not been used (and the corresponding API not ported)
Also, regarding the keypad tests, they need to have API_LEVEL 23, thus, they will be activated later

@cedelavergne-ledger cedelavergne-ledger force-pushed the cev/B2CA-1584-nbgl_nano branch 2 times, most recently from 02f634b to 17b72cb Compare January 23, 2025 17:45
@cedelavergne-ledger cedelavergne-ledger force-pushed the cev/B2CA-1584-nbgl_nano branch 3 times, most recently from c7e14f6 to a42b86b Compare January 27, 2025 08:51
@cedelavergne-ledger cedelavergne-ledger merged commit e275192 into master Jan 28, 2025
46 checks passed
@cedelavergne-ledger cedelavergne-ledger deleted the cev/B2CA-1584-nbgl_nano branch January 28, 2025 11:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants