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

Open
wants to merge 14 commits into
base: master
Choose a base branch
from

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 2 times, most recently from 94cbf9d to 787e7ba Compare January 20, 2025 17:55
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

"*.h": "c"
},
"ledgerDevTools.appSettings": {
"selectedUseCase": "release",
Copy link
Contributor

Choose a reason for hiding this comment

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

could be painful if we don't ignore this file as it could change each time we have a new test list

NavInsID.RIGHT_CLICK,
NavInsID.RIGHT_CLICK
# NavInsID.BOTH_CLICK,
Copy link
Contributor

Choose a reason for hiding this comment

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

could be removed


status = client.get_async_response().status

# Assert that we have received an approval
assert status == SW_OK

def test_use_case_long_address_review_accepted_with_tags(backend, firmware, navigator, test_name, default_screenshot_path):

def Xtest_use_case_long_address_review_accepted_with_tags(backend: BackendInterface,
Copy link
Contributor

Choose a reason for hiding this comment

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

remove "X" before "test"

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