Skip to content

Commit

Permalink
[clean] First Europa draft, just so it compiles
Browse files Browse the repository at this point in the history
  • Loading branch information
lpascal-ledger committed Mar 11, 2024
1 parent ef798e7 commit a73178a
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 16 deletions.
8 changes: 0 additions & 8 deletions .github/PULL_REQUEST_TEMPLATE.md

This file was deleted.

8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ APP_LOAD_PARAMS = --appFlags 0x10 $(COMMON_LOAD_PARAMS) --curve secp256k1 --path

ifeq ($(TARGET_NAME), TARGET_NANOS)
ICONNAME=icons/nanos_app_recovery_check.gif
else ifeq ($(TARGET_NAME), TARGET_STAX)
else ifeq ($(TARGET_NAME), $(filter $(TARGET_NAME), TARGET_STAX, TARGET_EUROPA))
ICONNAME=icons/stax_recovery_check_32px.gif
else
ICONNAME=icons/nanox_app_recovery_check.gif
Expand All @@ -55,7 +55,7 @@ DEFINES += BOLOS_APP_ICON_SIZE_B=\(9+32\)
DEFINES += IO_USB_MAX_ENDPOINTS=4 IO_HID_EP_LENGTH=64
DEFINES += HAVE_SPRINTF

ifneq ($(TARGET_NAME), TARGET_STAX)
ifneq ($(TARGET_NAME), $(filter $(TARGET_NAME), TARGET_STAX, TARGET_EUROPA))
$(info Using BAGL)
DEFINES += HAVE_BAGL HAVE_UX_FLOW
else
Expand All @@ -67,7 +67,7 @@ ifeq ($(TARGET_NAME), TARGET_NANOS)
DEFINES += IO_SEPROXYHAL_BUFFER_SIZE_B=128
else
DEFINES += IO_SEPROXYHAL_BUFFER_SIZE_B=300
ifneq ($(TARGET_NAME), TARGET_STAX)
ifneq ($(TARGET_NAME), $(filter $(TARGET_NAME), TARGET_STAX, TARGET_EUROPA))
DEFINES += HAVE_GLO096
DEFINES += BAGL_WIDTH=128 BAGL_HEIGHT=64
DEFINES += HAVE_BAGL_ELLIPSIS # long label truncation feature
Expand Down Expand Up @@ -122,7 +122,7 @@ include $(BOLOS_SDK)/Makefile.glyphs
APP_SOURCE_PATH += src

ifneq ($(TARGET_NAME), TARGET_NANOS)
ifneq ($(TARGET_NAME), TARGET_STAX)
ifneq ($(TARGET_NAME), $(filter $(TARGET_NAME), TARGET_STAX, TARGET_EUROPA))
SDK_SOURCE_PATH += lib_ux
endif
endif
Expand Down
2 changes: 1 addition & 1 deletion src/stax/mnemonic.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include "../ux_common/common_bip39.h"
#include "./mnemonic.h"

#if defined(TARGET_STAX)
#if defined(TARGET_STAX) || defined(TARGET_EUROPA)

typedef struct buffer {
// the mnemonic passphrase, built over time
Expand Down
2 changes: 1 addition & 1 deletion src/stax/mnemonic.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#include <stdbool.h>
#include "constants.h"

#if defined(TARGET_STAX)
#if defined(TARGET_STAX) || defined(TARGET_EUROPA)

#define MAX_MNEMONIC_LENGTH (MNEMONIC_SIZE_24 * (MAX_WORD_LENGTH + 1))

Expand Down
2 changes: 1 addition & 1 deletion src/stax/passphrase_length_screen.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include <os.h>
#include "glyphs.h"

#if defined(TARGET_STAX)
#if defined(TARGET_STAX) || defined(TARGET_EUROPA)

#include <nbgl_obj.h>

Expand Down
2 changes: 1 addition & 1 deletion src/stax/passphrase_length_screen.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once

#if defined(TARGET_STAX)
#if defined(TARGET_STAX) || defined(TARGET_EUROPA)

nbgl_image_t *passphrase_length_set_icon(void);
nbgl_text_area_t *passphrase_length_set_title(nbgl_obj_t *align_to);
Expand Down

0 comments on commit a73178a

Please sign in to comment.