mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-01 18:50:34 +03:00
feat(hal): graudate the I2S hal driver into a new component
This commit is contained in:
@@ -8,6 +8,6 @@ endif()
|
||||
# In order for the cases defined by `TEST_CASE` to be linked into the final elf,
|
||||
# the component can be registered as WHOLE_ARCHIVE
|
||||
idf_component_register(SRCS ${srcs}
|
||||
PRIV_REQUIRES unity esp_driver_pcnt esp_adc
|
||||
PRIV_REQUIRES unity esp_driver_pcnt esp_adc esp_hal_i2s
|
||||
esp_driver_dac esp_driver_gpio esp_driver_i2s esp_driver_spi
|
||||
WHOLE_ARCHIVE)
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
#if CONFIG_IDF_TARGET_ESP32
|
||||
#include "esp_private/i2s_platform.h"
|
||||
// Following headers are used to test the conversion frequency
|
||||
#include "soc/i2s_periph.h"
|
||||
#include "hal/i2s_periph.h"
|
||||
#include "driver/pulse_cnt.h"
|
||||
#elif CONFIG_IDF_TARGET_ESP32S2
|
||||
#include "esp_private/spi_common_internal.h"
|
||||
|
||||
Reference in New Issue
Block a user