2019-02-06 23:22:59 +01:00
|
|
|
cmake_minimum_required(VERSION 3.0.0)
|
|
|
|
|
|
|
|
set(AVR_MCU attiny84)
|
2019-02-08 22:22:28 +01:00
|
|
|
include(${CMAKE_CURRENT_SOURCE_DIR}/../avr-toolchain.cmake)
|
2019-02-06 23:22:59 +01:00
|
|
|
|
|
|
|
project(slider_firmware C)
|
|
|
|
|
2019-02-08 22:22:28 +01:00
|
|
|
add_subdirectory(SliderCommunication)
|
|
|
|
|
2019-02-10 19:12:40 +01:00
|
|
|
add_avr_executable(slider_firmware led.c main.c adc.c button.c)
|
2019-02-08 22:22:28 +01:00
|
|
|
target_link_libraries(slider_firmware DSPLAB_SliderCommunication)
|