-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathplatformio.ini
More file actions
85 lines (79 loc) · 1.86 KB
/
platformio.ini
File metadata and controls
85 lines (79 loc) · 1.86 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
; 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
; TEST ENVIRONMENTS
[env:test_codec]
platform = native
test_framework = unity
build_flags =
-std=gnu++17
-D NATIVE_TEST
; -D EZMODBUS_DEBUG
-include test/test_codec/mock/ModbusDebug.h
-I src
test_filter = test_codec
build_src_filter =
+<*>
+<../test/test_codec/*>
[env:test_rtu_server_loopback]
platform = espressif32
board = seeed_xiao_esp32s3
framework = arduino
test_framework = unity
lib_deps =
./
build_flags =
; -D EZMODBUS_DEBUG
; -fstack-usage
test_filter = test_rtu_server_loopback
build_src_filter =
+<*>
+<../test/test_rtu_server_loopback/*>
[env:test_rtu_client_loopback]
platform = espressif32
board = seeed_xiao_esp32s3
framework = arduino
test_framework = unity
lib_deps =
./
build_flags =
; -D EZMODBUS_DEBUG
; -fstack-usage
test_filter = test_rtu_client_loopback
build_src_filter =
+<*>
+<../test/test_rtu_client_loopback/*>
[env:test_tcp_client_loopback]
platform = espressif32
board = seeed_xiao_esp32s3
framework = arduino
test_framework = unity
lib_deps =
./
build_flags =
; -D EZMODBUS_DEBUG
; -fstack-usage
test_filter = test_tcp_client_loopback
build_src_filter =
+<*>
+<../test/test_tcp_client_loopback/*>
[env:test_bridge_loopback]
platform = espressif32
board = seeed_xiao_esp32s3
framework = arduino
test_framework = unity
lib_deps =
./
build_flags =
; -D EZMODBUS_DEBUG
; -fstack-usage
test_filter = test_bridge_loopback
build_src_filter =
+<*>
+<../test/test_bridge_loopback/*>