2019-01-25 12:14:52 +00:00
|
|
|
; 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
|
|
|
|
|
2019-01-30 15:12:46 +00:00
|
|
|
[platformio]
|
|
|
|
env_default = debug_wlan
|
2019-01-25 12:14:52 +00:00
|
|
|
|
2019-01-30 15:12:46 +00:00
|
|
|
[common]
|
|
|
|
app_version = 0.2.22
|
|
|
|
platform = espressif8266
|
2019-01-25 12:14:52 +00:00
|
|
|
lib_deps =
|
|
|
|
NTPClient
|
2019-01-29 08:49:11 +00:00
|
|
|
ESPAsyncTCP
|
|
|
|
ESP Async WebServer
|
2019-01-30 15:12:46 +00:00
|
|
|
IOTAppStory-ESP
|
|
|
|
|
|
|
|
build_flags =
|
|
|
|
'-DAPP_VERSION="{$common.app_version}"'
|
|
|
|
'-DFS_UPDATE_BASE_URL="{$iotjunkie.baseurl}/{$iotjunkie.repository}"'
|
|
|
|
'-DFS_UPDATE_AUTH_USER="{$iotjunkie.user}"'
|
|
|
|
'-DFS_UPDATE_AUTH_PASSWORD="{$iotjunkie.password}"'
|
2019-01-25 12:14:52 +00:00
|
|
|
|
2019-01-30 15:12:46 +00:00
|
|
|
[env:debug_usb]
|
|
|
|
platform = ${common.platform}
|
|
|
|
board = d1_mini
|
|
|
|
framework = arduino
|
|
|
|
build_flags =
|
|
|
|
${common.build_flags}
|
|
|
|
lib_deps =
|
|
|
|
${common.lib_deps}
|
|
|
|
MD_Parola
|
|
|
|
MD_MAX72XX
|
2019-01-25 12:14:52 +00:00
|
|
|
upload_port = /dev/cu.wchusbserial1420
|
|
|
|
upload_speed = 921600
|
2019-01-30 15:12:46 +00:00
|
|
|
monitor_speed = 115200
|
|
|
|
|
|
|
|
[env:debug_wlan]
|
|
|
|
platform = ${common.platform}
|
|
|
|
board = d1_mini
|
|
|
|
framework = arduino
|
|
|
|
build_flags =
|
|
|
|
${common.build_flags}
|
|
|
|
lib_deps =
|
|
|
|
${common.lib_deps}
|
|
|
|
MD_Parola
|
|
|
|
MD_MAX72XX
|
|
|
|
;upload_port = /dev/cu.wchusbserial1420
|
|
|
|
;upload_speed = 921600
|
|
|
|
monitor_speed = 115200
|
|
|
|
upload_protocol = custom
|
|
|
|
;upload_port = 192.168.89.72
|
|
|
|
extra_scripts =
|
|
|
|
build_files.py
|
|
|
|
;post:publish_firmware.py
|
|
|
|
|
|
|
|
[env:build]
|
|
|
|
;extra_scripts = pre:build_files.py
|
|
|
|
|
|
|
|
[env:uploadfs]
|
|
|
|
;extra_scripts = pre:publish_files.py
|
|
|
|
|
|
|
|
[iotjunkie]
|
|
|
|
user = fcclient
|
|
|
|
password = 63Gs59PWveT6uQSh
|
|
|
|
baseurl = http://ota.iotjunkie.org
|
|
|
|
repository = fcclient
|
|
|
|
;package = bintray-secure-ota
|
|
|
|
; api_token = ***
|
|
|
|
;api_token = ${sysenv.BINTRAY_API_TOKEN}
|