-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplatformio.ini
More file actions
executable file
·94 lines (85 loc) · 2.21 KB
/
Copy pathplatformio.ini
File metadata and controls
executable file
·94 lines (85 loc) · 2.21 KB
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
[env]
lib_compat_mode=off
; these libraries are for AVR and simulation
; targets only, so a reset of this property
; is needed in the `native` configuration
lib_deps =
#upload_protocol=custom
#upload_flags =
# -Pusb
# -pt84
# -v
# -c
# -b115200
# -B4
# -cavrisp2
# -cdragon_isp
# -cavrispmkII
upload_command = avrdude -vv -b57600 -pm328p -c avrisp -Pcom10 $UPLOAD_FLAGS -U flash:w:$SOURCE:i
# upload_protocol=custom
# upload_speed=115200
# upload_flags=
# '-v'
# '-e'
# '-Pusb'
# '-B4'
# '-C/etc/avrdude.conf'
# '-pt84'
# '-cavrisp2'
# '-b115200'
[env:native]
lib_deps =
${env.lib_deps}
fakeit=https://github.com/FabioBatSilva/ArduinoFake.git
platform=native
build_type = release
test_ignore = cross/*
build_flags = -DNATIVE
debug_test = noarch/test_gun
build_src_filter = ${env.src_filter} -<TargetApp.cpp> -<GunApp.cpp>
[env:native_debug]
lib_deps = ${env.lib_deps}
fakeit=https://github.com/FabioBatSilva/ArduinoFake.git
platform=native
build_type = debug
debug_build_flags = -Og -ggdb3 -g3 -DNATIVE -UAVR
test_ignore = cross/*
debug_test = noarch/test_gun
build_src_filter = ${env.src_filter} -<TargetApp.cpp> -<GunApp.cpp>
[env:cross]
lib_deps = ${env.lib_deps}
test_framework = unity
platform = atmelavr
framework = arduino
board = ATmega328P
build_type = release
test_ignore = native/*
build_flags = -O0
build_src_filter = ${env.src_filter} -<ConsoleTargets.cpp>
[env:target]
lib_deps =
${env.lib_deps}
SerialCommands
framework = arduino
platform = atmelavr
board = ATmega328P
board_build.mcu = atmega328p
board_build.f_cpu = 16000000L
build_type = release
build_flags = -DAVR
test_ignore =
native/*
build_src_filter = ${env.src_filter} -<GunApp.cpp> -<ConsoleTargets.cpp>
[env:gun]
lib_deps =
adafruit/Adafruit SSD1306@^2.5.7
https://github.com/rocketscream/Low-Power#V1.81
framework = arduino
platform = atmelavr
board = ATmega328P
build_type = release
build_flags = -DAVR
test_ignore =
native/*
noarch/*
build_src_filter = ${env.src_filter} -<TargetApp.cpp> -<ConsoleTargets.cpp>