瀏覽代碼

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

Loading…
取消
儲存