1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-22 23:48:12 +00:00

firmware: re-enable Stellar

This reverts commit "firmware: disable Stellar for now"
c82ce39ce5
This commit is contained in:
Pavol Rusnak 2018-08-27 17:20:29 +02:00
parent 988209ab7d
commit c2fa3d8fca
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D
4 changed files with 6 additions and 8 deletions

View File

@ -28,7 +28,7 @@ OBJS += ethereum.o
OBJS += ethereum_tokens.o
OBJS += nem2.o
OBJS += nem_mosaics.o
# OBJS += stellar.o
OBJS += stellar.o
OBJS += debug.o
@ -90,7 +90,7 @@ OBJS += protob/messages-debug.pb.o
OBJS += protob/messages-ethereum.pb.o
OBJS += protob/messages-management.pb.o
OBJS += protob/messages-nem.pb.o
# OBJS += protob/messages-stellar.pb.o
OBJS += protob/messages-stellar.pb.o
OPTFLAGS ?= -Os

View File

@ -56,7 +56,7 @@
#include "rfc6979.h"
#include "gettext.h"
#include "supervise.h"
// #include "stellar.h"
#include "stellar.h"
#include "messages.pb.h"
// message methods
@ -248,5 +248,5 @@ static bool fsm_layoutAddress(const char *address, const char *desc, bool ignore
#include "fsm_msg_ethereum.h"
#include "fsm_msg_crypto.h"
#include "fsm_msg_nem.h"
// #include "fsm_msg_stellar.h"
#include "fsm_msg_stellar.h"
#include "fsm_msg_debug.h"

View File

@ -26,7 +26,7 @@
#include "messages-ethereum.pb.h"
#include "messages-management.pb.h"
#include "messages-nem.pb.h"
// #include "messages-stellar.pb.h"
#include "messages-stellar.pb.h"
// message functions
@ -87,7 +87,6 @@ void fsm_msgCosiCommit(CosiCommit *msg);
void fsm_msgCosiSign(CosiSign *msg);
// Stellar
/*
void fsm_msgStellarGetAddress(StellarGetAddress *msg);
void fsm_msgStellarGetPublicKey(StellarGetPublicKey *msg);
void fsm_msgStellarSignTx(StellarSignTx *msg);
@ -102,7 +101,6 @@ void fsm_msgStellarAllowTrustOp(StellarAllowTrustOp *msg);
void fsm_msgStellarAccountMergeOp(StellarAccountMergeOp *msg);
void fsm_msgStellarManageDataOp(StellarManageDataOp *msg);
void fsm_msgStellarBumpSequenceOp(StellarBumpSequenceOp *msg);
*/
// debug message functions
#if DEBUG_LINK

View File

@ -23,7 +23,7 @@ messages_%_pb2.py: messages-%.proto
$(Q)protoc -I/usr/include -I. $< --python_out=.
messages_map.h: messages_map.py messages_pb2.py
$(Q)$(PYTHON) $< | grep -v -e MessageType_Cardano -e MessageType_Lisk -e MessageType_Tezos -e MessageType_Ripple -e MessageType_Stellar > $@
$(Q)$(PYTHON) $< | grep -v -e MessageType_Cardano -e MessageType_Lisk -e MessageType_Tezos -e MessageType_Ripple > $@
clean:
rm -f *.pb *.o *.d *.pb.c *.pb.h *_pb2.py messages_map.h