-
-
Notifications
You must be signed in to change notification settings - Fork 10
/
platformio.ini
69 lines (59 loc) · 1.69 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
; 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]
description = Open Source Haptic-feedback device firmware
lib_dir = ./lib
src_dir = ./firmware
extra_configs =
ini/bhaptics.ini
ini/opengloves.ini
ini/opengloves-lucidgloves.ini
ini/opengloves-indexer.ini
default_envs = bhaptics_tactsuit_x16, bhaptics_tactal, bhaptics_tactglove_left, lucidgloves-prototype3
[common]
build_unflags =
-std=gnu++11
build_flags =
-std=gnu++17
-D __OH_FIRMWARE__
-D CORE_DEBUG_LEVEL=3
; -D DEBUG_MODE=0
; -D DEBUG_ESP_PORT=Serial
; -D SS_BATTERY_ENABLED=true
; -D SS_BLE_USE_NIMBLE=true
build_src_filter =
+<*>
-<mode_configs>
lib_deps =
https://github.com/senseshift/frozen.git#feature/platformio
[env]
build_flags = ${common.build_flags}
build_unflags = ${common.build_unflags}
build_src_filter = ${common.build_src_filter}
lib_deps = ${common.lib_deps}
lib_ldf_mode = deep+
check_tool = clangtidy
check_flags =
clangtidy: --config-file=./.clang-tidy --fix
debug_build_flags = -Os
[env:native]
platform = native
build_unflags = ${common.build_unflags}
build_flags =
${common.build_flags}
-lgcov
--coverage
build_src_filter =
${common.build_src_filter}
+<mode_configs/test.cpp>
lib_deps =
${common.lib_deps}
fabiobatsilva/ArduinoFake@^0.4
test_ignore = test_embedded