-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #108 from LedgerHQ/wip-c-sdk-bindings
Wip c sdk bindings
- Loading branch information
Showing
7 changed files
with
110 additions
and
103 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,6 +26,11 @@ jobs: | |
steps: | ||
- name: Clone | ||
uses: actions/checkout@v4 | ||
- name: Cargo update | ||
uses: actions-rs/cargo@v1 | ||
with: | ||
command: update | ||
args: -p [email protected] --precise 0.5.5 | ||
- name: Cargo clippy | ||
uses: actions-rs/cargo@v1 | ||
with: | ||
|
@@ -72,6 +77,11 @@ jobs: | |
steps: | ||
- name: Clone | ||
uses: actions/checkout@v4 | ||
- name: Cargo update | ||
uses: actions-rs/cargo@v1 | ||
with: | ||
command: update | ||
args: -p [email protected] --precise 0.5.5 | ||
- name: Cargo build | ||
uses: actions-rs/cargo@v1 | ||
with: | ||
|
@@ -86,6 +96,11 @@ jobs: | |
steps: | ||
- name: Clone | ||
uses: actions/checkout@v4 | ||
- name: Cargo update | ||
uses: actions-rs/cargo@v1 | ||
with: | ||
command: update | ||
args: -p [email protected] --precise 0.5.5 | ||
- name: Cargo build | ||
uses: actions-rs/cargo@v1 | ||
with: | ||
|
@@ -104,6 +119,11 @@ jobs: | |
steps: | ||
- name: Clone | ||
uses: actions/checkout@v4 | ||
- name: Cargo update | ||
uses: actions-rs/cargo@v1 | ||
with: | ||
command: update | ||
args: -p [email protected] --precise 0.5.5 | ||
- name: Unit tests | ||
uses: actions-rs/cargo@v1 | ||
with: | ||
|
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
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,11 @@ | ||
#define HAVE_LOCAL_APDU_BUFFER | ||
#define IO_HID_EP_LENGTH 64 | ||
#define USB_SEGMENT_SIZE 64 | ||
#define OS_IO_SEPROXYHAL | ||
#define HAVE_IO_USB | ||
#define HAVE_L4_USBLIB | ||
#define HAVE_USB_APDU | ||
#define __IO volatile | ||
#define IO_USB_MAX_ENDPOINTS 6 | ||
#define IO_SEPROXYHAL_BUFFER_SIZE_B 128 | ||
#define main _start |
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,19 @@ | ||
#define HAVE_LOCAL_APDU_BUFFER | ||
#define IO_HID_EP_LENGTH 64 | ||
#define USB_SEGMENT_SIZE 64 | ||
#define OS_IO_SEPROXYHAL | ||
#define HAVE_IO_USB | ||
#define HAVE_L4_USBLIB | ||
#define HAVE_USB_APDU | ||
#define __IO volatile | ||
#define IO_USB_MAX_ENDPOINTS 6 | ||
#define IO_SEPROXYHAL_BUFFER_SIZE_B 128 | ||
#define main _start | ||
|
||
#define HAVE_SEPROXYHAL_MCU | ||
#define HAVE_MCU_PROTECT | ||
#define HAVE_MCU_SEPROXYHAL | ||
#define HAVE_MCU_SERIAL_STORAGE | ||
#define HAVE_SE_BUTTON | ||
#define HAVE_BAGL | ||
#define HAVE_SE_SCREEN |
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