Skip to content

Commit

Permalink
boards/sipeed-longan-nano: default to TFT version if st7735 is used
Browse files Browse the repository at this point in the history
  • Loading branch information
gschorcht committed Jul 12, 2023
1 parent 3f389d0 commit ce653b7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions boards/sipeed-longan-nano/Makefile.include
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
PORT_LINUX ?= /dev/ttyACM0
PROGRAMMER ?= dfu-util

ifneq (,$(filter st7735,$(USEMODULE)))
CFLAGS += '-DCONFIG_SIPEED_LONGAN_NANO_WITH_TFT=1'
endif

include $(RIOTBOARD)/common/gd32v/Makefile.include

0 comments on commit ce653b7

Please sign in to comment.