Skip to content

Commit

Permalink
fix appflag
Browse files Browse the repository at this point in the history
  • Loading branch information
overcat committed Apr 21, 2024
1 parent d381f99 commit c93dd6e
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,7 @@ CURVE_APP_LOAD_PARAMS = ed25519
# Most application will have to request a path according to the BIP-0044
# and SLIP-0044 standards.
# If your app needs it, you can specify multiple path by using:
# `PATH_APP_LOAD_PARAMS = "44'/1'" "45'/1'"`
PATH_APP_LOAD_PARAMS = "44'/148'" # purpose=coin(44) / coin_type=Testnet(1)
PATH_APP_LOAD_PARAMS = "44'/148'"

# Setting to allow building variant applications
# - <VARIANT_PARAM> is the name of the parameter which should be set
Expand Down Expand Up @@ -116,6 +115,12 @@ endif

include $(BOLOS_SDK)/Makefile.standard_app

ifeq ($(TARGET_NAME), TARGET_NANOS)
APP_FLAGS_APP_LOAD_PARAMS = 0x800 # APPLICATION_FLAG_LIBRARY
else
APP_FLAGS_APP_LOAD_PARAMS = 0xa00 # APPLICATION_FLAG_LIBRARY + APPLICATION_FLAG_BOLOS_SETTINGS
endif

tests-unit:
cd tests_common_js && npm install && npm run build
cd tests_generate_binary && npm install && npm run generate unit
Expand Down

0 comments on commit c93dd6e

Please sign in to comment.