1
0
mirror of https://github.com/esphome/esphome.git synced 2024-10-05 18:30:57 +01:00

[micro_wake_word] Workaround for failing IDF 5+ tests (#7484)

This commit is contained in:
Keith Burzinski 2024-09-23 01:35:26 -05:00 committed by GitHub
parent 402a6a9edb
commit 2ff863deb3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -419,6 +419,13 @@ async def to_code(config):
repo="https://github.com/espressif/esp-tflite-micro", repo="https://github.com/espressif/esp-tflite-micro",
ref="v1.3.1", 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_STATIC_MEMORY")
cg.add_build_flag("-DTF_LITE_DISABLE_X86_NEON") cg.add_build_flag("-DTF_LITE_DISABLE_X86_NEON")