-
-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathplatformio.ini
43 lines (40 loc) · 1000 Bytes
/
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
; 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]
;default_envs = esp8266
[common]
build_flags =
-D DEBUG_ESP_MQTT_CLIENT=1
-D CORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_VERBOSE
-Wall
-Wextra
-std=c++11
-pthread
-ggdb3
[env:native]
platform = native
test_build_src = yes
build_flags =
${common.build_flags}
-lgcov
--coverage
-D EMC_RX_BUFFER_SIZE=100
-D EMC_TX_BUFFER_SIZE=10
-D EMC_MULTIPLE_CALLBACKS=1
-D EMC_USE_MEMPOOL=1
;extra_scripts = test-coverage.py
build_type = debug
test_testing_command =
valgrind
--leak-check=full
--show-leak-kinds=all
--track-origins=yes
--error-exitcode=1
${platformio.build_dir}/${this.__env__}/program