Skip to content

Commit

Permalink
Makefile: update app flags
Browse files Browse the repository at this point in the history
 - Remove APPLICATION_FLAG_BOLOS_SETTINGS for NANOSP
 - Remove APPLICATION_FLAG_GLOBAL_PIN for NANO(SP/X) and STAX
  • Loading branch information
spalmer25 committed Feb 22, 2024
1 parent 29c547a commit b525eec
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit b525eec

Please sign in to comment.