-
Notifications
You must be signed in to change notification settings - Fork 1
/
platformio.ini
46 lines (40 loc) · 1.21 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
; PlatformIO Project Configuration File
;
; Build options: build flags, source filter, extra scripting
; Upload options: custom port, speed and extra flags
; Library options: dependencies, extra library storages
;
; Please visit documentation for the other options and examples
; http://docs.platformio.org/page/projectconf.html
[env]
platform = https://github.com/CommunityGD32Cores/platform-gd32.git
platform_packages =
framework-spl-gd32@https://github.com/CommunityGD32Cores/gd32-pio-spl-package.git
[env:Native]
platform = native
build_flags =
-lgcov
--coverage
-fprofile-abs-path
test_ignore = test_embedded ; if there were some in the future
[env:genericGD32F330C8]
board = genericGD32F330C8
framework = spl
build_flags =
-lgcov
--coverage
-fprofile-abs-path
debug_tool = cmsis-dap
test_ignore = test_native
[env:gd32350g_start]
board = gd32350g_start
framework = spl
build_flags =
-lgcov
--coverage
-fprofile-abs-path
test_ignore = test_native
; hint: If a test fails, you can redirect the "PIO Debug" debug task
; to instead start debugging the test firmware.
; https://docs.platformio.org/en/latest/projectconf/sections/env/options/debug/debug_test.html
; debug_test = test_common