-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
41 lines (37 loc) · 1.17 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
; 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
[common]
lib_deps_builtin = SPI
lib_deps_external =
https://github.com/mcci-catena/arduino-lorawan
https://github.com/frankleonrose/Arduino-logging-library
https://github.com/frankleonrose/ParameterStore
[platformio]
src_dir = src
[env:native]
; Used for unit testing
platform = native
src_filter = +<*> +<../src_native/> -<.git/> -<example/> -<examples/> -<test/> -<tests/>
lib_deps = ${common.lib_deps_builtin}, ${common.lib_deps_external}
build_flags =
-Isrc_native
-DPLATFORM_NATIVE
-DLOGGING_PRINTF
-DARDUINO=100
-Wno-format-extra-args
-std=c++11
[env:feather]
platform = atmelsam
framework = arduino
board = adafruit_feather_m0
src_filter = +<*> -<.git/> -<src_native/> -<example/> -<examples/> -<test/> -<tests/>
lib_deps = ${common.lib_deps_builtin}, ${common.lib_deps_external}
build_flags =
-std=c++11