forked from cmmakerclub/MQTT-Connector
-
Notifications
You must be signed in to change notification settings - Fork 1
/
platformio.ini
48 lines (43 loc) · 1.63 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
#
# Project Configuration File
#
# A detailed documentation with the EXAMPLES is located here:
# http://docs.platformio.org/en/latest/projectconf.html
#
# A sign `#` at the beginning of the line indicates a comment
# Comment lines are ignored.
# Simple and base environment
# [env:mybaseenv]
# platform = %INSTALLED_PLATFORM_NAME_HERE%
# framework =
# board =
#
# Automatic targets - enable auto-uploading
# targets = upload
[env:espresso_lite_v2]
platform = espressif8266_stage
framework = arduino
board = espresso_lite_v2
lib_install = 64, 19
; 268, 28
; 268 = ESPert
; 28 = neopixel
upload_speed = 230400
; upload_speed = 460800
extra_script = extra_script.py
; build_flags = '-DWIFI_SSID="Nat"' '-DWIFI_PASSWORD="123456789"' -DDEBUG_ESP_PORT=Serial -DCMMC_MQTT_DEBUG_MODE -DMQTT_DEBUG_LEVEL_VERBOSE -DMQTT_DEBUG_LEVEL_VERBOSE -DMQTT_DEBUG_MODE
build_flags = -DCMMC_MQTT_DEBUG_MODE
; build_flags = -Wl,-Tesp8266.flash.4m.ld
build_flags = -Wl,-Tesp8266.flash.4m1m.ld
; build_flags = '-DWIFI_SSID="THAKSAON-ON_PATRUNGSI"' '-DWIFI_PASSWORD="025276383"' -DDEBUG_ESP_PORT=Serial -DDEBUG_ESP_CORE -DDEBUG_ESP_SSL -DDEBUG_ESP_WIFI -DDEBUG_ESP_HTTP_CLIENT -DDEBUG_ESP_HTTP_UPDATE -DDEBUG_ESP_HTTP_SERVER -DDEBUG_ESP_UPDATER -DDEBUG_ESP_OTA -DDEBUG_TLS_MEM
; -DWIFI_CONNECTOR_DEBUG_MODE
[platformio]
src_dir = examples/basic_dht
; src_dir = examples/basic_mqtt
; src_dir = examples/basic_mqtt_neopixel
; src_dir = examples/basic_mqtt_dht22
; src_dir = examples/wifi_connector/basic_wifi_connector_dht22
; src_dir = examples/wifi_connector/smart_plug
; src_dir = examples/cloudmqtt/dht22_cloudmqtt_test
; lib_dir = ~/Documents/Arduino/libries/
lib_dir = pio_compile_here