Skip to content

Commit

Permalink
exclude unused drivers
Browse files Browse the repository at this point in the history
  • Loading branch information
d3v1c3nv11 authored Mar 22, 2021
1 parent 7bde601 commit d61281d
Showing 1 changed file with 1 addition and 22 deletions.
23 changes: 1 addition & 22 deletions components/audio_hal/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
set(COMPONENT_ADD_INCLUDEDIRS ./include
./driver/es8388
./driver/es8374
./driver/es8311
./driver/es7243
./driver/zl38063
./driver/zl38063/api_lib
./driver/zl38063/example_apps
./driver/zl38063/firmware
./driver/include)

# Edit following two lines to set component requirements (see docs)
Expand All @@ -15,20 +8,6 @@ set(COMPONENT_PRIV_REQUIRES audio_sal audio_board mbedtls esp_peripherals displa

set(COMPONENT_SRCS ./audio_hal.c
./driver/es8388/es8388.c
./driver/es8388/headphone_detect.c
./driver/es8374/es8374.c
./driver/es8311/es8311.c
./driver/es7243/es7243.c
./driver/zl38063/zl38063.c
./driver/zl38063/api_lib/vprocTwolf_access.c
./driver/zl38063/api_lib/vproc_common.c
./driver/zl38063/example_apps/tw_hal_verify.c
./driver/zl38063/example_apps/tw_ldcfg.c
./driver/zl38063/example_apps/tw_ldfw.c
./driver/zl38063/example_apps/tw_ldfwcfg.c
./driver/zl38063/example_apps/tw_spi_access.c)
./driver/es8388/headphone_detect.c)

register_component()

target_link_libraries(${COMPONENT_NAME} INTERFACE "-L${CMAKE_CURRENT_LIST_DIR}/driver/zl38063/firmware")
target_link_libraries(${COMPONENT_NAME} INTERFACE firmware)

0 comments on commit d61281d

Please sign in to comment.