-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature/EPD47: Integrate st7789 module
Signed-off-by: liangyingy <[email protected]>
- Loading branch information
Showing
2 changed files
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |