aboutsummaryrefslogtreecommitdiff
path: root/puzzle/dummy/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'puzzle/dummy/CMakeLists.txt')
-rw-r--r--puzzle/dummy/CMakeLists.txt7
1 files changed, 4 insertions, 3 deletions
diff --git a/puzzle/dummy/CMakeLists.txt b/puzzle/dummy/CMakeLists.txt
index 63c4449..7edce2b 100644
--- a/puzzle/dummy/CMakeLists.txt
+++ b/puzzle/dummy/CMakeLists.txt
@@ -11,10 +11,10 @@ add_compile_definitions(DEBUG)
# arduino
set(CMAKE_TOOLCHAIN_FILE ${CMAKE_SOURCE_DIR}/lib/Arduino-CMake-Toolchain/Arduino-toolchain.cmake)
-# set(ARDUINO_BOARD "Arduino Uno [avr.uno]")
-set(ARDUINO_BOARD "Arduino Mega or Mega 2560 [avr.mega]")
+set(ARDUINO_BOARD "Arduino Uno [avr.uno]")
+# set(ARDUINO_BOARD "Arduino Mega or Mega 2560 [avr.mega]")
-# freertos
+# freertos (used for memory management only)
add_library(freertos_config INTERFACE)
target_include_directories(freertos_config SYSTEM INTERFACE .)
set(FREERTOS_PORT GCC_ATMEGA)
@@ -28,6 +28,7 @@ set(FREERTOS_HEAP 4)
project(pb_mod_dummy C CXX)
add_subdirectory(lib/pbdrv)
+include(lib/pbdrv/ext/freertos/include.cmake)
add_subdirectory(lib/FreeRTOS-Kernel)
add_executable(main