-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplatformio.ini.template
More file actions
64 lines (53 loc) · 1.4 KB
/
platformio.ini.template
File metadata and controls
64 lines (53 loc) · 1.4 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
; 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
; http://docs.platformio.org/page/projectconf.html
[platformio]
env_default = uno, due, blackpill
[common_env_data]
build_flags =
lib_deps_builtin =
lib_deps_external =
upload_port = ttyACM0
[env:uno]
platform = atmelavr
board = uno
framework = arduino
upload_port = ${common_env_data.upload_port}
[env:waveshare_ble400]
platform = nordicnrf51
board = waveshare_ble400
framework = arduino
upload_port = ${common_env_data.upload_port}
[env:blackpill]
platform = ststm32
board = genericSTM32F103C8
framework = arduino
upload_protocol = dfu
upload_port = ${common_env_data.upload_port}
[env:blackpill-dev]
platform = https://github.com/platformio/platform-ststm32.git
board = genericSTM32F103C8
framework = arduino
upload_protocol = dfu
upload_port = ${common_env_data.upload_port}
[env:due]
platform = atmelsam
board = due
framework = arduino
upload_port = ${common_env_data.upload_port}
; Build options
build_flags = ${common_env_data.build_flags}
; Library options
lib_deps =
${common_env_data.lib_deps_external}
; Debug options
debug_tool =
debug_server =
; Unit Testing options
test_ignore = test_desktop