Moved the memory allocator and its util functions out of the EIP712 subdirectory and gave it its own compilation flag

Also removed dead code
This commit is contained in:
Alexandre Paillier
2022-07-05 17:49:45 +02:00
parent 7dad477413
commit a375e5b07d
6 changed files with 30 additions and 62 deletions

View File

@@ -137,9 +137,15 @@ DEFINES += HAVE_NFT_TESTING_KEY
endif
endif
# Dynamic memory allocator
ifneq ($(TARGET_NAME),TARGET_NANOS)
DEFINES += HAVE_DYN_MEM_ALLOC
endif
# EIP-712
ifneq ($(TARGET_NAME),TARGET_NANOS)
DEFINES += HAVE_EIP712_FULL_SUPPORT HAVE_EIP712_TESTING_KEY
DEFINES += HAVE_EIP712_FULL_SUPPORT
DEFINES += HAVE_EIP712_TESTING_KEY
endif
# Enabling debug PRINTF