forked from openenergymonitor/open_evse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
99 lines (88 loc) · 2.44 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
; PlatformIO Project Configuration File
;
; Build options: build flags, source filter, extra scripting
; Upload options: custom port, speed and extra flags
; Library options: dependencies, extra library storages
;
; Please visit documentation for the other options and examples
; http://docs.platformio.org/en/stable/projectconf.html
[platformio]
default_envs = emonevse
src_dir = firmware/open_evse
[common]
lib_deps =
upload_protocol = usbasp
upload_flags = -p m328p -B0.5 -Pusb
[env:openevse]
# Arduino 1.6.14
#platform = [email protected]
# Arduino 1.6.17
#platform = [email protected]
# Arduino 1.6.23
platform = [email protected]
board = openevse
framework = arduino
lib_deps = ${common.lib_deps}
upload_protocol = ${common.upload_protocol}
upload_flags = ${common.upload_flags}
src_build_flags=-D 'VERSION="6.3.1.EU"'
[env:openevse_1-6-14]
platform = [email protected]
board = openevse
framework = arduino
lib_deps = ${common.lib_deps}
upload_protocol = ${common.upload_protocol}
upload_flags = ${common.upload_flags}
src_build_flags=-D 'VERSION="6.3.1.EU"'
[env:openevse_1-6-17]
platform = [email protected]
board = openevse
framework = arduino
lib_deps = ${common.lib_deps}
upload_protocol = ${common.upload_protocol}
upload_flags = ${common.upload_flags}
src_build_flags=-D 'VERSION="6.3.1.EU"'
[env:openevse_1-6-23]
platform = [email protected]
board = openevse
framework = arduino
lib_deps = ${common.lib_deps}
upload_protocol = ${common.upload_protocol}
upload_flags = ${common.upload_flags}
src_build_flags=-D 'VERSION="6.3.1.EU"'
# Non-tethered T2 EmonEVSE single-phase
[env:emonevse]
platform = [email protected]
board = openevse
framework = arduino
upload_protocol = usbasp
; upload_protocol = stk500v2
upload_flags = -p m328p
# Enable PP_AUTO_AMPACITY (don't exceed max current capacity of non-tethered cable)
src_build_flags=
-D PP_AUTO_AMPACITY
-D 'VERSION="6.3.1.T2"'
# Non-tethered T2 EmonEVSE three-phase
[env:emonevse-3ph]
platform = [email protected]
board = openevse
framework = arduino
upload_protocol = usbasp
; upload_protocol = stk500v2
upload_flags = -p m328p
# Enable PP_AUTO_AMPACITY (don't exceed max current capacity of non-tethered cable)
src_build_flags=
-D PP_AUTO_AMPACITY
-D THREEPHASE
-D 'VERSION="6.3.1.3P"'
# EU OpenEVSE
# Level 2 default, max 32A
[env:emonevse]
platform = [email protected]
board = openevse
framework = arduino
upload_protocol = usbasp
; upload_protocol = stk500v2
upload_flags = -p m328p
src_build_flags=
-D 'VERSION="6.3.1.EU"'