refactor(ana_cmpr): make analog comparator driver as component
This commit is contained in:
@@ -22,6 +22,9 @@ examples/peripherals/analog_comparator:
|
||||
- if: IDF_TARGET == "esp32p4"
|
||||
temporary: true
|
||||
reason: not supported yet
|
||||
depends_components:
|
||||
- esp_driver_gpio
|
||||
- esp_driver_ana_cmpr
|
||||
|
||||
examples/peripherals/dac:
|
||||
disable:
|
||||
|
||||
@@ -5,4 +5,6 @@
|
||||
cmake_minimum_required(VERSION 3.16)
|
||||
|
||||
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
||||
set(COMPONENTS main)
|
||||
|
||||
project(analog_comparator_example)
|
||||
|
||||
@@ -7,4 +7,5 @@ else()
|
||||
endif()
|
||||
|
||||
idf_component_register(SRCS ${src}
|
||||
PRIV_REQUIRES esp_driver_ana_cmpr esp_driver_gpio
|
||||
INCLUDE_DIRS ".")
|
||||
|
||||
Reference in New Issue
Block a user