-
Notifications
You must be signed in to change notification settings - Fork 51
/
platformio.ini
55 lines (48 loc) · 1.28 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
; 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]
default_envs = uno, nanoatmega328
; Base configuration for build tools.
[base_build]
build_flags =
-Wall -Wextra
; Base configuration for Atmel AVR based Arduino boards.
[base_atmelavr]
platform = atmelavr
framework = arduino
monitor_speed = 57600
test_ignore = desktop/*
lib_deps =
Wire
SPI
adafruit/Adafruit BNO055
adafruit/Adafruit BusIO
adafruit/Adafruit Unified Sensor
; Base configuration for desktop platforms (for unit testing).
[base_desktop]
platform = native
test_framework = googletest
test_build_src = true
build_src_filter =
+<encoder.cpp>
+<motor.cpp>
+<pid.cpp>
+<shell.cpp>
; Environment for Arduino Uno.
[env:uno]
extends = base_build, base_atmelavr
board = uno
; Environment for Arduino Nano.
[env:nanoatmega328]
extends = base_build, base_atmelavr
board = nanoatmega328
; Environment for desktop platforms (Windows, macOS, Linux, etc).
[env:desktop]
extends = base_build, base_desktop