From 88b9a5fa9af517c152a666e6078ebd08ed89dbfe Mon Sep 17 00:00:00 2001 From: Alexandre Paillier Date: Thu, 31 Aug 2023 16:23:42 +0200 Subject: [PATCH] Force enable seproxyhal in case of a debug build in the standard app Makefile Just like USB on devices other than the LNS --- Makefile.standard_app | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile.standard_app b/Makefile.standard_app index 018b218ca..6ec33509f 100644 --- a/Makefile.standard_app +++ b/Makefile.standard_app @@ -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)