forked from smartheim/wakaamaNode
-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
37 lines (34 loc) · 1.27 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
; 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
; http://docs.platformio.org/page/projectconf.html
[platformio]
env_default = nodemcu, native
lib_dir = src/lib
data_dir = data/
test_dir = test/
src_dir = ./
[env:esp01]
platform = espressif8266
framework = arduino
build_flags = -Isrc -Isrc/wakaama -Iexamples/nodemcu_with_led_object/ -DESP8266 -DLWIP -Wno-pointer-arith -Wall -pedantic
board = esp01
src_filter = +<src/*> +<examples/nodemcu_with_led_object/*>
extra_script=./pio_extra_script.py
[env:nodemcu]
platform = espressif8266
framework = arduino
build_flags = -Isrc -Isrc/wakaama -Iexamples/nodemcu_with_led_object/ -DESP8266 -DLWIP -Wno-pointer-arith -Wall -pedantic
board = nodemcu
src_filter = +<src/*> +<examples/nodemcu_with_led_object/*>
extra_script=./pio_extra_script.py
[env:native]
platform = native
build_flags = -Isrc -Isrc/wakaama -Iexamples/linux_win_with_screen_control/ -Wno-pointer-arith -Wall -pedantic
src_filter = +<src/*> +<examples/linux_win_with_screen_control/*>
extra_script=./pio_extra_script.py