forked from idolpx/mobile-rr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
47 lines (40 loc) · 1.24 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
#
# 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
[env:d1_mini]
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
https://github.com/me-no-dev/ESPAsyncWebServer.git
# Custom Script to run before building SPIFFS image
extra_script = 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 = 921600
# Uncomment the following lines to update Over The Air (OTA)
#upload_port = 10.10.10.1
#upload_flags = --auth=password