Created
May 23, 2018 02:05
-
-
Save primetoxinz/31e4359679710278e1eb69dc178c8a0b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmake_minimum_required(VERSION 2.8.4) | |
set(CMAKE_TOOLCHAIN_FILE ${CMAKE_SOURCE_DIR}/cmake/ArduinoToolchain.cmake) | |
set(PROJECT_NAME untitled) | |
project(${PROJECT_NAME}) | |
set(${CMAKE_PROJECT_NAME}_SKETCH untitled.ino) | |
#### Uncomment below additional settings as needed. | |
# set(${CMAKE_PROJECT_NAME}_BOARD mega) | |
# set(${CMAKE_PROJECT_NAME}_PORT /dev/ttyACM0) | |
# set(mega.build.mcu atmega2560) | |
# set(mega.upload.protocol wiring) | |
# set(mega.upload.speed 115200) | |
generate_arduino_firmware(${CMAKE_PROJECT_NAME}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment