Skip to content

Commit

Permalink
feature/EPD47: Integrate st7789 module
Browse files Browse the repository at this point in the history
Signed-off-by: liangyingy <[email protected]>
  • Loading branch information
lbuque committed Jun 1, 2022
1 parent 07927b4 commit e7dfbcd
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
17 changes: 17 additions & 0 deletions extmod/display/st7789/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@

define st7789/info
PKG_NAME:=st7789
PKG_SOURCE_URL:=https://github.com/russhughes/st7789_mpy.git
PKG_SOURCE_PROTO:=git
PKG_SOURCE_VERSION:=master
PKG_SOURCE_MD5:=
endef

include $(INCLUDE_DIR)/download.mk
include $(INCLUDE_DIR)/package.mk

# PKG_DEPEND:=LilyGo-EPD47
# $(foreach var, $(PKG_DEPEND), make -C $(TOP_DIR)/libs/$(var);)
all:
$(eval $(st7789/info))
$(call Package/prereq,$(TARGET_BUILD_DIR))
3 changes: 3 additions & 0 deletions extmod/display/st7789/src/micropython.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
set(ST7789_DIR ${CMAKE_BINARY_DIR}/../st7789)

include(${ST7789_DIR}/st7789/micropython.cmake)

0 comments on commit e7dfbcd

Please sign in to comment.