2019-08-02 21:48:36 +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-11-28 18:26:35 +00:00
|
|
|
[platformio]
|
|
|
|
default_envs = esp32
|
|
|
|
|
|
|
|
[extra]
|
|
|
|
lib_deps =
|
|
|
|
63 ; MFRC522
|
|
|
|
https://github.com/me-no-dev/ESPAsyncWebServer.git
|
|
|
|
ArduinoJSON
|
|
|
|
6691 ; TinyXML
|
|
|
|
|
2019-11-11 04:32:41 +00:00
|
|
|
[env:esp32]
|
|
|
|
platform = espressif32
|
|
|
|
board = esp-wrover-kit
|
2019-08-02 21:48:36 +00:00
|
|
|
framework = arduino
|
2019-08-06 18:50:11 +00:00
|
|
|
upload_speed = 512000
|
2019-08-13 17:39:03 +00:00
|
|
|
build_flags=!./build_version.sh
|
2019-11-28 18:26:35 +00:00
|
|
|
lib_deps = ${extra.lib_deps}
|
2019-11-11 04:32:41 +00:00
|
|
|
upload_port = /dev/cu.SLAB_USBtoUART
|
2019-11-29 05:14:45 +00:00
|
|
|
monitor_speed = 115200
|
2019-12-04 05:13:07 +00:00
|
|
|
board_build.embed_files =
|
|
|
|
src/webinterface/timezones.json.gz
|
|
|
|
src/webinterface/index.html.gz
|
2019-11-29 20:16:10 +00:00
|
|
|
;board_build.partitions = partitions.csv
|
2019-11-27 05:51:20 +00:00
|
|
|
;monitor_port = /dev/cu.wchusbserial1420
|
2019-12-04 05:13:07 +00:00
|
|
|
extra_scripts =
|
|
|
|
post:tools/post_build.py
|
2019-11-28 18:26:35 +00:00
|
|
|
|
|
|
|
[env:deploy]
|
|
|
|
platform = espressif32
|
|
|
|
board = esp-wrover-kit
|
|
|
|
framework = arduino
|
|
|
|
lib_deps = ${extra.lib_deps}
|
2019-11-29 05:10:17 +00:00
|
|
|
board_build.embed_txtfiles = src/index.html
|
|
|
|
board_build.partitions = partitions.csv
|