2022-12-08 11:04:14 +00:00
|
|
|
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}/../../")
|
|
|
|
|
2023-03-10 20:36:21 +00:00
|
|
|
set(CMAKE_C_STANDARD 11)
|
|
|
|
set(CMAKE_CXX_STANDARD 17)
|
|
|
|
|
2022-12-08 11:04:14 +00:00
|
|
|
# Essential
|
|
|
|
include(pimoroni_i2c/micropython)
|
|
|
|
include(pimoroni_bus/micropython)
|
|
|
|
|
|
|
|
# Pico Graphics Essential
|
|
|
|
include(hershey_fonts/micropython)
|
|
|
|
include(bitmap_fonts/micropython)
|
|
|
|
include(picographics/micropython)
|
|
|
|
|
|
|
|
# Pico Graphics Extra
|
|
|
|
include(jpegdec/micropython)
|
|
|
|
include(qrcode/micropython/micropython)
|
|
|
|
|
|
|
|
# Sensors & Breakouts
|
2023-02-20 15:35:52 +00:00
|
|
|
include(micropython-common-breakouts)
|
2022-12-08 11:04:14 +00:00
|
|
|
include(pcf85063a/micropython)
|
|
|
|
|
|
|
|
# Utility
|
|
|
|
include(adcfft/micropython)
|
|
|
|
include(wakeup/micropython)
|
|
|
|
|
2022-12-08 12:35:57 +00:00
|
|
|
# Configure wakeup for Inky Frame
|
|
|
|
target_compile_definitions(usermod_wakeup INTERFACE
|
2022-12-20 11:59:25 +00:00
|
|
|
-DWAKEUP_HAS_RTC=1
|
2022-12-08 12:35:57 +00:00
|
|
|
-DWAKEUP_HAS_SHIFT_REGISTER=1
|
|
|
|
)
|
|
|
|
|
2022-12-08 11:04:14 +00:00
|
|
|
# LEDs & Matrices
|
|
|
|
include(plasma/micropython)
|
|
|
|
|
|
|
|
# Servos & Motors
|
|
|
|
include(pwm/micropython)
|
|
|
|
include(servo/micropython)
|
|
|
|
include(encoder/micropython)
|
|
|
|
include(motor/micropython)
|
|
|
|
|
2022-12-08 12:35:57 +00:00
|
|
|
include(modules_py/modules_py)
|
|
|
|
|
2023-03-09 11:13:06 +00:00
|
|
|
copy_module(inky_frame.py)
|
2023-03-24 14:44:52 +00:00
|
|
|
|
|
|
|
# C++ Magic Memory
|
|
|
|
include(cppmem/micropython)
|