-
Notifications
You must be signed in to change notification settings - Fork 1
/
platformio.custom.ini
142 lines (116 loc) · 3.42 KB
/
platformio.custom.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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
;
; global custom
;
[custom]
lib_deps =
${Network_Generic.lib_deps}
build_flags =
-D MASK_VERSION=0x091A
-D KNX_TUNNELING=4
-D SERIAL_DEBUG=Serial
-D NCN5120
-D KNX_ACTIVITYCALLBACK
-D OPENKNX_NETWORK_USEIPPROP
[develop]
extends = RP2040_develop, custom
build_flags =
${RP2040_develop.build_flags}
${custom.build_flags}
;-D OPENKNX_HEARTBEAT
-D OPENKNX_HEARTBEAT_PRIO
; -D OPENKNX_RTT
; -D BUFFER_SIZE_UP=10240
; -D DEBUG_LOOP_TIME=10 ; will print a info when a loop took more than x ms.
; -D LOGIC_TRACE
; ; to see trace logs, they must match one of the 5 filters (TRACE_LOG1 .. TRACE_LOG2)
; "-D OPENKNX_TRACE1=Common.*"
; "-D OPENKNX_TRACE3=DummyChannel<1>"
; "-D OPENKNX_TRACE4=DummyChannel<[3-5]>"
;-D KNX_LOG_COUPLER
;-D KNX_LOG_IP
;-D KNX_LOG_TUNNELING
-D OPENKNX_RUNTIME_STAT
-D OPENKNX_RUNTIME_STAT_BUCKETN=10
"-D OPENKNX_RUNTIME_STAT_BUCKETS=5000, 6000, 7000, 8000, 10000, 15000, 30000, 50000, 100000"
; this config block is for specifing options that are valid for all release builds
[releases]
extends = RP2040_releases, custom
build_flags =
${RP2040_releases.build_flags}
${custom.build_flags}
; ------ PiPico ------
[env:develop_PIPICO]
extends = develop, RP2040_2MB, RP2040_EXCHANGE_2MB
build_flags =
${develop.build_flags}
${RP2040_EXCHANGE_2MB.build_flags}
-D BOARD_PIPICO
-D KNX_IP_GENERIC
[env:develop_PIPICO_USB]
extends = RP2040_UPLOAD_USB, env:develop_PIPICO
[env:develop_PIPICO_JLINK]
extends = UPLOAD_JLINK, env:develop_PIPICO
; ------ REG1-Eth ------
[env:develop_REG1_ETH]
extends = develop, RP2040_16MB, RP2040_EXCHANGE_16MB
build_flags =
${develop.build_flags}
${RP2040_EXCHANGE_16MB.build_flags}
-D BOARD_REG1_ETH
-D KNX_IP_GENERIC
[env:develop_REG1_ETH_USB]
extends = RP2040_UPLOAD_USB, env:develop_REG1_ETH
[env:develop_REG1_ETH_JLINK]
extends = UPLOAD_JLINK, env:develop_REG1_ETH
; ------ REG1-Eth V1------
[env:develop_REG1_ETH_V1]
extends = develop, RP2040_16MB, RP2040_EXCHANGE_16MB
build_flags =
${develop.build_flags}
${RP2040_EXCHANGE_16MB.build_flags}
-D BOARD_REG1_ETH_V1
-D KNX_IP_GENERIC
[env:develop_REG1_ETH_V1_USB]
extends = RP2040_UPLOAD_USB, env:develop_REG1_ETH_V1
[env:develop_REG1_ETH_V1_JLINK]
extends = UPLOAD_JLINK, env:develop_REG1_ETH_V1
; ------ W5500-EVB-Pico ------
[env:develop_W5500_EVB_PICO]
extends = develop, RP2040_2MB, RP2040_EXCHANGE_2MB
build_flags =
${develop.build_flags}
${RP2040_EXCHANGE_2MB.build_flags}
-D BOARD_W5500_EVB_PICO
-D KNX_IP_W5500
[env:develop_W5500_EVB_PICO_USB]
extends = RP2040_UPLOAD_USB, env:develop_W5500_EVB_PICO
[env:develop_W5500_EVB_PICO_JLINK]
extends = UPLOAD_JLINK, env:develop_W5500_EVB_PICO
; ------ PiPicoW ------
[env:develop_PIPICOW]
extends = develop, RP2040_2MB, RP2040_EXCHANGE_2MB
board = rpipicow
build_flags =
${develop.build_flags}
${RP2040_EXCHANGE_2MB.build_flags}
-D BOARD_PIPICOW
-D KNX_IP_WIFI
[env:develop_PIPICOW_USB]
extends = RP2040_UPLOAD_USB, env:develop_PIPICOW
[env:develop_PIPICOW_JLINK]
extends = UPLOAD_JLINK, env:develop_PIPICOW
; ; Releases
[env:release_REG1_ETH]
extends = releases, RP2040_16MB, RP2040_EXCHANGE_16MB
build_flags =
${releases.build_flags}
${RP2040_EXCHANGE_16MB.build_flags}
-D BOARD_REG1_ETH
-D KNX_IP_GENERIC
[env:release_REG1_ETH_V1]
extends = releases, RP2040_16MB, RP2040_EXCHANGE_16MB
build_flags =
${releases.build_flags}
${RP2040_EXCHANGE_16MB.build_flags}
-D BOARD_REG1_ETH_V1
-D KNX_IP_GENERIC