22 lines
936 B
CMake
22 lines
936 B
CMake
|
#=============================================================================#
|
||
|
# Author: QueezyTheGreat #
|
||
|
# Date: 26.04.2011 #
|
||
|
# #
|
||
|
# Description: Arduino CMake example #
|
||
|
# #
|
||
|
#=============================================================================#
|
||
|
set(CMAKE_TOOLCHAIN_FILE ArduinoToolchain) # Arduino Toolchain
|
||
|
|
||
|
cmake_minimum_required(VERSION 2.8.5)
|
||
|
|
||
|
project(ReflowCtl C CXX)
|
||
|
|
||
|
|
||
|
set(ARDUINO_DEFAULT_BOARD diecimila) # Default Board ID, when not specified
|
||
|
set(ARDUINO_DEFAULT_PORT /dev/ttyUSB0) # Default Port, when not specified
|
||
|
|
||
|
generate_arduino_firmware(reflowctl
|
||
|
SKETCH reflowctl
|
||
|
PORT /dev/ttyUSB0
|
||
|
BOARD diecimila)
|