compile with esp mqtt lib
This commit is contained in:
33
lib/espMqttClient/platformio.ini
Normal file
33
lib/espMqttClient/platformio.ini
Normal file
@@ -0,0 +1,33 @@
|
||||
; 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
|
||||
|
||||
[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
|
||||
;extra_scripts = test-coverage.py
|
||||
build_type = debug
|
||||
Reference in New Issue
Block a user