-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplatformio.ini
More file actions
69 lines (65 loc) · 1.64 KB
/
platformio.ini
File metadata and controls
69 lines (65 loc) · 1.64 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
; 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
; Common env
[env]
; Use src folder for testing (this is a library project)
; https://community.platformio.org/t/pio-test-not-building-project-source/4501/11
test_build_project_src = true
; Serial monitor
monitor_speed = 115200
; Common build flags
build_flags =
-DARD_ENCODER_VERSION=0.0.2
; Common libraries
; lib_deps =
; https://github.com/PaulStoffregen/Encoder
[env:esp32]
; Arduino framework
framework = arduino
; ESP32
platform = espressif32
; other esp32 boards should work as well
board = esp32thing
; ESP32 build flags
build_flags =
${env.build_flags}
; ESP32 library dependencies
; lib_deps =
; ${env.lib_deps}
; ignore tests for native
test_ignore = native
; Ignore native tests
; ATmega328 test port
; test_port = /dev/ttyUSB0
[env:atmega328]
; Arduino framework
framework = arduino
; ATmega328
platform = atmelavr
; other Arduino AVR boards should work as well
board = pro16MHzatmega328
; ATmega328 build flags
build_flags =
${env.build_flags}
; ATmega328 library dependencies
; lib_deps =
; ${env.lib_deps}
; Use GCC AVR 7.3.0+
platform_packages =
toolchain-atmelavr@>=1.70300.0
; ignore tests for native
test_ignore = native
; ATmega328 test port
; test_port = /dev/ttyUSB0
[env:native]
; native
platform = native
; ignore tests for embedded
test_ignore = embedded