-
Notifications
You must be signed in to change notification settings - Fork 167
/
platformio.ini
73 lines (65 loc) · 1.59 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
; 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 = openevse
src_dir = firmware/open_evse
[common]
lib_deps =
upload_protocol = usbasp
upload_flags = -F -e
[env:openevse]
# Arduino 1.6.14
#platform = atmelavr@1.4.0
# Arduino 1.6.17
#platform = atmelavr@1.4.1
# Arduino 1.6.23
platform = atmelavr@1.15.0
build_src_flags =
-DOEV6
-DRELAY_PWM
# -DBOOTLOCK
# -DENABLE_CGMI
-DAUTOSVCLEVEL
-DSHOW_DISABLED_TESTS
-DAMMETER
#-DTHREEPHASE
-DRAPI
-DRAPI_SERIAL
-DRAPI_WF
-DRAPI_BTN
#-DPP_AUTO_AMPACITY
-DTIME_LIMIT
-DCHARGE_LIMIT
-DMENNEKES_LOCK
board = openevse
framework = arduino
lib_deps = ${common.lib_deps}
upload_protocol = ${common.upload_protocol}
upload_flags = ${common.upload_flags}
[env:openevse_1-6-14]
platform = atmelavr@1.4.0
board = openevse
framework = arduino
lib_deps = ${common.lib_deps}
upload_protocol = ${common.upload_protocol}
upload_flags = ${common.upload_flags}
[env:openevse_1-6-17]
platform = atmelavr@1.4.1
board = openevse
framework = arduino
lib_deps = ${common.lib_deps}
upload_protocol = ${common.upload_protocol}
upload_flags = ${common.upload_flags}
[env:openevse_1-6-23]
platform = atmelavr@1.15.0
board = openevse
framework = arduino
lib_deps = ${common.lib_deps}
upload_protocol = ${common.upload_protocol}
upload_flags = ${common.upload_flags}