Extended platformio to create gzipped version of SPIFF contents.
This commit is contained in:
@@ -8,19 +8,68 @@
|
||||
; Please visit documentation for the other options and examples
|
||||
; https://docs.platformio.org/page/projectconf.html
|
||||
|
||||
[env:d1_mini]
|
||||
platform = espressif8266
|
||||
board = d1_mini
|
||||
framework = arduino
|
||||
[platformio]
|
||||
env_default = debug_wlan
|
||||
|
||||
[common]
|
||||
app_version = 0.2.22
|
||||
platform = espressif8266
|
||||
lib_deps =
|
||||
# Using a library name
|
||||
MD_Parola
|
||||
MD_MAX72XX
|
||||
IOTAppStory-ESP
|
||||
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}"'
|
||||
|
||||
[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
|
||||
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 = 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}
|
||||
|
||||
Reference in New Issue
Block a user