kopia lustrzana https://github.com/pimoroni/pimoroni-pico
15 wiersze
316 B
CMake
15 wiersze
316 B
CMake
add_executable(
|
|
ioe_bg
|
|
ioe_bg.cpp
|
|
)
|
|
|
|
# Pull in pico libraries that we need
|
|
target_link_libraries(ioe_bg pico_stdlib pico_explorer ioexpander)
|
|
|
|
# disable usb output, enable uart output
|
|
pico_enable_stdio_usb(ioe_bg 0)
|
|
pico_enable_stdio_uart(ioe_bg 1)
|
|
|
|
# create map/bin/hex file etc.
|
|
pico_add_extra_outputs(ioe_bg)
|