Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 1 addition & 11 deletions adc/read_vsys/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,14 +1,4 @@
add_library(power_status_adc INTERFACE)
target_sources(power_status_adc INTERFACE
${CMAKE_CURRENT_LIST_DIR}/power_status.c
)
target_include_directories(power_status_adc INTERFACE
${CMAKE_CURRENT_LIST_DIR}
)
target_link_libraries(power_status_adc INTERFACE
hardware_adc
hardware_gpio
)
add_subdirectory(power_status)

add_executable(read_vsys
read_vsys.c
Expand Down
11 changes: 11 additions & 0 deletions adc/read_vsys/power_status/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
add_library(power_status_adc INTERFACE)
target_sources(power_status_adc INTERFACE
${CMAKE_CURRENT_LIST_DIR}/power_status.c
)
target_include_directories(power_status_adc INTERFACE
${CMAKE_CURRENT_LIST_DIR}
)
target_link_libraries(power_status_adc INTERFACE
hardware_adc
hardware_gpio
)
File renamed without changes.
File renamed without changes.