From 02f634bc6977e7a7a9aca82677a6a38d98498959 Mon Sep 17 00:00:00 2001 From: Charles-Edouard de la Vergne Date: Wed, 22 Jan 2025 09:40:29 +0100 Subject: [PATCH] Disable keypad for nano targets until API_LEVEL 23 --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 7a0c926..0f6e160 100644 --- a/Makefile +++ b/Makefile @@ -15,6 +15,8 @@ # limitations under the License. # **************************************************************************** +include $(BOLOS_SDK)/Makefile.target + ######################################## # Mandatory configuration # ######################################## @@ -103,7 +105,9 @@ ENABLE_NBGL_FOR_NANO_DEVICES = 1 ######################################## ENABLE_NBGL_QRCODE = 1 #ENABLE_NBGL_KEYBOARD = 1 +ifeq ($(TARGET_NAME),$(filter $(TARGET_NAME),TARGET_STAX TARGET_FLEX)) ENABLE_NBGL_KEYPAD = 1 +endif ######################################## # Features disablers #