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:
@@ -37,5 +37,6 @@ endif()
|
||||
idf_component_register(SRCS ${srcs}
|
||||
INCLUDE_DIRS ${include}
|
||||
PRIV_REQUIRES esp_driver_gpio esp_pm esp_mm
|
||||
REQUIRES esp_hal_i2s
|
||||
LDFRAGMENTS linker.lf
|
||||
)
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
#endif
|
||||
#include "esp_log.h"
|
||||
|
||||
#include "soc/i2s_periph.h"
|
||||
#include "hal/i2s_periph.h"
|
||||
#include "soc/soc_caps.h"
|
||||
#include "soc/soc_caps_full.h"
|
||||
#include "hal/i2s_hal.h"
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
#include "esp_private/i2s_platform.h"
|
||||
#include "esp_private/lp_i2s_private.h"
|
||||
#include "i2s_private.h"
|
||||
#include "soc/i2s_periph.h"
|
||||
#include "hal/i2s_periph.h"
|
||||
|
||||
#define LP_I2S_MEM_ALLOC_CAPS (MALLOC_CAP_INTERNAL | MALLOC_CAP_8BIT)
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#include "unity.h"
|
||||
#include "math.h"
|
||||
#include "esp_rom_gpio.h"
|
||||
#include "soc/i2s_periph.h"
|
||||
#include "hal/i2s_periph.h"
|
||||
#include "driver/i2s_std.h"
|
||||
#if SOC_I2S_SUPPORTS_PDM
|
||||
#include "driver/i2s_pdm.h"
|
||||
|
||||
Reference in New Issue
Block a user