This repository has been archived by the owner on Dec 1, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
platformio.ini
67 lines (57 loc) · 1.75 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
; 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 = Embedded software for the input device embedded in the crutch
default_envs = debug
[env]
; If Platformio gives a upload error, please specify this for your respective COM port
upload_speed = 230400
upload_port = /dev/ttyUSB0
monitor_speed = 57600
monitor_flags =
--encoding
UTF-8
check_tool = clangtidy
check_severity = low, medium, high
check_flags =
clangtidy: -extra-arg=-std=c++11 --checks=*,-cppcoreguidelines-macro-usage,-modernize-use-trailing-return-type,-fuchsia-default-arguments,-fuchsia-statically-constructed-objects,-cert-err58-cpp
lib_deps =
Adafruit DRV2605 Library
EspSoftwareSerial
Goldelox-Serial-Arduino-Library
; Demo build environment that enables demo purposes for the input device.
[env:demo]
platform = espressif32
board = lolin_d32_pro
framework = arduino
build_type = debug
build_flags = -std=c++11 -D DEBUG -D DEMO_INPUT_DEVICE
[env:debug]
platform = espressif32
board = lolin_d32_pro
framework = arduino
build_type = debug
build_flags = -std=c++11 -g -D DEBUG
[env:release]
platform = espressif32
board = lolin_d32_pro
framework = arduino
build_type = release
build_flags = -std=c++11 -O3 -D RELEASE
[env:native]
platform = native
build_flags = -std=c++11
test_build_project_src = true
test_filter = test_state, test_state_machine
src_filter =
+<sd_sector_addresses.h>
+<state.h>
+<state_machine.cpp>
+<state_machine.h>