-
Notifications
You must be signed in to change notification settings - Fork 12
/
platformio.example.ini
120 lines (100 loc) · 2.98 KB
/
platformio.example.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
[platformio]
libdeps_dir = /tmp/libdeps
extra_configs =
lib/OGM-Common/platformio.base.ini
lib/OGM-Common/platformio.rp2040.ini
lib/OGM-Common/platformio.samd.ini
;
; customer build_flags
;
; this config block is for specifing options that are valid for all RP2040-based builds
[RP2040_custom]
build_flags =
${KNX_TP.build_flags}
-D SERIAL_DEBUG=Serial
;-D NCN5120
debug_build_flags =
; this config block is for specifing options that are valid for all RP2040-based develop/debug builds
[RP2040_custom_develop]
build_flags =
-O0
-ggdb3
-D OPENKNX_HEARTBEAT
; -D OPENKNX_HEARTBEAT_PRIO
; -D OPENKNX_RTT
; -D BUFFER_SIZE_UP=10240
; "-D OPENKNX_TRACE1=Common.*"
; "-D OPENKNX_TRACE2=Flash.*"
debug_build_flags =
; this config block is for specifing options that are valid for all RP2040-based release builds
[RP2040_custom_releases]
build_flags =
-Os
debug_build_flags =
; this config block is for specifing options that are valid for all SAMD-based builds
[SAMD_custom]
build_flags =
${KNX_TP.build_flags}
-D SERIAL_DEBUG=SerialUSB
-D KNX_DEBUG_SERIAL=SerialUSB
-D KNX_SERIAL=Serial
-Os
debug_build_flags =
; this config block is for specifing options that are valid for all SAMD-based develop/debug builds
[SAMD_custom_develop]
build_flags =
-D OPENKNX_HEARTBEAT
; -D OPENKNX_RTT
; -D BUFFER_SIZE_UP=10240
-O0
-ggdb3
debug_build_flags =
; this config block is for specifing options that are valid for all SAMD-based release builds
[SAMD_custom_releases]
build_flags =
-Os
debug_build_flags =
; this sections are for develop builds
[env:develop_PIPICO_BCU_CONNECTOR]
extends = RP2040_develop, RP2040_2MB
build_flags =
${RP2040_develop.build_flags}
-D OKNXHW_PIPICO_BCU_CONNECTOR
[env:develop_PIPICO_BCU_CONNECTOR_USB]
extends = UPLOAD_USB_RP2040, env:develop_PIPICO_BCU_CONNECTOR
[env:develop_PIPICO_BCU_CONNECTOR_JLINK]
extends = UPLOAD_JLINK, env:develop_PIPICO_BCU_CONNECTOR
[env:develop_OKNXHW_REG1_BASE_V0]
extends = RP2040_develop, RP2040_16MB
build_flags =
${RP2040_develop.build_flags}
-D OKNXHW_REG1_BASE_V0
[env:develop_OKNXHW_REG1_BASE_V0_USB]
extends = UPLOAD_USB_RP2040, env:develop_OKNXHW_REG1_BASE_V0
[env:develop_OKNXHW_REG1_BASE_V0_JLINK]
extends = UPLOAD_JLINK, env:develop_OKNXHW_REG1_BASE_V0
; this sections are for release builds
[env:release_PIPICO_BCU_CONNECTOR]
extends = RP2040_releases, RP2040_2MB
build_flags =
${RP2040_releases.build_flags}
-D OKNXHW_PIPICO_BCU_CONNECTOR
[env:release_OKNXHW_REG1_BASE_V0]
extends = RP2040_releases, RP2040_16MB
build_flags =
${RP2040_releases.build_flags}
-D OKNXHW_REG1_BASE_V0
; Release REG2_PiPico
[env:release_OKNXHW_REG2_PiPico]
extends = RP2040_custom_releases_TP, RP2040_2MB
build_flags =
${RP2040_custom_releases_TP.build_flags}
-D OKNXHW_REG2_PIPICO_V1
board = rpipico
; Release REG2_PiPico_W
[env:release_OKNXHW_REG2_PiPico_W]
extends = RP2040_custom_releases_TP, RP2040_2MB
build_flags =
${RP2040_custom_releases_TP.build_flags}
-D OKNXHW_REG2_PIPICO_W_V1
board = rpipicow