forked from prathje/DisruptaBLE
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
43 lines (41 loc) · 1.33 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
; 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]
src_dir=components
lib_dir=components
include_dir=include
[env:nrf52840_dk]
platform = nordicnrf52
board = nrf52840_dk
framework = zephyr
monitor_speed = 115200
src_filter =
-<*>
+<./*/*.c>
+<./*/zephyr/*.c>
+<./routing/epidemic/*.c>
+<../external/tinycbor/src/cborencoder.c>
+<../external/tinycbor/src/cborencoder.c>
+<../external/tinycbor/src/cborencoder_close_container_checked.c>
+<../external/tinycbor/src/cborerrorstrings.c>
+<../external/tinycbor/src/cborparser.c>
+<../external/tinycbor/src/cborparser_dup_string.c>
+<../external/tinycbor/src/cborpretty.c>
+<../external/tinycbor/src/cborpretty_stdio.c>
+<../external/tinycbor/src/cbortojson.c>
+<../external/tinycbor/src/cborvalidation.c>
+<../external/util/src/*.c>
src_build_flags =
-Iexternal/tinycbor/src
-D PLATFORM_ZEPHYR
-D WITHOUT_OPEN_MEMSTREAM
-D CBOR_NO_FLOATING_POINT
-D DEFAULT_EID=CONFIG_EID
-include platform/zephyr/zephyr_stub.h