forked from idolpx/mobile-rr
-
Notifications
You must be signed in to change notification settings - Fork 1
/
platformio.ini
51 lines (43 loc) · 1.28 KB
/
platformio.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#
# Project Configuration File
#
# A detailed documentation with the EXAMPLES is located here:
# http://docs.platformio.org/en/latest/projectconf.html
#
# A sign `#` at the beginning of the line indicates a comment
# Comment lines are ignored.
# Simple and base environment
# [env:mybaseenv]
# platform = %INSTALLED_PLATFORM_NAME_HERE%
# framework =
# board =
#
# Automatic targets - enable auto-uploading
# targets = upload
# command to upload datafiles
# platformio run --target uploadfs
[platformio]
env_default = d1_mini_pro
[env:d1_mini_pro]
platform = espressif8266
framework = arduino
board = d1_mini
board_f_cpu = 160000000L
#build_flags = -ULWIP_OPEN_SRC -Wl,-Tesp8266.flash.4m.ld
build_flags = -Wl,-Tesp8266.flash.4m.ld
lib_deps =
ArduinoJson
ESPAsyncTCP
ESP Async WebServer
# Custom Script to run before building SPIFFS image
extra_scripts = www_proc.py
# Set compress and embed options "gz|css|js|media"
# embedding all media seems to affect captive portal helpers
# they don't automatically open a browser when enabled
custom_option = "gz|css|js"
# Set upload_speed to 115200 (Set to 921600 for fast flashing with D1 Mini)
# upload_speed = 115200
upload_speed = 921600
# Uncomment the following lines to update Over The Air (OTA)
#upload_port = 10.10.10.1
#upload_flags = --auth=password