Skip to content

Commit

Permalink
stack fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ftheirs committed Jul 23, 2024
1 parent a7e8e05 commit 0c8992c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion app/src/common/tx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion app/src/json/json_parser.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 0c8992c

Please sign in to comment.