Quellcode durchsuchen

Add working PlatformIO support

Andrea Cimbalo vor 8 Jahren
Ursprung
Commit
46196e9ee5
1 geänderte Dateien mit 44 neuen und 0 gelöschten Zeilen
  1. 44
    0
      Marlin/platformio.ini

+ 44
- 0
Marlin/platformio.ini Datei anzeigen

@@ -0,0 +1,44 @@
1
+#
2
+# Project Configuration File
3
+#
4
+# A detailed documentation with the EXAMPLES is located here:
5
+# http://docs.platformio.org/en/latest/projectconf.html
6
+#
7
+
8
+# A sign `#` at the beginning of the line indicates a comment
9
+# Comment lines are ignored.
10
+
11
+# Automatic targets - enable auto-uploading
12
+# targets = upload
13
+
14
+[platformio]
15
+src_dir = ./
16
+env_default = mega2560
17
+
18
+[env:mega2560]
19
+platform = atmelavr
20
+framework = arduino
21
+board = megaatmega2560
22
+build_flags = -I $BUILDSRC_DIR
23
+board_f_cpu = 16000000L
24
+
25
+[env:mega1280]
26
+platform = atmelavr
27
+framework = arduino
28
+board = megaatmega1280
29
+build_flags = -I $BUILDSRC_DIR
30
+board_f_cpu = 16000000L
31
+
32
+[env:printrboard]
33
+platform = teensy
34
+framework = arduino
35
+board = teensy20pp
36
+build_flags =  -I $BUILDSRC_DIR -D MOTHERBOARD=BOARD_PRINTRBOARD
37
+# Bug in arduino framework does not allow boards running at 20Mhz
38
+#board_f_cpu = 20000000L
39
+
40
+[env:brainwavepro]
41
+platform = teensy
42
+framework = arduino
43
+board = teensy20pp
44
+build_flags = -I $BUILDSRC_DIR -D MOTHERBOARD=BOARD_BRAINWAVE_PRO -D AT90USBxx_TEENSYPP_ASSIGNMENTS

Laden…
Abbrechen
Speichern