-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuildConfig.example.json
46 lines (46 loc) · 1.15 KB
/
buildConfig.example.json
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
{
"arduino": {
"root": "/opt/arduino/",
"cmd": "arduino-builder",
"hardware": "hardware",
"tools": "tools-builder",
"libraries": "libraries",
"src": "sonoff_socket.ino",
"build-path": "build"
},
"mqtt": {
"host": "192.168.x.x",
"port": 1883,
"clientId": "device-updater",
"name": "username",
"password": "secret password",
"deviceTopicPrefix": "device/"
},
"wifi": {
"ssid": "",
"password": ""
},
"devices": {
"sonoff-socket-s20": {
"description": "sample device",
"mqttHost": "192.168.x.x",
"mqttPort": 1883,
"mqttUser": "sonoff",
"mqttPassword": "password",
"topic": "",
"fqbn": "esp8266com:esp8266:generic",
"hardware": "hardware/esp8266com/esp8266/libraries",
"tools": "hardware/esp8266com/esp8266/tools/",
"libraries": "hardware/esp8266com/esp8266/libraries",
"prefs": [
"build.flash_ld=/opt/arduino/hardware/esp8266com/esp8266/tools/sdk/ld/eagle.flash.1m64.ld",
"build.flash_freq=40",
"build.flash_size=1M",
"build.flash_mode=dout",
"build.flash_flags=",
"build.f_cpu=80000000",
"runtime.tools.ctags.path=/opt/arduino/tools-builder/ctags/5.8-arduino11"
]
}
}
}