kopia lustrzana https://github.com/pimoroni/pimoroni-pico
pcf85063a: Drop hardware_rtc.
With datetime_t moved to types there is no need to include this as a dependency.pull/1030/head
rodzic
1495805d2b
commit
c08f496ecf
|
@ -1,10 +1,10 @@
|
||||||
set(DRIVER_NAME pcf85063a)
|
set(DRIVER_NAME pcf85063a)
|
||||||
add_library(${DRIVER_NAME} INTERFACE)
|
add_library(${DRIVER_NAME} INTERFACE)
|
||||||
|
|
||||||
target_sources(${DRIVER_NAME} INTERFACE
|
target_sources(${DRIVER_NAME} INTERFACE
|
||||||
${CMAKE_CURRENT_LIST_DIR}/${DRIVER_NAME}.cpp)
|
${CMAKE_CURRENT_LIST_DIR}/${DRIVER_NAME}.cpp)
|
||||||
|
|
||||||
target_include_directories(${DRIVER_NAME} INTERFACE ${CMAKE_CURRENT_LIST_DIR})
|
target_include_directories(${DRIVER_NAME} INTERFACE ${CMAKE_CURRENT_LIST_DIR})
|
||||||
|
|
||||||
# Pull in pico libraries that we need
|
# Pull in pico libraries that we need
|
||||||
target_link_libraries(${DRIVER_NAME} INTERFACE pico_stdlib hardware_i2c hardware_rtc pimoroni_i2c)
|
target_link_libraries(${DRIVER_NAME} INTERFACE pico_stdlib hardware_i2c pimoroni_i2c)
|
||||||
|
|
Ładowanie…
Reference in New Issue