Skip to content

Commit

Permalink
fix(CMakeLists):import forgotten library
Browse files Browse the repository at this point in the history
-add "hardware_adc" library
  • Loading branch information
abdullahbagyapan committed Apr 19, 2024
1 parent f082264 commit a52ff79
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ add_subdirectory(temperature)
add_subdirectory(uart)

# Add pico_stdlib library which aggregates commonly used features
target_link_libraries(main pico_stdlib temperature uart)
target_link_libraries(main pico_stdlib hardware_adc temperature uart)


# create map/bin/hex/uf2 file in addition to ELF.
Expand Down
2 changes: 1 addition & 1 deletion temperature/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ file(GLOB FILES *.c *.h)

add_library(temperature ${FILES})

target_link_libraries(temperature pico_stdlib)
target_link_libraries(temperature pico_stdlib hardware_adc)

0 comments on commit a52ff79

Please sign in to comment.