Skip to content

Commit

Permalink
Makefiles: Remove DISABLE_UI feature
Browse files Browse the repository at this point in the history
  • Loading branch information
Xavier Chapron committed Feb 7, 2024
1 parent 0016a0b commit 2b4d131
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 11 deletions.
5 changes: 0 additions & 5 deletions Makefile.defines
Original file line number Diff line number Diff line change
Expand Up @@ -164,9 +164,6 @@ LDFLAGS += -L$(BOLOS_SDK)/arch/st33k1/lib/
AFLAGS += -mcpu=cortex-m35p+nodsp -mthumb
endif

DISABLE_UI ?= 0
ifeq ($(DISABLE_UI),0)

ifeq ($(TARGET_NAME),TARGET_STAX)
# For Stax NBGL must be used
USE_NBGL = 1
Expand Down Expand Up @@ -212,8 +209,6 @@ DEFINES += SCREEN_SIZE_NANO
DEFINES += HAVE_BAGL
endif # TARGET_NANOS

endif # DISABLE_UI

ifeq ($(TARGET_NAME),$(filter $(TARGET_NAME),TARGET_NANOX TARGET_NANOS2))
# Screen is directly connected to the SE
DEFINES += HAVE_SE_SCREEN
Expand Down
10 changes: 4 additions & 6 deletions Makefile.rules
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,10 @@
#*******************************************************************************

# temporary redef, to ensure wider compliance of the SDK with pre-1.6 apps
ifeq ($(DISABLE_UI),0)
ifeq ($(USE_NBGL),0)
SDK_SOURCE_PATH += lib_bagl lib_ux
else
SDK_SOURCE_PATH += lib_nbgl lib_ux_stax
endif
ifeq ($(USE_NBGL),0)
SDK_SOURCE_PATH += lib_bagl lib_ux
else
SDK_SOURCE_PATH += lib_nbgl lib_ux_stax
endif

define uniq =
Expand Down

0 comments on commit 2b4d131

Please sign in to comment.