Skip to content

Commit

Permalink
Merge pull request #17 from Zondax/dev
Browse files Browse the repository at this point in the history
Updates
  • Loading branch information
ftheirs authored Jul 6, 2022
2 parents 51b53d0 + f283a60 commit d986fbc
Show file tree
Hide file tree
Showing 87 changed files with 25 additions and 8,507 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/ledger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,13 @@ name: CI
on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches: [ main ]
branches:
- main
- develop
pull_request:
branches: [ main ]
branches:
- main
- develop

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand All @@ -20,6 +24,8 @@ jobs:

steps:
- uses: actions/checkout@v2
with:
submodules: true

- name: Build with Clang Static Analyzer
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
workflow_dispatch:
push:
pull_request:
branches: [ main ]
branches: [ main, develop ]

jobs:
configure:
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@
[submodule "deps/nanosplus-secure-sdk"]
path = deps/nanosplus-secure-sdk
url = https://github.com/LedgerHQ/nanosplus-secure-sdk
[submodule "deps/ledger-zxlib"]
path = deps/ledger-zxlib
url = https://github.com/Zondax/ledger-zxlib.git
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@

---

![zondax](docs/zondax.jpg)
![zondax_light](docs/zondax_light.png#gh-light-mode-only)
![zondax_dark](docs/zondax_dark.png#gh-dark-mode-only)

_Please visit our website at [zondax.ch](zondax.ch)_
_Please visit our website at [zondax.ch](https://www.zondax.ch)_

---

Expand Down
4 changes: 2 additions & 2 deletions app/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ all: bin/app.elf
@echo "APPNAME=\"${APPNAME}\"" >> $(OUTPUT_INSTALLER)
@echo "APPVERSION=\"${APPVERSION}\"" >> $(OUTPUT_INSTALLER)
@echo "APPPATH=\""${APPPATH}"\"" >> $(OUTPUT_INSTALLER)
@echo "LOAD_PARAMS=\"${COMMON_LOAD_PARAMS}\"" >> $(OUTPUT_INSTALLER)
@echo "DELETE_PARAMS=\"${COMMON_DELETE_PARAMS}\"" >> $(OUTPUT_INSTALLER)
@echo "LOAD_PARAMS=($$(echo "${APP_LOAD_PARAMS}" | sed -e "s|"${APPNAME}"|\""${APPNAME}"\"|"))" >> $(OUTPUT_INSTALLER)
@echo "DELETE_PARAMS=($$(echo "${COMMON_DELETE_PARAMS}" | sed -e "s|"${APPNAME}"|\""${APPNAME}"\"|"))" >> $(OUTPUT_INSTALLER)
@echo "APPHEX=\"" >> $(OUTPUT_INSTALLER)
@cat $(CURDIR)/bin/app.hex >> $(OUTPUT_INSTALLER)
@echo "\"" >> $(OUTPUT_INSTALLER)
Expand Down
2 changes: 1 addition & 1 deletion app/Makefile.version
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ APPVERSION_M=2
# This is the `spec_version` field of `Runtime`
APPVERSION_N=0
# This is the patch version of this release
APPVERSION_P=1
APPVERSION_P=2
4 changes: 2 additions & 2 deletions app/src/apdu_handler.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ __Z_INLINE void handleGetAddrSecp256K1(volatile uint32_t *flags, volatile uint32

if (requireConfirmation) {
view_review_init(addr_getItem, addr_getNumItems, app_reply_address);
view_review_show();
view_review_show(0x03);
*flags |= IO_ASYNCH_REPLY;
return;
}
Expand Down Expand Up @@ -80,7 +80,7 @@ __Z_INLINE void handleSignSecp256K1(volatile uint32_t *flags, volatile uint32_t

CHECK_APP_CANARY()
view_review_init(tx_getItem, tx_getNumItems, app_sign);
view_review_show();
view_review_show(0x03);
*flags |= IO_ASYNCH_REPLY;
}

Expand Down
1 change: 1 addition & 0 deletions deps/ledger-zxlib
Submodule ledger-zxlib added at ccf9cf
16 changes: 0 additions & 16 deletions deps/ledger-zxlib/.editorconfig

This file was deleted.

29 changes: 0 additions & 29 deletions deps/ledger-zxlib/.github/workflows/main.yml

This file was deleted.

4 changes: 0 additions & 4 deletions deps/ledger-zxlib/.gitignore

This file was deleted.

57 changes: 0 additions & 57 deletions deps/ledger-zxlib/CMakeLists.txt

This file was deleted.

Loading

0 comments on commit d986fbc

Please sign in to comment.