Skip to content

Commit ce653b7

Browse files
committed
boards/sipeed-longan-nano: default to TFT version if st7735 is used
1 parent 3f389d0 commit ce653b7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
11
PORT_LINUX ?= /dev/ttyACM0
22
PROGRAMMER ?= dfu-util
3+
4+
ifneq (,$(filter st7735,$(USEMODULE)))
5+
CFLAGS += '-DCONFIG_SIPEED_LONGAN_NANO_WITH_TFT=1'
6+
endif
7+
38
include $(RIOTBOARD)/common/gd32v/Makefile.include

0 commit comments

Comments
 (0)