-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
106 lines (96 loc) · 2.75 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
; 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 = nodemcu
[common_env_data]
lib_deps_external =
https://github.com/skoona/Automaton.git#lambda-test
https://github.com/homieiot/homie-esp8266.git#develop
pololu/VL53L1X @ ^1.3.0
https://github.com/vshymanskyy/Preferences.git
; wrw/ESP_EEPROM @ ^2.1.2
build_flags =
-D HOMIE_CONFIG=0
-D PLATFORMIO_BUILD_FLAGS
-D PIO_FRAMEWORK_ARDUINO_LWIP2_LOW_MEMORY
-D NVS_USE_SPIFFS
-Wall
-Wextra
-Wformat=2
-Wmaybe-uninitialized
-Wno-format-nonliteral
-Wno-format-security
-Wno-misleading-indentation
-Wno-deprecated-declarations
-Wno-missing-declarations
-Wno-unused-parameter
-Wno-sign-compare
-Wno-shadow
-Wno-switch-default
-Wno-switch
-Wno-missing-field-initializers
-Wunused-function
-Wunused-but-set-variable
-Wunused-variable
; -D SKN_DISABLE_RELAY
; -Wformat-nonliteral
; -Wmissing-declarations
; -Wswitch-default
; -pedantic
esp8266_monitor_filters =
esp8266_exception_decoder
log2file
time
default
esp32_monitor_filters =
esp32_exception_decoder
log2file
time
default
[env:d1_mini]
platform = espressif8266
board = d1_mini
framework = arduino
lib_deps= ${common_env_data.lib_deps_external}
build_flags = ${common_env_data.build_flags}
monitor_speed = 115200
upload_speed = 460800
monitor_filters = ${common_env_data.esp8266_monitor_filters}
[env:esp12e]
platform = espressif8266
board = esp12e
framework = arduino
lib_deps= ${common_env_data.lib_deps_external}
build_flags = ${common_env_data.build_flags}
monitor_speed = 115200
upload_speed = 460800
monitor_filters = ${common_env_data.esp8266_monitor_filters}
[env:nodemcu]
platform = espressif8266
; board = esp01_1m
board = nodemcu
framework = arduino
lib_deps= ${common_env_data.lib_deps_external}
build_flags = ${common_env_data.build_flags}
monitor_speed = 115200
upload_speed = 460800
; upload_speed = 115200
monitor_filters = ${common_env_data.esp8266_monitor_filters}
[env:esp32dev]
platform = espressif32
board = esp32dev
framework = arduino
board_build.mcu = esp32
board_build.f_cpu = 240000000L
build_flags = ${common_env_data.build_flags}
monitor_speed = 115200
upload_speed = 460800
monitor_filters = ${common_env_data.esp32_monitor_filters}
lib_deps = ${common_env_data.lib_deps_external}