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-1150: FAT porting flow #24

Merged
merged 12 commits into from
Sep 20, 2023
Merged

B2CA-1150: FAT porting flow #24

merged 12 commits into from
Sep 20, 2023

Conversation

cedelavergne-ledger
Copy link

@cedelavergne-ledger cedelavergne-ledger commented Sep 6, 2023

Update the repository:

  • Change structure like boilerplate
  • Add tests based on ragger
  • Update build system to be compatible with VSCode plugin
  • Update zxlib and add Stax support
  • Add the Ledger CI workflows
  • Adapt the documentation accordingly

From the ticket https://ledgerhq.atlassian.net/browse/B2CA-1150

ragger tests implementation

  • Implement application_client module and application dedicated tests
  • Add needed configuration files
  • Update/Add screenshots accordingly

Update build system

  • Move src and glyphs from app to the repository root
  • Move icons to a new icons directory at the repository root
  • Adapt Makefile to the up-to-date format
  • Update .gitignore file accordingly
  • Support ledger-app-dev-tools docker and VSCode plugin
  • Update the screenshots, separate nanox/nanosp

Update zxlib

  • Add zxlib as a sub-module, no more hardcoded copy without reference
  • Rename few files to avoid conflicts during compilation (when base-name is identical to sdk files)
  • Adapt the application to the new version of zxlib (current version is 19.8.2)

Add Stax support

  • Update test scripts for Stax, mainly the navigation part, and add the corresponding screenshots
  • Create and add a default icon

Add Ledger CI workflows

  • Add doxygen config file and .clang-format rules file
  • Remove legacy CI
  • Add boilerplate CI and adapt them (naming, exceptions, actions version change...)
  • Fix compilation issues and workflows errors (linters, spelling...)

Update the documents following the different modifications

  • Update APDU Specification document
  • Update README document, according to boilerplate example
  • Update doxygen config

src/addr.c Dismissed Show dismissed Hide dismissed
src/addr.c Dismissed Show dismissed Hide dismissed
src/addr.c Dismissed Show dismissed Hide dismissed
src/addr.c Dismissed Show dismissed Hide dismissed
src/addr.c Dismissed Show dismissed Hide dismissed
src/account.c Fixed Show fixed Hide fixed
src/account.c Dismissed Show dismissed Hide dismissed
src/addr.c Dismissed Show dismissed Hide dismissed
src/account.c Dismissed Show dismissed Hide dismissed
@cedelavergne-ledger cedelavergne-ledger force-pushed the FAT_porting-flow branch 14 times, most recently from b2d8e3b to ebe8f78 Compare September 13, 2023 12:54
@cedelavergne-ledger cedelavergne-ledger marked this pull request as ready for review September 13, 2023 13:46
@cedelavergne-ledger cedelavergne-ledger changed the title Fat porting flow B2CA-1150: FAT porting flow Sep 13, 2023
@cedelavergne-ledger cedelavergne-ledger force-pushed the FAT_porting-flow branch 2 times, most recently from c4245cc to 8cec528 Compare September 18, 2023 16:01
- Based on boilerplate example
- Implementing tests like the legacy js code from Zondax
@cedelavergne-ledger cedelavergne-ledger force-pushed the FAT_porting-flow branch 2 times, most recently from 1166954 to 2b5042f Compare September 19, 2023 09:35
- Move src from app to the repo root
- Move glyphs from app to the repo root
- Move app icons to a new icons directory at the repo root
- Remove useless app directory
- Adapt Makefile accordingly, removing usage of dockerized Makefile from zxlib
- Update .gitignore file accordingly
- Update Ledger Version field for specific APDU
Rename few files to avoid conflicts during compilation
- Remove legacy test files and config
- Update git submodule files
- Remove useless deps PicoSHA2
- No Stax support for now
- Handle submdules
- Update codespell version, and exclude few files
- Check if unit-tests directory exists before execution
@cedelavergne-ledger cedelavergne-ledger force-pushed the FAT_porting-flow branch 2 times, most recently from 1ae1efe to a7a35ff Compare September 20, 2023 10:29
- Fix mypy
- Fix spelling
- Remove icons alpha channel
- Fix clang-format
- Fix CodeQL
- Update APDU Specification document
- Update README document, based on Boilerplate example
- Add doxygen config file
@cedelavergne-ledger cedelavergne-ledger merged commit 1c1bef1 into develop Sep 20, 2023
32 checks passed
@cedelavergne-ledger cedelavergne-ledger deleted the FAT_porting-flow branch October 15, 2024 12:02
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