forked from OpenSprinkler/OpenSprinkler-Firmware
-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
52 lines (48 loc) · 1.62 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
; 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
; adapt to the already existing folder structure.
; usually there's src/ and include/ folders.
; redirect them both.
[platformio]
src_dir = .
include_dir = .
[env:d1_mini]
platform = espressif8266@4.2.0
board = d1_mini
framework = arduino
lib_ldf_mode = deep
lib_deps =
sui77/rc-switch @ ^2.6.3
https://github.com/ThingPulse/esp8266-oled-ssd1306/archive/4.2.0.zip
knolleary/PubSubClient @ ^2.8
https://github.com/OpenThingsIO/OpenThings-Framework-Firmware-Library/archive/refs/heads/master.zip
https://github.com/Links2004/arduinoWebSockets/archive/refs/tags/2.3.5.zip
; ignore html2raw.cpp source file for firmware compilation (external helper program)
build_src_filter = +<*> -<html/*>
upload_speed = 460800
monitor_speed=115200
board_build.flash_mode = dio
board_build.ldscript = eagle.flash.4m2m.ld
board_build.f_cpu = 160000000L
board_build.f_flash = 80000000L
;[env:sanguino_atmega1284p]
;platform = atmelavr
;board = ATmega1284P
;board_build.f_cpu = 16000000L
;board_build.variant = sanguino
;framework = arduino
;lib_ldf_mode = deep
;lib_deps =
; https://github.com/UIPEthernet/UIPEthernet/archive/refs/tags/v2.0.12.zip
; knolleary/PubSubClient @ ^2.8
; greiman/SdFat @ 1.0.7
; Wire
;build_src_filter = +<*> -<html/*>
;monitor_speed=115200