forked from LeClubSandwichStudio/LaCOOLBoard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
70 lines (62 loc) · 2.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
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
; 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
; http://docs.platformio.org/page/projectconf.html
[platformio]
data_dir = examples/WeatherStation/data
src_dir = examples/WeatherStation/
lib_dir = src/
[common]
board = coolboard
framework = arduino
platform = espressif8266@1.7.0
lib_deps =
ArduinoJson@5.13.1
NeoPixelBus@2.2.9
SparkFun BME280@1.2.0
DallasTemperature@3.8.0
OneWire@2.3.4
https://github.com/cyberp/DS1337
https://github.com/practicalarduino/SHT1x
https://github.com/uChip/MCP342X.git
https://github.com/knolleary/pubsubclient
https://github.com/simon-lacool/I2CSoilMoistureSensor.git
https://github.com/HEADS-project/arduino_msgpack.git
https://github.com/Chris--A/PrintEx.git
build_flags = !echo "-DCOOL_FW_VERSION="\'\"$(git describe --tags --always)\"\' "-Wl,-Tesp8266.flash.4m2m.ld -DVTABLES_IN_FLASH
-D PIO_FRAMEWORK_ARDUINO_LWIP2_LOW_MEMORY -DMQTT_MAX_PACKET_SIZE=4096"
[env:minified]
board = ${common.board}
framework = ${common.framework}
platform = ${common.platform}
lib_deps = ${common.lib_deps}
build_flags = ${common.build_flags} -DCOOL_LEVEL=COOL_WARN
[env:prod]
board = ${common.board}
framework = ${common.framework}
platform = ${common.platform}
lib_deps = ${common.lib_deps}
build_flags = ${common.build_flags}
[env:heap]
board = ${common.board}
framework = ${common.framework}
platform = ${common.platform}
lib_deps = ${common.lib_deps}
build_flags = ${common.build_flags} -DCOOL_HEAP_TRACE
[env:debug]
board = ${common.board}
framework = ${common.framework}
platform = ${common.platform}
lib_deps = ${common.lib_deps}
build_flags = ${common.build_flags} -DCOOL_LEVEL=COOL_DEBUG -DCOOL_HEAP_TRACE -DCOOL_TIMESTAMP_TRACE
[env:trace]
board = ${common.board}
framework = ${common.framework}
platform = ${common.platform}
lib_deps = ${common.lib_deps}
build_flags = ${common.build_flags} -DCOOL_LEVEL=COOL_TRACE -DCOOL_FUNC_TRACE -DCOOL_HEAP_TRACE -DCOOL_TIMESTAMP_TRACE