Skip to content

Commit

Permalink
Merge pull request #414 from LedgerHQ/fix/apa/debug_without_seproxyhal
Browse files Browse the repository at this point in the history
Force enable seproxyhal in case of a debug build in the standard app …
  • Loading branch information
apaillier-ledger authored Aug 31, 2023
2 parents 204c9b6 + 88b9a5f commit 5b076fe
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Makefile.standard_app
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,12 @@ ifneq ($(DISABLE_STANDARD_SNPRINTF), 1)
DEFINES += HAVE_SPRINTF HAVE_SNPRINTF_FORMAT_U
endif

ifneq ($(TARGET_NAME),TARGET_NANOS)
ifneq ($(DEBUG), 0)
# Since the PRINTF implementation uses the USB code
ifneq ($(DEBUG), 0)
ifneq ($(TARGET_NAME),TARGET_NANOS)
DISABLE_STANDARD_USB = 0
endif
DISABLE_SEPROXYHAL = 0
endif

ifneq ($(DISABLE_STANDARD_USB), 1)
Expand Down

0 comments on commit 5b076fe

Please sign in to comment.