mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 03:00:34 +03:00
refactor(gpio): split GPIO HAL into separate component
cleaned up some includes in GPIO peripheral files
This commit is contained in:
@@ -6,3 +6,4 @@ components/esp_driver_sdm/test_apps/sigma_delta:
|
||||
depends_components:
|
||||
- esp_driver_gpio
|
||||
- esp_driver_sdm
|
||||
- esp_hal_gpio
|
||||
|
||||
@@ -9,9 +9,15 @@ project(sigma_delta_test)
|
||||
|
||||
idf_build_get_property(elf EXECUTABLE)
|
||||
if(CONFIG_COMPILER_DUMP_RTL_FILES)
|
||||
set(SDM_RTL_DIRS
|
||||
${CMAKE_BINARY_DIR}/esp-idf/esp_driver_sdm
|
||||
${CMAKE_BINARY_DIR}/esp-idf/esp_hal_gpio
|
||||
${CMAKE_BINARY_DIR}/esp-idf/hal
|
||||
)
|
||||
string(JOIN "," SDM_RTL_DIRS_JOINED ${SDM_RTL_DIRS})
|
||||
add_custom_target(check_test_app_sections ALL
|
||||
COMMAND ${PYTHON} $ENV{IDF_PATH}/tools/ci/check_callgraph.py
|
||||
--rtl-dirs ${CMAKE_BINARY_DIR}/esp-idf/esp_driver_sdm/,${CMAKE_BINARY_DIR}/esp-idf/hal/
|
||||
--rtl-dirs ${SDM_RTL_DIRS_JOINED}
|
||||
--elf-file ${CMAKE_BINARY_DIR}/sigma_delta_test.elf
|
||||
find-refs
|
||||
--from-sections=.iram0.text
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#include "freertos/task.h"
|
||||
#include "unity.h"
|
||||
#include "driver/sdm.h"
|
||||
#include "soc/sdm_periph.h"
|
||||
#include "hal/sdm_periph.h"
|
||||
#include "esp_attr.h"
|
||||
|
||||
TEST_CASE("sdm_channel_install_uninstall", "[sdm]")
|
||||
|
||||
Reference in New Issue
Block a user