-
Notifications
You must be signed in to change notification settings - Fork 54
/
platformio.ini
39 lines (31 loc) · 1005 Bytes
/
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
; 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
[common]
default_envs = native
[env:native]
platform = native
lib_deps=
throwtheswitch/Unity
robus_network
test_framework = unity
lib_extra_dirs =
$PROJECT_DIR/network/ # include the folder hosting robus_network
$PROJECT_DIR/../ # include the folder hosting Luos_engine
build_unflags = -Os
build_flags =
-O0
-include ./test/_resources/node_config.h
-DUNIT_TEST
-D LUOSHAL=STUB
--coverage
build_type = debug
test_build_src = true
; To debug a test, replace "test_template" by the directory test name you want to debug (example : "test_msg_alloc")
debug_test = tests_core/tests_od/test_pressure