You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
123456789101112 |
- cmake_minimum_required(VERSION 2.8.4)
- set(CMAKE_TOOLCHAIN_FILE ${CMAKE_SOURCE_DIR}/cmake/ArduinoToolchain.cmake)
- set(PROJECT_NAME arduinoProject)
- project(${PROJECT_NAME})
-
- set(${CMAKE_PROJECT_NAME}_BOARD nano328)
- set(${CMAKE_PROJECT_NAME}_PORT /dev/ttyUSB0)
-
- enable_language(ASM)
-
- set(${CMAKE_PROJECT_NAME}_SKETCH main.ino)
- generate_arduino_firmware(${CMAKE_PROJECT_NAME})
|