esmp3/platformio.ini

45 lines
1.1 KiB
INI
Raw Normal View History

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
[env:esp32]
platform = espressif32
board = esp-wrover-kit
2019-08-02 21:48:36 +00:00
framework = arduino
upload_speed = 512000
build_flags=!./build_version.sh
2019-11-28 18:26:35 +00:00
lib_deps = ${extra.lib_deps}
upload_port = /dev/cu.SLAB_USBtoUART
monitor_speed = 115200
board_build.embed_files =
src/webinterface/timezones.json.gz
src/webinterface/index.html.gz
;board_build.partitions = partitions.csv
2019-11-27 05:51:20 +00:00
;monitor_port = /dev/cu.wchusbserial1420
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}
board_build.embed_txtfiles = src/index.html
board_build.partitions = partitions.csv