forked from ssilverman/QNEthernet
-
Notifications
You must be signed in to change notification settings - Fork 1
/
platformio.ini
91 lines (80 loc) · 2.38 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
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
86
87
88
89
90
91
; 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 = -g -Og
[teensy]
platform = teensy
framework = arduino
monitor_speed = 115200
build_unflags = -fpermissive -Wno-error=narrowing
build_flags = ${common.build_flags}
[env:teensy41]
extends = teensy
board = teensy41
build_flags = ${teensy.build_flags} -DMAIN_TEST_PROGRAM
[env:teensy41-w5500]
extends = teensy
board = teensy41
build_flags = ${teensy.build_flags} -DMAIN_TEST_PROGRAM
-DQNETHERNET_DRIVER_W5500
[env:teensy41-test]
extends = teensy
board = teensy41
build_type = test
build_flags = ${teensy.build_flags} -DLWIP_NETIF_LOOPBACK=1
-DQNETHERNET_ENABLE_RAW_FRAME_SUPPORT=1
-DQNETHERNET_ENABLE_RAW_FRAME_LOOPBACK=1
test_build_src = yes
[env:teensy41-w5500-test]
extends = teensy
board = teensy41
build_type = test
build_flags = ${teensy.build_flags} -DLWIP_NETIF_LOOPBACK=1
-DQNETHERNET_DRIVER_W5500
-DQNETHERNET_ENABLE_RAW_FRAME_SUPPORT=1
-DQNETHERNET_ENABLE_RAW_FRAME_LOOPBACK=1
test_build_src = yes
[env:teensy41-test-entropy-lib]
extends = teensy
board = teensy41
build_type = test
build_flags = ${teensy.build_flags} -DLWIP_NETIF_LOOPBACK=1
-DQNETHERNET_ENABLE_RAW_FRAME_SUPPORT=1
-DQNETHERNET_ENABLE_RAW_FRAME_LOOPBACK=1
-DQNETHERNET_USE_ENTROPY_LIB=1
test_build_src = yes
[env:teensy41-test-altcp]
extends = teensy
board = teensy41
build_type = test
build_flags = ${teensy.build_flags} -DLWIP_NETIF_LOOPBACK=1
-DLWIP_ALTCP=1 -DLWIP_ALTCP_TLS=1
-DQNETHERNET_ENABLE_ALTCP_DEFAULT_FUNCTIONS=1
-DQNETHERNET_ENABLE_RAW_FRAME_SUPPORT=1
-DQNETHERNET_ENABLE_RAW_FRAME_LOOPBACK=1
test_build_src = yes
[env:teensy40]
extends = teensy
board = teensy40
build_flags = ${teensy.build_flags} -DMAIN_TEST_PROGRAM
[env:teensy40-w5500]
extends = teensy
board = teensy40
build_flags = ${teensy.build_flags} -DMAIN_TEST_PROGRAM
-DQNETHERNET_DRIVER_W5500
[env:teensy40-w5500-test]
extends = teensy
board = teensy40
build_type = test
build_flags = ${teensy.build_flags} -DLWIP_NETIF_LOOPBACK=1
-DQNETHERNET_DRIVER_W5500
-DQNETHERNET_ENABLE_RAW_FRAME_SUPPORT=1
-DQNETHERNET_ENABLE_RAW_FRAME_LOOPBACK=1
test_build_src = yes