Skip to content

Commit 54582f0

Browse files
committed
added pio file to test the current library directory
1 parent 4b220d9 commit 54582f0

File tree

1 file changed

+46
-0
lines changed

1 file changed

+46
-0
lines changed

platformio.ini

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
; CanAirIO Sensorlib
2+
;
3+
; Full guide and details: https://github.com/kike-canaries/canairio_sensorlib
4+
5+
6+
[platformio]
7+
src_dir = ./examples/
8+
lib_dir = ./
9+
10+
[env]
11+
framework = arduino
12+
upload_speed = 1500000
13+
monitor_speed = 115200
14+
monitor_filters = time
15+
build_flags =
16+
-D CORE_DEBUG_LEVEL=0
17+
lib_deps =
18+
19+
[esp32_common]
20+
platform = espressif32
21+
board = esp32dev
22+
framework = ${env.framework}
23+
upload_speed = ${env.upload_speed}
24+
monitor_speed = ${env.monitor_speed}
25+
lib_deps = ${env.lib_deps}
26+
build_flags =
27+
${env.build_flags}
28+
29+
[esp8266_common]
30+
platform = espressif8266
31+
framework = ${env.framework}
32+
board = esp12e
33+
monitor_speed = ${env.monitor_speed}
34+
build_flags =
35+
${env.build_flags}
36+
lib_deps =
37+
${env.lib_deps}
38+
39+
[env:esp8266BasicTest]
40+
extends = esp8266_common
41+
src_filter = -<*> +<PlatformIO_BasicWrite/>
42+
43+
[env:esp32BasicTest]
44+
extends = esp32_common
45+
src_filter = -<*> +<PlatformIO_BasicWrite/>
46+

0 commit comments

Comments
 (0)