-
Notifications
You must be signed in to change notification settings - Fork 22
/
platformio.ini
40 lines (33 loc) · 1018 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
# 871 KB sketch, 4 KB eeprom, 128 KB fs, 16 KB reserved, no space for ota
[common]
board_1m = esp01
ldscript_1m = eagle.flash.1m192.ld
# 1019 KB sketch, 4 KB eeprom, 256 KB fs, 16 KB reserved, 772 KB empty/ota
board_2m = esp_wroom_02
ldscript_2m = eagle.flash.2m256.ld
# 1019 KB sketch, 4 KB eeprom, 1000 KB fs, 16 KB reserved, 2052 KB empty/ota
board_4m = esp12e
ldscript_4m = eagle.flash.4m1m.ld
[env]
platform = espressif8266
framework = arduino
monitor_speed = 115200
upload_speed = 115200
board_build.flash_mode = dout
build_flags =
-DUSE_SENSOR
-DLOG_DEBUG=1
-DLOG_INFO=1
-DLOG_ERROR=1
lib_deps=
jandelgado/JLed @ 4.7.0
mathertel/OneButton @ 0.0.0-alpha+sha.eb583d713a
[env:esp8266-4m-base]
board = ${common.board_4m}
board_build.ldscript = ${common.ldscript_4m}
[env:esp8266-2m-base]
board = ${common.board_2m}
board_build.ldscript = ${common.ldscript_2m}
[env:esp8266-1m-base]
board = ${common.board_1m}
board_build.ldscript = ${common.ldscript_1m}