Ver código fonte

default board; default com port; enable asm

master
Robin Thoni 9 anos atrás
pai
commit
e8ffaa123e
1 arquivos alterados com 5 adições e 0 exclusões
  1. 5
    0
      CMakeLists.txt

+ 5
- 0
CMakeLists.txt Ver arquivo

@@ -3,5 +3,10 @@ set(CMAKE_TOOLCHAIN_FILE ${CMAKE_SOURCE_DIR}/cmake/ArduinoToolchain.cmake)
3 3
 set(PROJECT_NAME arduinoProject)
4 4
 project(${PROJECT_NAME})
5 5
 
6
+set(${CMAKE_PROJECT_NAME}_BOARD nano328)
7
+set(${CMAKE_PROJECT_NAME}_PORT /dev/ttyUSB0)
8
+
9
+enable_language(ASM)
10
+
6 11
 set(${CMAKE_PROJECT_NAME}_SKETCH arduinoProject.ino)
7 12
 generate_arduino_firmware(${CMAKE_PROJECT_NAME})

Carregando…
Cancelar
Salvar