-
Notifications
You must be signed in to change notification settings - Fork 6
/
platformio.ini
43 lines (39 loc) · 1.17 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
;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
[env]
platform = espressif8266
board = esp01_1m
framework = arduino
board_build.ldscript = eagle.flash.1m64.ld
board_build.filesystem = littlefs
lib_deps =
knolleary/PubSubClient @ 2.8
git+https://github.com/tzapu/WiFiManager.git#v2.0.16-rc.2
thingpulse/ESP8266 and ESP32 OLED driver for SSD1306 displays @ 4.4.1
lennarthennigs/Button2 @ 2.3.1
arduino-libraries/NTPClient @ 3.2.1
hallard/LibTeleinfo @ 1.1.6
extra_scripts =
pre:buildscript_versioning.py
; pre:pre_upload.py
; The board harware version
build_flags = -D _HW_VER=4
[env:esp01_1m]
board_build.flash_mode = dout
upload_port = /dev/cu.usbserial*
monitor_speed = 115200
upload_speed = 115200
[env:esp01_1m_ota]
upload_port = 192.168.0.128
upload_speed = 921600
upload_protocol = espota
upload_flags =
--port=8266
--auth=admin4tele9Info