-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
platformio.ini
43 lines (39 loc) · 1.15 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
; 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]
env_default = sonoff-sc
src_dir = sonoffsc
[common]
platform = atmelavr
board = uno
framework = arduino
build_flags = -Llibs -DDEBUG -Wl,-u,vfprintf -lprintf_flt
lib_deps =
Adafruit Unified Sensor
DHT sensor library
MsTimer2
TimerOne
lib_ignore =
extra_scripts = extra_scripts.py
[env:sonoff-sc]
platform = ${common.platform}
board = ${common.board}
framework = ${common.framework}
lib_deps = ${common.lib_deps}
lib_ignore = ${common.lib_ignore}
build_flags = ${common.build_flags} -DDHT_TYPE=DHT11
extra_scripts = ${common.extra_scripts}
[env:sonoff-sc-pro]
platform = ${common.platform}
board = ${common.board}
framework = ${common.framework}
lib_deps = ${common.lib_deps}
lib_ignore = ${common.lib_ignore}
build_flags = ${common.build_flags} -DDHT_TYPE=DHT22
extra_scripts = ${common.extra_scripts}