Skip to content

Commit

Permalink
remove spiffs component of m5-tft from EXTRA_COMPONENT_DIRS
Browse files Browse the repository at this point in the history
  • Loading branch information
wqx6 committed May 13, 2021
1 parent 7e95d76 commit 74b8d43
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
3 changes: 2 additions & 1 deletion examples/all-clusters-app/esp32/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ set(EXTRA_COMPONENT_DIRS
if(${IDF_TARGET} STREQUAL "esp32")
set(EXTRA_COMPONENT_DIRS
${EXTRA_COMPONENT_DIRS}
"${CMAKE_CURRENT_LIST_DIR}/../../common/m5stack-tft/repo/components"
"${CMAKE_CURRENT_LIST_DIR}/../../common/m5stack-tft/repo/components/tft"
"${CMAKE_CURRENT_LIST_DIR}/../../common/m5stack-tft/repo/components/spidriver"
"${CMAKE_CURRENT_LIST_DIR}/../../common/screen-framework"
)
endif()
Expand Down
3 changes: 2 additions & 1 deletion examples/all-clusters-app/esp32/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ PROJECT_NAME := chip-all-clusters-app
EXTRA_COMPONENT_DIRS += $(PROJECT_PATH)/third_party/connectedhomeip/config/esp32/components \
$(PROJECT_PATH)/../../common/QRCode \
ifeq($(IDF_TARGET),'esp32')
EXTRA_COMPONENT_DIRS += $(PROJECT_PATH)/../../common/m5stack-tft/repo/components \
EXTRA_COMPONENT_DIRS += $(PROJECT_PATH)/../../common/m5stack-tft/repo/components/tft \
$(PROJECT_PATH)/../../common/m5stack-tft/repo/components/spidriver \
$(PROJECT_PATH)/../../common/screen-framework \
endif
CXXFLAGS += -std=gnu++14 -Os -DLWIP_IPV6_SCOPES=0
Expand Down
4 changes: 4 additions & 0 deletions examples/all-clusters-app/esp32/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,10 @@ If packages are already installed then simply activate it.
Rendezvous mode so that the device can communicate over an insecure channel.
This can be done through `Demo`->`Rendezvous Mode`->`Bypass`

If you are using `ESP32C3-DevKitM` and need BLEAdvertising, please enable host based
privacy for random address through `Component config`->`Bluetooth`->'NimBLE Options'->
`enable host based privacy form random address`.

To connect the ESP32 to your network, configure the Wi-Fi SSID and Passphrase through
`Component config`->`CHIP Device Layer`->`WiFi Station Options`->`Default WiFi SSID` and
`Default WiFi Password` respectively.
Expand Down

0 comments on commit 74b8d43

Please sign in to comment.