Skip to content

Commit

Permalink
Support esp-idf component manager
Browse files Browse the repository at this point in the history
  • Loading branch information
mzyy94 committed Jan 30, 2024
1 parent 8400745 commit 58ac71e
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
7 changes: 7 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
set(COMPONENT_ADD_INCLUDEDIRS src)
file(GLOB SRCS src/*.cpp)
set(COMPONENT_SRCS ${SRCS})

set(COMPONENT_REQUIRES M5Unified lvgl)

register_component()
7 changes: 7 additions & 0 deletions component.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#
# Main Makefile. This is basically the same as a component makefile.
#
# (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.)

COMPONENT_SRCDIRS := src
COMPONENT_ADD_INCLUDEDIRS := src
10 changes: 10 additions & 0 deletions idf_component.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
dependencies:
M5Unified:
git: https://github.com/m5stack/M5Unified
version: 0.1.12
M5GFX:
git: https://github.com/m5stack/M5GFX
version: 0.1.12
lvgl:
git: https://github.com/lvgl/lvgl
version: v9.0.0

0 comments on commit 58ac71e

Please sign in to comment.