Implement INMP441 noise indicator with RGB LED feedback and update project configuration

This commit is contained in:
2026-10-13 18:36:38 -05:00
parent 5a3b03edc4
commit 7da1c2119d
17 changed files with 185 additions and 142 deletions
+17
View File
@@ -0,0 +1,17 @@
# SPDX-FileCopyrightText: 2022-2025 Espressif Systems (Shanghai) CO LTD
# SPDX-License-Identifier: CC0-1.0
import logging
import os
import pytest
from pytest_embedded_idf.dut import IdfDut
from pytest_embedded_idf.utils import idf_parametrize
@pytest.mark.generic
@idf_parametrize('target', ['supported_targets'], indirect=['target'])
def test_buzz_detector(dut: IdfDut) -> None:
# check and log bin size
binary_file = os.path.join(dut.app.binary_path, 'buzz_detector.bin')
bin_size = os.path.getsize(binary_file)
logging.info('buzz_detector_bin_size : {}KB'.format(bin_size // 1024))