-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' of https://github.com/blooo-io/LedgerHQ-app-kl…
…aytn into develop
- Loading branch information
Showing
377 changed files
with
526 additions
and
12,566 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Checklist | ||
<!-- Put an `x` in each box when you have completed the items. --> | ||
- [ ] App update process has been followed <!-- See comment below --> | ||
- [ ] Target branch is `develop` <!-- unless you have a very good reason --> | ||
- [ ] Application version has been bumped <!-- required if your changes are to be deployed --> | ||
|
||
<!-- Make sure you followed the process described in https://developers.ledger.com/docs/device-app/deliver/maintenance before opening your Pull Request. | ||
Don't hesitate to contact us directly on Discord if you have any questions ! https://developers.ledger.com/discord --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Build and run functional tests using ragger through reusable workflow | ||
|
||
# This workflow will build the app and then run functional tests using the Ragger framework upon Speculos emulation. | ||
# It calls a reusable workflow developed by Ledger's internal developer team to build the application and upload the | ||
# resulting binaries. | ||
# It then calls another reusable workflow to run the Ragger tests on the compiled application binary. | ||
# | ||
# While this workflow is optional, having functional testing on your application is mandatory and this workflow and | ||
# tooling environment is meant to be easy to use and adapt after forking your application | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- master | ||
- main | ||
- develop | ||
pull_request: | ||
|
||
jobs: | ||
build_application: | ||
name: Build application using the reusable workflow | ||
uses: LedgerHQ/ledger-app-workflows/.github/workflows/reusable_build.yml@v1 | ||
with: | ||
upload_app_binaries_artifact: "compiled_app_binaries" | ||
|
||
ragger_tests: | ||
name: Run ragger tests using the reusable workflow | ||
needs: build_application | ||
uses: LedgerHQ/ledger-app-workflows/.github/workflows/reusable_ragger_tests.yml@v1 | ||
with: | ||
download_app_binaries_artifact: "compiled_app_binaries" |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,6 +20,6 @@ __pycache__ | |
.pyc | ||
*~ | ||
opt | ||
tests/elfs/* | ||
tests/elfs | ||
tests/snapshots-tmp/ | ||
.DS_Store |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,49 +1,59 @@ | ||
{ | ||
"env": { | ||
"BOLOS_SDK": "/opt/nanosp-secure-sdk", | ||
"BOLOS_ENV": "/opt/bolos-devenv" | ||
}, | ||
"configurations": [ | ||
{ | ||
"name": "Nano S Plus", | ||
"includePath": [ | ||
"/usr/include", | ||
"${workspaceFolder}/src", | ||
"${env:BOLOS_SDK}/include/*", | ||
"${env:BOLOS_SDK}/lib_ux/include/*" | ||
], | ||
"defines": [ | ||
"TARGET_NANOSP", | ||
"OS_IO_SEPROXYHAL", | ||
"HAVE_BAGL", | ||
"HAVE_SPRINTF", | ||
"HAVE_IO_USB", | ||
"HAVE_L4_USBLIB", | ||
"IO_USB_MAX_ENDPOINTS=6", | ||
"IO_HID_EP_LENGTH=64", | ||
"HAVE_USB_APDU", | ||
"USB_SEGMENT_SIZE=64", | ||
"UNUSED(x)=(void)x", | ||
"APPVERSION=\"1.0.0\"", | ||
"APPNAME=\"Boilerplate\"", | ||
"MAJOR_VERSION=1", | ||
"MINOR_VERSION=0", | ||
"PATCH_VERSION=0", | ||
"IO_SEPROXYHAL_BUFFER_SIZE_B=300", | ||
"HAVE_UX_FLOW", | ||
"DEBUG=1", | ||
"HAVE_PRINTF", | ||
"PRINTF=screen_printf" | ||
], | ||
"compilerPath": "${env:BOLOS_ENV}/gcc-arm-none-eabi-5_3-2016q1/bin/arm-none-eabi-gcc", | ||
"cStandard": "c11", | ||
"cppStandard": "c++17", | ||
"intelliSenseMode": "gcc-arm", | ||
"browse": { | ||
"limitSymbolsToIncludedHeaders": true, | ||
"databaseFilename": "" | ||
} | ||
} | ||
], | ||
"version": 4 | ||
"env": { | ||
"BOLOS_SDK": "/opt/nanosp-secure-sdk", | ||
"BOLOS_ENV": "/opt/bolos-devenv" | ||
}, | ||
"configurations": [ | ||
{ | ||
"name": "Nano S Plus", | ||
"includePath": [ | ||
"/usr/include", | ||
"${workspaceFolder}/src", | ||
"${env:BOLOS_SDK}/include/*", | ||
"${env:BOLOS_SDK}/lib_ux/include/*", | ||
"${workspaceFolder}/opt/ledger-secure-sdk/include", | ||
"${workspaceFolder}/opt/ledger-secure-sdk/target/nanos2/include", | ||
"${workspaceFolder}/opt/ledger-secure-sdk/lib_cxng/include", | ||
"${workspaceFolder}/opt/ledger-secure-sdk/lib_ux/include", | ||
"${workspaceFolder}/opt/ledger-secure-sdk/lib_bagl/include", | ||
"${workspaceFolder}/opt/ledger-secure-sdk/unit-tests/lib_nbgl", | ||
"${workspaceFolder}/lib/include" | ||
], | ||
"defines": [ | ||
"TARGET_NANOSP", | ||
"OS_IO_SEPROXYHAL", | ||
"HAVE_BAGL", | ||
"HAVE_SPRINTF", | ||
"HAVE_IO_USB", | ||
"HAVE_L4_USBLIB", | ||
"IO_USB_MAX_ENDPOINTS=6", | ||
"IO_HID_EP_LENGTH=64", | ||
"HAVE_USB_APDU", | ||
"USB_SEGMENT_SIZE=64", | ||
"UNUSED(x)=(void)x", | ||
"APPVERSION=\"1.0.0\"", | ||
"APPNAME=\"Boilerplate\"", | ||
"MAJOR_VERSION=1", | ||
"MINOR_VERSION=0", | ||
"PATCH_VERSION=0", | ||
"IO_SEPROXYHAL_BUFFER_SIZE_B=300", | ||
"HAVE_UX_FLOW", | ||
"DEBUG=1", | ||
"HAVE_PRINTF", | ||
"PRINTF=screen_printf", | ||
"HAVE_SHA3=1", | ||
"HAVE_HASH=1", | ||
"HAVE_ECC=1" | ||
], | ||
"compilerPath": "${env:BOLOS_ENV}/gcc-arm-none-eabi-5_3-2016q1/bin/arm-none-eabi-gcc", | ||
"cStandard": "c11", | ||
"cppStandard": "c++17", | ||
"intelliSenseMode": "gcc-arm", | ||
"browse": { | ||
"limitSymbolsToIncludedHeaders": true, | ||
"databaseFilename": "" | ||
} | ||
} | ||
], | ||
"version": 4 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.