-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
50 lines (46 loc) · 1.11 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
; 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 = ethermega
[common]
build_flags =
-D VERSION=0.0.1
-D RELEASE_DIR="bin"
lib_deps_builtin =
SPI
Ethernet
lib_deps =
Modbus
ModbusIP
OPC
aREST
; expected controller board ethernet on board mega 2560
[env:ethermega]
platform = atmelavr
board = megaatmega2560
framework = arduino
build_flags =
${common.build_flags}
-D RELEASE_NAME="tracked_motion_controller"
lib_deps =
${common.lib_deps_builtin}
${common.lib_deps}
targets = upload, monitor
monitor_speed = 115200
extra_scripts = post:firmware2release.py
; used predominantly for testing main arduino variant
[env:etheruno]
platform = atmelavr
board = ethernet
framework = arduino
lib_deps =
${common.lib_deps_builtin}
targets = upload, monitor
monitor_speed = 115200