Skip to content

Commit

Permalink
Merge pull request #13 from blooo-io/feat/replatform-app
Browse files Browse the repository at this point in the history
app replarforming
  • Loading branch information
n4l5u0r authored Dec 3, 2024
2 parents c322c3c + df0b72f commit 8287206
Show file tree
Hide file tree
Showing 92 changed files with 4,902 additions and 3,294 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/codeql_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,17 @@ on:
pull_request:
# Excluded path: add the paths you want to ignore instead of deleting the workflow
paths-ignore:
- '.github/workflows/*.yml'
- 'tests/*'
- ".github/workflows/*.yml"
- "tests/*"

jobs:
analyse:
name: Analyse
strategy:
matrix:
sdk: ["$NANOX_SDK", "$NANOSP_SDK", "$STAX_SDK", "$FLEX_SDK"]
sdk: ["$NANOX_SDK", "$NANOSP_SDK"] #, "$STAX_SDK", "$FLEX_SDK"]
#'cpp' covers C and C++
language: [ 'cpp' ]
language: ["cpp"]
runs-on: ubuntu-latest
container:
image: ghcr.io/ledgerhq/ledger-app-builder/ledger-app-builder-legacy:latest
Expand Down
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@ APPVERSION_N = 0
APPVERSION_P = 0
APPVERSION = "$(APPVERSION_M).$(APPVERSION_N).$(APPVERSION_P)"

DEFINES += APPVERSION=\"$(APPVERSION)\"
# Make the version parameters accessible from the app.
DEFINES += APPVERSION_M=$(APPVERSION_M)
DEFINES += APPVERSION_N=$(APPVERSION_N)
DEFINES += APPVERSION_P=$(APPVERSION_P)

# Application source files
APP_SOURCE_PATH += src

Expand Down
2 changes: 1 addition & 1 deletion ledger_app.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[app]
build_directory = "./"
sdk = "C"
devices = ["nanox", "nanos+", "stax", "flex"]
devices = ["nanox", "nanos+"]

[tests]
unit_directory = "./unit-tests/"
Expand Down
6 changes: 6 additions & 0 deletions src/accountSenderView.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#include "globals.h"
#include "ux.h"

UX_STEP_NOCB(ux_sign_flow_account_sender_view,
bnnn_paging,
{.title = "Sender", .text = (char *) global_account_sender.sender});
8 changes: 8 additions & 0 deletions src/accountSenderView.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#ifndef _ACCOUNT_SENDER_VIEW_H_
#define _ACCOUNT_SENDER_VIEW_H_

#include "ux.h"

extern const ux_flow_step_t ux_sign_flow_account_sender_view;

#endif
47 changes: 0 additions & 47 deletions src/address.c

This file was deleted.

24 changes: 0 additions & 24 deletions src/address.h

This file was deleted.

106 changes: 0 additions & 106 deletions src/apdu/dispatcher.c

This file was deleted.

33 changes: 0 additions & 33 deletions src/apdu/dispatcher.h

This file was deleted.

89 changes: 0 additions & 89 deletions src/app_main.c

This file was deleted.

Loading

0 comments on commit 8287206

Please sign in to comment.