-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathplatformio.ini
43 lines (38 loc) · 1 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
; 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]
build_flags = -std=gnu++11 -Wall -Wshadow -I../lib
lib_deps =
;
[env:uno]
platform = atmelavr
framework = arduino
board = uno
lib_deps = ${common.lib_deps}
test_build_project_src = true
test_ignore = test_desktop
[env:nucleo_f303k8]
platform = ststm32
framework = arduino
board = nucleo_f303k8
board_build.mcu = stm32f303k8t6
; 72 MHz
board_build.f_cpu = 72000000L
lib_deps = ${common.lib_deps}
test_build_project_src = true
test_ignore = test_desktop
; Desktop platforms
[env:native]
platform = native
build_flags = ${common.build_flags}
lib_deps = ${common.lib_deps}
test_build_project_src = true
lib_ldf_mode = chain+
test_ignore = test_embedded