-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathplatformio.ini
51 lines (42 loc) · 1.09 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
; 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]
[env]
# Setup
platform = ststm32
board = nucleo_l55
framework = zephyr
#Print monitor
monitor_port = /dev/tty.usbmodem14203
monitor_speed = 115200
#Static code analysis
check_tool = cppcheck, clangtidy
check_flags =
cppcheck: --enable=all #--check-config
clangtidy: -fix-errors -format-style=mozilla
check_skip_packages = yes
#Build
build_unflags =
-std=c99
build_flags =
-std=c11
[examples]
# Select which example to run
selected_example = pingpong
[env:debug]
#Build
build_type = debug
build_src_filter = +<*> +<../examples/${examples.selected_example}/*>
build_flags =
-Iexamples/${examples.selected_example}/include
[env:test]
#Testing (Unity)
#debug_test = test_integration_active_timer
test_build_src = yes