Skip to content

Commit

Permalink
[micro_wake_word] Workaround for failing IDF 5+ tests (esphome#7484)
Browse files Browse the repository at this point in the history
  • Loading branch information
kbx81 authored Sep 23, 2024
1 parent 402a6a9 commit 2ff863d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions esphome/components/micro_wake_word/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,13 @@ async def to_code(config):
repo="https://github.com/espressif/esp-tflite-micro",
ref="v1.3.1",
)
# add esp-nn dependency for tflite-micro to work around https://github.com/espressif/esp-nn/issues/17
# ...remove after switching to IDF 5.1.4+
esp32.add_idf_component(
name="esp-nn",
repo="https://github.com/espressif/esp-nn",
ref="v1.1.0",
)

cg.add_build_flag("-DTF_LITE_STATIC_MEMORY")
cg.add_build_flag("-DTF_LITE_DISABLE_X86_NEON")
Expand Down

0 comments on commit 2ff863d

Please sign in to comment.