-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
62 lines (56 loc) · 1.35 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
; 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 = AlarmClock
default_envs = uno
[env]
check_tool = cppcheck
check_skip_packages = true
check_flags =
cppcheck: --suppress=unusedFunction --inline-suppr --suppressions-list=.cppcheck-suppressions
check_src_filters =
+<AlarmClock/>
+<lib/>
+<test/>
# files in lib/ need Settings.h
build_flags = -Iinclude/
lib_deps =
adafruit/RTClib@2.0.2
thomasfredericks/Bounce2@2.70.0
paulstoffregen/Encoder@1.4.1
marcoschwartz/LiquidCrystal_I2C@1.1.4
paulstoffregen/TimerOne@1.1.0
SPI
[env:uno]
platform = atmelavr
board = uno
framework = arduino
test_ignore =
test_PWMDimmer
test_DaysOfWeek
upload_port = /dev/ttyUSB0
test_port = /dev/ttyUSB0
[env:atmega328p]
platform = atmelavr
board = uno
framework = arduino
upload_protocol = usbasp
# Erase flash before writing:
upload_flags =
-e
test_ignore =
test_PWMDimmer
test_DaysOfWeek
[env:native]
# only for tests
platform = native
test_ignore = test_embedded
# This overwrites default lib_deps.
lib_deps = fabiobatsilva/ArduinoFake@0.3.1