-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
69 lines (66 loc) · 1.57 KB
/
platformio.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
; PlatformIO Project Configuration File
;
; Build options: build flags, source filter
; Upload options: custom upload port, speed and extra flags
; Library options: dependencies, extra library storages
; Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html
[env:hammer]
platform = atmelavr
board = ATmega328P
framework = arduino
lib_deps =
https://github.com/Club-INTech/I2C-Callables.git
Servo
Wire
build_flags = -DCARTE_HAMMERS
upload_protocol = custom
board_fuses.lfuse = 0xe2
upload_flags =
-c
usbasp
-C
$PROJECT_PACKAGES_DIR/tool-avrdude/avrdude.conf
-p
$BOARD_MCU
upload_command = avrdude $UPLOAD_FLAGS -U flash:w:$SOURCE:i
[env:hammer_reversed]
platform = atmelavr
board = ATmega328P
framework = arduino
lib_deps =
https://github.com/Club-INTech/I2C-Callables.git
Servo
Wire
build_flags = -DCARTE_HAMMERS -DREVERSED
upload_protocol = custom
board_fuses.lfuse = 0xe2
upload_flags =
-c
usbasp
-C
$PROJECT_PACKAGES_DIR/tool-avrdude/avrdude.conf
-p
$BOARD_MCU
upload_command = avrdude $UPLOAD_FLAGS -U flash:w:$SOURCE:i
[env:pumps]
platform = atmelavr
board = ATmega328P
framework = arduino
lib_deps =
https://github.com/Club-INTech/I2C-Callables.git
Servo
Wire
build_flags = -DCARTE_PUMPS
upload_protocol = custom
board_fuses.lfuse = 0xe2
upload_flags =
-c
usbasp
-C
$PROJECT_PACKAGES_DIR/tool-avrdude/avrdude.conf
-p
$BOARD_MCU
upload_command = avrdude $UPLOAD_FLAGS -U flash:w:$SOURCE:i