-
-
Notifications
You must be signed in to change notification settings - Fork 19
/
platformio.ini
59 lines (52 loc) · 1.58 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
; 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-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-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