1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-01-03 12:00:59 +00:00

options: Add NEM support

This commit is contained in:
Saleem Rashid 2017-05-18 20:17:35 +01:00 committed by Pavol Rusnak
parent 9dfc6a4477
commit 7c3b2d5209
2 changed files with 6 additions and 0 deletions

View File

@ -29,6 +29,7 @@ CFLAGS += -Ichacha20poly1305
CFLAGS += -Ied25519-donna
CFLAGS += -DUSE_ETHEREUM=1
CFLAGS += -DUSE_GRAPHENE=1
CFLAGS += -DUSE_NEM=1
# disable certain optimizations and features when small footprint is required
ifdef SMALL

View File

@ -66,6 +66,11 @@
#define USE_GRAPHENE 0
#endif
// support NEM operations
#ifndef USE_NEM
#define USE_NEM 0
#endif
// support Keccak hashing
#ifndef USE_KECCAK
#define USE_KECCAK 1