浏览代码

default board; default com port; enable asm

master
Robin Thoni 9 年前
父节点
当前提交
e8ffaa123e
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5
    0
      CMakeLists.txt

+ 5
- 0
CMakeLists.txt 查看文件

@@ -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})

正在加载...
取消
保存