mirror of
https://github.com/grymoire/i2c_puppet-Linux.git
synced 2024-12-26 13:38:21 +01:00
21 lines
442 B
CMake
21 lines
442 B
CMake
cmake_minimum_required(VERSION 3.13)
|
|
|
|
set(PICO_PLATFORM "rp2040")
|
|
set(PICO_BOARD_HEADER_DIRS ${CMAKE_CURRENT_LIST_DIR}/boards)
|
|
|
|
include(3rdparty/pico-sdk/pico_sdk_init.cmake)
|
|
|
|
project(i2c_puppet)
|
|
|
|
pico_sdk_init()
|
|
|
|
add_subdirectory(app)
|
|
|
|
# binary info in flash
|
|
pico_set_program_name(i2c_puppet "I2C Puppet")
|
|
pico_set_program_version(i2c_puppet "0.1")
|
|
|
|
# printf targets
|
|
#pico_enable_stdio_usb(i2c_puppet 1)
|
|
pico_enable_stdio_uart(i2c_puppet 1)
|