-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathplatformio.ini
44 lines (34 loc) · 1004 Bytes
/
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
[platformio]
default_envs=esp01s/complete
; default_envs = espdev/complete
data_dir = ./data
[common]
qarduino_core_2_6_3 = [email protected]
arduino_core_2_7_4 = [email protected]
arduino_core_3_0_0 = [email protected]
# Platform to use for ESP8266
platform_hivemon_default = ${common.arduino_core_2_7_4}
BUILD_FLAGS= -D WIFI_CONNECT_TRY_COUNTER=10
[env]
framework = arduino
board_build.flash_mode = dout
monitor_speed = 115200
upload_speed = 921600
monitor_filters =colorize, default, esp8266_exception_decoder, printable, send_on_enter, time
lib_compat_mode = strict
lib_deps = bblanchon/ArduinoJson@^6.18.3
knolleary/PubSubClient@^2.8
[env:espdev/complete]
platform = espressif8266
board = d1_mini
framework = arduino
build_flags = ${common.BUILD_FLAGS}
lib_compat_mode = strict
[env:esp01s/complete]
platform = espressif8266
board = esp01
build_flags = ${common.BUILD_FLAGS}
; change microcontroller
board_build.mcu = esp8266
; change MCU frequency
board_build.f_cpu = 80000000L