-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathplatformio.ini
More file actions
44 lines (40 loc) · 1.22 KB
/
platformio.ini
File metadata and controls
44 lines (40 loc) · 1.22 KB
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
; 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
[platformio]
default_envs = d1_mini_serial
; See example_env_secrets.ini for an example of how to use this file
extra_configs =
env_secrets.ini
; Common settings for all environments
[env]
framework = arduino
lib_ldf_mode = deep+
board_build.filesystem = littlefs
; Memory Partitioning:
; The following line is important as it defines how the flash memory
; is partitioned. For example, eagle.flash.4m1m.ld means:
; 4MB total flash
; 1MB allocated for filesystem
; Remaining space for program storage
board_build.ldscript = eagle.flash.4m1m.ld
lib_deps =
adafruit/Adafruit SHT31 Library@^2.2.2
adafruit/Adafruit SSD1306@^2.5.13
bblanchon/ArduinoJson@^7.2.0
tzapu/WiFiManager@^2.0.17
[env:d1_mini_serial]
platform = espressif8266
board = d1_mini
monitor_speed = 115200
upload_speed = 460800
[env:d1_mini_ota]
platform = espressif8266
board = d1_mini
upload_protocol = espota