-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
93 lines (84 loc) · 2.45 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
[platformio]
default_envs = i2cdebug, spidebug, i2cgeneric, spigeneric
lib_dir = lib
[common]
platform = espressif8266
board_build.filesystem = littlefs
lib_deps =
ArduinoJson
ESPAsyncUDP
ESP Async WebServer
Time
olikraus/U8g2
; boards which GPIO0 and RESET controlled using two NPN transistors as nodemcu devkit (includes wemos d1 mini)
[env:i2cgeneric]
board_build.f_cpu = 160000000L
platform = ${common.platform}
framework = arduino
board = esp12e
;upload_resetmethod = nodemcu
lib_deps = ${common.lib_deps}
extra_scripts = scripts/I2CGENdeploy.py
board_build.ldscript = eagle.flash.4m2m.ld
build_flags =
-D I2CBOARD
-D _GNU_SOURCE
-D PIO_FRAMEWORK_ARDUINO_LWIP_HIGHER_BANDWIDTH
build_src_flags = !echo "-DBUILD_TAG="$TRAVIS_TAG
;https://github.com/platformio/platform-espressif8266/issues/153
upload_speed = 460800
monitor_speed = 115200
board_build.flash_mode = dio
; boards which GPIO0 and RESET controlled using two NPN transistors as nodemcu devkit (includes wemos d1 mini)
[env:spigeneric]
board_build.f_cpu = 160000000L
platform = ${common.platform}
framework = arduino
board = esp12e
;upload_resetmethod = nodemcu
lib_deps = ${common.lib_deps}
extra_scripts = scripts/SPIGENdeploy.py
board_build.ldscript = eagle.flash.4m2m.ld
build_flags =
-D SPIBOARD
-D _GNU_SOURCE
-D PIO_FRAMEWORK_ARDUINO_LWIP_HIGHER_BANDWIDTH
build_src_flags = !echo "-DBUILD_TAG="$TRAVIS_TAG
;https://github.com/platformio/platform-espressif8266/issues/153
upload_speed = 460800
monitor_speed = 115200
board_build.flash_mode = dio
; generic firmware for debugging purposes
[env:i2cdebug]
board_build.f_cpu = 160000000L
platform = ${common.platform}
framework = arduino
board = esp12e
lib_deps = ${common.lib_deps}
board_build.ldscript = eagle.flash.4m2m.ld
build_flags =
-D DEBUG
-D I2CBOARD
-D _GNU_SOURCE
-D PIO_FRAMEWORK_ARDUINO_LWIP_HIGHER_BANDWIDTH
build_src_flags = !echo "-DBUILD_TAG="$TRAVIS_TAG
extra_scripts = scripts/I2CDBGdeploy.py
upload_speed = 460800
monitor_speed = 115200
; generic firmware for debugging purposes
[env:spidebug]
board_build.f_cpu = 160000000L
platform = ${common.platform}
framework = arduino
board = esp12e
lib_deps = ${common.lib_deps}
board_build.ldscript = eagle.flash.4m2m.ld
build_flags =
-D DEBUG
-D SPIBOARD
-D _GNU_SOURCE
-D PIO_FRAMEWORK_ARDUINO_LWIP_HIGHER_BANDWIDTH
build_src_flags = !echo "-DBUILD_TAG="$TRAVIS_TAG
extra_scripts = scripts/SPIDBGdeploy.py
upload_speed = 460800
monitor_speed = 115200