forked from SignalK/SensESP
-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
88 lines (80 loc) · 2.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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
; 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
; IMPORTANT: This file defines the environment for building SensESP
; itself when doing feature development. It must NOT be used as a template
; for projects merely based on SensESP. For that purpose, use the file
; examples/platformio.ini instead.
[platformio]
;set default_envs to whichever board(s) you use. Build/Run/etc processes those envs
default_envs =
d1_mini
esp32dev
; esp-wrover-kit
[env]
; Global data for all [env:***]
framework = arduino
lib_ldf_mode = deep
monitor_speed = 115200
lib_deps =
ReactESP
ESP8266WebServer
DNSServer
ESPAsyncTCP
ESP Async Webserver
ESP8266WiFi
ESP8266mDNS
ESPAsyncWifiManager
ArduinoJson
WebSockets
pstolarz/OneWireNg
https://github.com/pstolarz/Arduino-Temperature-Control-Library
https://github.com/sivar2311/ESPTrueRandom
https://github.com/pfeerick/elapsedMillis
Wire
Adafruit ADS1X15
Adafruit AHRS
Adafruit BME280 Library
Adafruit BMP280 Library
Adafruit SHT31 Library
Adafruit INA219
Adafruit MAX31856 Library
https://github.com/JoaoLopesF/RemoteDebug.git#0b5a9c1a49fd2ade0e3cadc3a3707781e819359a
[espressif8266_base]
;this section has config items common to all ESP8266 boards
platform = espressif8266
board_build.ldscript = eagle.flash.4m1m.ld
build_flags =
-Wall
-Wno-reorder
extra_scripts = extra_script.py
[env:d1_mini]
extends = espressif8266_base
board = d1_mini
build_flags =
${espressif8266_base.build_flags}
-D LED_BUILTIN=2
board_build.f_cpu = 160000000L
upload_resetmethod = nodemcu
upload_speed = 460800
[espressif32_base]
;this section has config items common to all ESP32 boards
platform = espressif32
build_unflags = -Werror=reorder
board_build.partitions = min_spiffs.csv
monitor_filters = esp32_exception_decoder
[env:esp32dev]
extends = espressif32_base
board = esp32dev
build_flags =
-D LED_BUILTIN=2
[env:esp-wrover-kit]
extends = espressif32_base
board = esp-wrover-kit
upload_speed = 460800