mirror of
https://github.com/esphome/esphome.git
synced 2025-09-01 10:52:19 +01:00
Add some components to the new testing framework (M part 2) (#6208)
This commit is contained in:
11
tests/components/microphone/test.esp32-c3-idf.yaml
Normal file
11
tests/components/microphone/test.esp32-c3-idf.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
i2s_audio:
|
||||
i2s_lrclk_pin: 6
|
||||
i2s_bclk_pin: 7
|
||||
i2s_mclk_pin: 8
|
||||
|
||||
microphone:
|
||||
- platform: i2s_audio
|
||||
id: mic_id_external
|
||||
i2s_din_pin: 3
|
||||
adc_type: external
|
||||
pdm: false
|
11
tests/components/microphone/test.esp32-c3.yaml
Normal file
11
tests/components/microphone/test.esp32-c3.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
i2s_audio:
|
||||
i2s_lrclk_pin: 6
|
||||
i2s_bclk_pin: 7
|
||||
i2s_mclk_pin: 8
|
||||
|
||||
microphone:
|
||||
- platform: i2s_audio
|
||||
id: mic_id_external
|
||||
i2s_din_pin: 3
|
||||
adc_type: external
|
||||
pdm: false
|
15
tests/components/microphone/test.esp32-idf.yaml
Normal file
15
tests/components/microphone/test.esp32-idf.yaml
Normal file
@@ -0,0 +1,15 @@
|
||||
i2s_audio:
|
||||
i2s_lrclk_pin: 13
|
||||
i2s_bclk_pin: 14
|
||||
i2s_mclk_pin: 15
|
||||
|
||||
microphone:
|
||||
- platform: i2s_audio
|
||||
id: mic_id_adc
|
||||
adc_pin: 32
|
||||
adc_type: internal
|
||||
- platform: i2s_audio
|
||||
id: mic_id_external
|
||||
i2s_din_pin: 33
|
||||
adc_type: external
|
||||
pdm: false
|
15
tests/components/microphone/test.esp32.yaml
Normal file
15
tests/components/microphone/test.esp32.yaml
Normal file
@@ -0,0 +1,15 @@
|
||||
i2s_audio:
|
||||
i2s_lrclk_pin: 13
|
||||
i2s_bclk_pin: 14
|
||||
i2s_mclk_pin: 15
|
||||
|
||||
microphone:
|
||||
- platform: i2s_audio
|
||||
id: mic_id_adc
|
||||
adc_pin: 32
|
||||
adc_type: internal
|
||||
- platform: i2s_audio
|
||||
id: mic_id_external
|
||||
i2s_din_pin: 33
|
||||
adc_type: external
|
||||
pdm: false
|
Reference in New Issue
Block a user