-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathplatformio.ini
75 lines (60 loc) · 1.72 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
70
71
72
73
74
75
; 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
[platformio]
[env]
default = nanoatmega328
platform = atmelavr
framework = arduino
upload_port = /dev/ttyUSB0
monitor_speed = 9600
monitor_port = /dev/ttyUSB1
lib_deps =
waspinator/AccelStepper@^1.64
paulstoffregen/OneWire@^2.3.5
milesburton/DallasTemperature@^3.9.1
paulstoffregen/TimerOne@^1.1
[A4988driver]
build_flags = -DUSE_DRIVER
[debug]
build_flags = -DDEBUG
build_type = debug
debug_tool = simavr
lib_deps =
${env.lib_deps}
https://github.com/Schallbert/SoftwareSerial.git#linkerErrorFixForNonOptimizedBuild
# Arduino Nano
[env:nanoatmega328]
board = nanoatmega328
[env:nanoatmega328_A4988driver]
extends = env:nanoatmega328, A4988driver
[env:nanoatmega328_A4988driver_debug]
extends = env:nanoatmega328
build_flags = -DDEBUG -DUSE_DRIVER
build_type = debug
debug_tool = simavr
lib_deps =
${env.lib_deps}
https://github.com/Schallbert/SoftwareSerial.git#linkerErrorFixForNonOptimizedBuild
[env:nanoatmega328_debug]
extends = env:nanoatmega328, debug
# Arduino Nano (new bootloader)
[env:nanoatmega328new]
board = nanoatmega328new
[env:nanoatmega328new_A4988driver]
extends = env:nanoatmega328new, A4988driver
[env:nanoatmega328new_debug]
extends = env:nanoatmega328new, debug
# Sparkfun ProMicro
[env:promicro16]
board = sparkfun_promicro16
[env:promicro16_A4988driver]
extends = env:promicro16, A4988driver
[env:promicro16_debug]
extends = env:promicro16, debug