Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

modify some file for use as component at ESP-IDF 3.3 project #202

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ if(CONFIG_M5STACK_FIRE)
list(APPEND DEFINITIONS "M5STACK_FIRE")
endif(CONFIG_M5STACK_FIRE)

target_compile_definitions(${COMPONENT_NAME} PUBLIC ${DEFINITIONS})
target_compile_definitions(${COMPONENT_TARGET} PUBLIC ${DEFINITIONS})

20 changes: 20 additions & 0 deletions Kconfig.projbuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
menu "M5Stack"

choice CORE_TYPE
prompt "Type of Core"
default M5STACK_BASIC
help
Type of Core.

config M5STICK
bool "M5Stick"
config M5STACK_BASIC
bool "M5Stack Basic"
config M5STACK_GRAY
bool "M5Stack Gray"
config M5STACK_FIRE
bool "M5Stack Fire"
endchoice

endmenu