kopia lustrzana https://github.com/pimoroni/pimoroni-pico
41 wiersze
891 B
CMake
41 wiersze
891 B
CMake
include_directories(${CMAKE_CURRENT_LIST_DIR}/../../)
|
|
|
|
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}")
|
|
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/../")
|
|
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/../../")
|
|
|
|
set(CMAKE_C_STANDARD 11)
|
|
set(CMAKE_CXX_STANDARD 17)
|
|
|
|
# Essential
|
|
include(pimoroni_i2c/micropython)
|
|
include(pimoroni_bus/micropython)
|
|
|
|
# Sensors & Breakouts
|
|
include(micropython-common-breakouts)
|
|
|
|
# LEDs & Matrices
|
|
include(plasma/micropython)
|
|
include(hub75/micropython)
|
|
|
|
# Servos & Motors
|
|
include(pwm/micropython)
|
|
include(servo/micropython)
|
|
include(encoder/micropython)
|
|
include(motor/micropython)
|
|
|
|
# Utility
|
|
include(adcfft/micropython)
|
|
|
|
# RTC (Badger 2040W, Enviro)
|
|
if(PICO_BOARD STREQUAL "pico_w")
|
|
include(pcf85063a/micropython)
|
|
endif()
|
|
|
|
include(modules_py/modules_py)
|
|
|
|
include(pint/micropython)
|
|
|
|
# C++ Magic Memory
|
|
include(cppmem/micropython)
|