Ver código fonte

PlatformIO Build Configurations

See http://platformio.org/
Richard Wackerbarth 8 anos atrás
pai
commit
4c2948a8e6

+ 2
- 0
PlatformIOAddons/.gitignore Ver arquivo

@@ -0,0 +1,2 @@
1
+.pioenvs
2
+*.dblite

+ 9
- 0
PlatformIOAddons/Readme.md Ver arquivo

@@ -0,0 +1,9 @@
1
+This folder contains the project file to build and install Marlin firmware using the PlatformIO development environment.
2
+
3
+1) Install platformio (See http://platformio.org/)
4
+
5
+....
6
+
7
+x) From this directory
8
+  platformio run
9
+

+ 41
- 0
PlatformIOAddons/platformio.ini Ver arquivo

@@ -0,0 +1,41 @@
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 = ../Marlin
16
+
17
+[env:mega2560]
18
+platform = atmelavr
19
+framework = arduino
20
+board = megaatmega2560
21
+board_f_cpu = 16000000L
22
+
23
+[env:mega1280]
24
+platform = atmelavr
25
+framework = arduino
26
+board = megaatmega1280
27
+board_f_cpu = 16000000L
28
+
29
+[env:printrboard]
30
+platform = teensy
31
+framework = arduino
32
+board = teensy20pp
33
+build_flags = -D MOTHERBOARD=BOARD_PRINTRBOARD
34
+# Bug in arduino framework does not allow boards running at 20Mhz
35
+#board_f_cpu = 20000000L
36
+
37
+[env:brainwavepro]
38
+platform = teensy
39
+framework = arduino
40
+board = teensy20pp
41
+build_flags = -D MOTHERBOARD=BOARD_BRAINWAVE_PRO -D AT90USBxx_TEENSYPP_ASSIGNMENTS

Carregando…
Cancelar
Salvar