2021-01-27 11:14:25 +00:00
|
|
|
add_executable(
|
2021-07-12 15:26:41 +01:00
|
|
|
breakout_bh1745_demo
|
2021-01-27 11:14:25 +00:00
|
|
|
demo.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
# Pull in pico libraries that we need
|
2021-07-12 15:26:41 +01:00
|
|
|
target_link_libraries(breakout_bh1745_demo pico_stdlib hardware_spi bh1745)
|
2021-01-27 11:14:25 +00:00
|
|
|
|
|
|
|
# create map/bin/hex file etc.
|
2021-07-12 15:26:41 +01:00
|
|
|
pico_add_extra_outputs(breakout_bh1745_demo)
|