-
Notifications
You must be signed in to change notification settings - Fork 288
/
platformio.ini
68 lines (62 loc) · 2 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
; 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]
src_dir = .
include_dir = .
[env:d1_mini]
platform = [email protected]
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 @ ^0.2.0
; ignore html2raw.cpp source file for firmware compilation (external helper program)
build_src_filter = +<*> -<html/*> --<external/*>
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/*> --<external/*>
monitor_speed=115200
; The following env is for syntax highlighting only,
; it is NOT for building the firmware for Linux.
; To build the firmware for Linux, please follow:
; https://openthings.freshdesk.com/support/solutions/articles/5000631599
[env:linux]
platform = native
build_flags =
${env.build_flags}
-DOSPI
; The following env is for syntax highlighting only,
; it is NOT for building the firmware for Linux.
; To build the firmware for Linux, please follow:
; https://openthings.freshdesk.com/support/solutions/articles/5000631599
[env:demo]
platform = native
build_flags =
${env.build_flags}
-DDEMO