TM/arduino/CMakeLists.txt

23 lines
776 B
CMake
Raw Permalink Normal View History

2012-09-08 20:00:20 +00:00
set(CMAKE_TOOLCHAIN_FILE cmake/ArduinoToolchain.cmake) # Arduino Toolchain
cmake_minimum_required(VERSION 2.8)
#====================================================================#
# Setup Project #
#====================================================================#
project(WeatherStation C CXX)
set(ARDUINO_DEFAULT_BOARD uno)
set(ARDUINO_DEFAULT_PORT /dev/ttyUSB0)
2012-10-20 15:23:10 +00:00
set(ARDUINO_DEFAULT_SERIAL picocom @SERIAL_PORT@ -b 9600 -l)
2012-09-08 20:00:20 +00:00
#link_directories(${CMAKE_CURRENT_SOURCE_DIR}/../libraries)
generate_arduino_firmware(WeatherStationLogger
SKETCH WeatherStationLogger)
generate_arduino_firmware(WeatherStationWeb
2012-09-15 10:25:54 +00:00
SKETCH WeatherStationWeb)
2012-10-20 12:31:03 +00:00
generate_arduino_firmware(I2CPractise
SKETCH I2CPractise)