-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
53 lines (48 loc) · 1.26 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
; 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 =
nodemcuv2
esp01_1m
[env]
framework = arduino
lib_deps =
NbMicro@>=1.2.0
TimonelTwiM@>=1.2.0
TwiBus@>=1.2.0
nb-twi-cmd@>=0.7.1
build_flags =
; -v
-I data/payloads
-D PROJECT_NAME=timonel-twim-ss
; -fexceptions
extra_scripts =
pre:set-bin-name.py
; pre:get-github-lib.py
; In case problems to access the NB libraries from
; the PlatformIO global registry, please uncomment
; "lib_extra_dirs" and "pre:get-github-lib.py" and
; add it to the env section.
; Also, comment "lib_deps" section ...
; lib_extra_dirs =
; nb-libs/twim
; nb-libs
[env:nodemcuv2]
platform = espressif8266
board = nodemcuv2
lib_deps = ${env.lib_deps}
build_flags = ${env.build_flags}
extra_scripts = ${env.extra_scripts}
[env:esp01_1m]
platform = espressif8266
board = esp01_1m
lib_deps = ${env.lib_deps}
build_flags = ${env.build_flags}
extra_scripts = ${env.extra_scripts}