Browse Source

added example for devices

master
Robin Thoni 8 years ago
parent
commit
e9884c3cc1
1 changed files with 11 additions and 0 deletions
  1. 11
    0
      CMakeLists.txt

+ 11
- 0
CMakeLists.txt View File

6
 set(${CMAKE_PROJECT_NAME}_BOARD nano328)
6
 set(${CMAKE_PROJECT_NAME}_BOARD nano328)
7
 set(${CMAKE_PROJECT_NAME}_PORT /dev/ttyUSB0)
7
 set(${CMAKE_PROJECT_NAME}_PORT /dev/ttyUSB0)
8
 
8
 
9
+#nano
10
+#set(${CMAKE_PROJECT_NAME}_BOARD nano328)
11
+#set(${CMAKE_PROJECT_NAME}_PORT /dev/ttyUSB0)
12
+
13
+#mega
14
+#set(${CMAKE_PROJECT_NAME}_BOARD mega2560)
15
+#set(${CMAKE_PROJECT_NAME}_PORT /dev/ttyACM0)
16
+
17
+# /usr/share/arduino/hardware/arduino/boards.txt
18
+
19
+
9
 enable_language(ASM)
20
 enable_language(ASM)
10
 
21
 
11
 set(${CMAKE_PROJECT_NAME}_SKETCH main.ino)
22
 set(${CMAKE_PROJECT_NAME}_SKETCH main.ino)

Loading…
Cancel
Save