From b525eec9d73a9d2be2fb5a5f042faea836aba091 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Palmer?= Date: Thu, 22 Feb 2024 10:30:28 +0100 Subject: [PATCH] Makefile: update app flags - Remove APPLICATION_FLAG_BOLOS_SETTINGS for NANOSP - Remove APPLICATION_FLAG_GLOBAL_PIN for NANO(SP/X) and STAX --- Makefile | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index db80ed3e..2862a27f 100644 --- a/Makefile +++ b/Makefile @@ -13,11 +13,28 @@ else ifeq ($(APP),tezos_wallet) APPNAME = "Tezos Wallet" endif +ifeq ($(APP),tezos_baking) + ifeq ($(TARGET_NAME), TARGET_NANOS) -APP_LOAD_FLAGS=--appFlags 0x800 # APPLICATION_FLAG_LIBRARY +# APPLICATION_FLAG_LIBRARY +APP_LOAD_FLAGS=--appFlags 0x800 +else +# APPLICATION_FLAG_LIBRARY + APPLICATION_FLAG_BOLOS_SETTINGS + APPLICATION_FLAG_GLOBAL_PIN +APP_LOAD_FLAGS=--appFlags 0xa40 +endif + else -APP_LOAD_FLAGS=--appFlags 0xa40 # APPLICATION_FLAG_LIBRARY + APPLICATION_FLAG_BOLOS_SETTINGS + BLE SUPPORT + +ifeq ($(TARGET_NAME),$(filter $(TARGET_NAME),TARGET_NANOS TARGET_NANOS2)) +# APPLICATION_FLAG_LIBRARY +APP_LOAD_FLAGS=--appFlags 0x800 +else +# APPLICATION_FLAG_LIBRARY + APPLICATION_FLAG_BOLOS_SETTINGS +APP_LOAD_FLAGS=--appFlags 0xa00 endif + +endif + APP_LOAD_PARAMS=$(APP_LOAD_FLAGS) --curve ed25519 --curve secp256k1 --curve secp256r1 --path "44'/1729'" $(COMMON_LOAD_PARAMS) GIT_DESCRIBE ?= $(shell git describe --tags --abbrev=8 --always --long --dirty 2>/dev/null)