77 lines
1.7 KiB
INI
77 lines
1.7 KiB
INI
; 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]
|
|
env_default = debug_wlan
|
|
|
|
[common]
|
|
app_version = 0.2.22
|
|
platform = espressif8266
|
|
lib_deps =
|
|
NTPClient
|
|
ESPAsyncTCP
|
|
ESP Async WebServer
|
|
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}"'
|
|
-Wl,-Teagle.flash.4m1m.ld
|
|
|
|
[env:debug_usb]
|
|
platform = ${common.platform}
|
|
board = d1_mini
|
|
framework = arduino
|
|
build_flags =
|
|
${common.build_flags}
|
|
lib_deps =
|
|
${common.lib_deps}
|
|
;MD_MAX72XX=https://github.com/MajicDesigns/MD_MAX72XX.git
|
|
;MD_Parola
|
|
upload_port = /dev/cu.wchusbserial1420
|
|
upload_speed = 921600
|
|
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 = build_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}
|