diff --git a/app/Makefile b/app/Makefile index 39b4d0c4..1ffb0280 100755 --- a/app/Makefile +++ b/app/Makefile @@ -83,7 +83,7 @@ endif ifeq ($(TARGET_NAME),TARGET_NANOS) APP_STACK_MIN_SIZE := 1600 else - APP_STACK_MIN_SIZE := 1752 + APP_STACK_MIN_SIZE := 1850 endif include $(CURDIR)/../deps/ledger-zxlib/makefiles/Makefile.platform diff --git a/app/src/common/tx.c b/app/src/common/tx.c index 81d3fb8e..764c2f9b 100644 --- a/app/src/common/tx.c +++ b/app/src/common/tx.c @@ -25,7 +25,7 @@ #define RAM_BUFFER_SIZE 8192 #define FLASH_BUFFER_SIZE 16384 #elif defined(TARGET_NANOX) -#define RAM_BUFFER_SIZE 8158 +#define RAM_BUFFER_SIZE 7168 #define FLASH_BUFFER_SIZE 16384 #elif defined(TARGET_NANOS) #define RAM_BUFFER_SIZE 0 diff --git a/app/src/json/json_parser.h b/app/src/json/json_parser.h index f4044543..d329f651 100644 --- a/app/src/json/json_parser.h +++ b/app/src/json/json_parser.h @@ -31,7 +31,7 @@ extern "C" { #endif /// Max number of accepted tokens in the JSON input -#define MAX_NUMBER_OF_TOKENS 760 +#define MAX_NUMBER_OF_TOKENS 768 // we must limit the number #if defined(TARGET_NANOS)