This repository was archived by the owner on Jun 26, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathplatformio.ini
More file actions
231 lines (221 loc) · 6.48 KB
/
Copy pathplatformio.ini
File metadata and controls
231 lines (221 loc) · 6.48 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
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
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
;cl reticulum-rnode
; ----------------
; RNode firmware with KISS interface for nRF52840 + SX1262 boards.
; Serial-to-LoRa bridge — the host runs Reticulum, the RNode handles radio.
[platformio]
default_envs = Faketec
[env]
framework = arduino
monitor_speed = 115200
lib_ldf_mode = deep
build_unflags =
-std=gnu++11
build_flags =
-std=gnu++17
-Wall
-Wno-unknown-pragmas
-Iinclude
-Isrc
; ---------------------------------------------------------------------
; Faketec — Nice!Nano-style nRF52840 ProMicro clone + Ebyte E22-900M30S
; ---------------------------------------------------------------------
[env:Faketec]
platform = nordicnrf52
board = nrf52840_dk_adafruit
board_build.partitions = no_ota.csv
board_build.filesystem = littlefs
upload_protocol = nrfutil
extra_scripts = pre:scripts/pre_build.py
build_unflags =
${env.build_unflags}
-fno-exceptions
-fno-rtti
--specs=nano.specs
build_flags =
${env.build_flags}
-fexceptions
-frtti
--specs=nosys.specs
-DBOARD_MODEL=BOARD_Faketec
-include include/board/Faketec.h
-DUSTORE_USE_INTERNALFS
lib_deps =
${env.lib_deps}
jgromes/RadioLib @ 7.7.1
; ---------------------------------------------------------------------
; RAK4631 — WisBlock Core nRF52840 + SX1262
; ---------------------------------------------------------------------
[env:RAK4631]
platform = nordicnrf52
board = nrf52840_dk_adafruit
board_build.filesystem = littlefs
upload_protocol = nrfutil
extra_scripts = pre:scripts/pre_build.py
build_unflags =
${env.build_unflags}
-fno-exceptions
-fno-rtti
--specs=nano.specs
build_flags =
${env.build_flags}
-fexceptions
-frtti
--specs=nosys.specs
-DBOARD_MODEL=BOARD_RAK4631
-include include/board/rak4631.h
-DUSTORE_USE_INTERNALFS
lib_deps =
${env.lib_deps}
jgromes/RadioLib @ 7.7.1
; ---------------------------------------------------------------------
; SenseCAP T1000-E — Seeed nRF52840 + Semtech LR1110 (NOT an SX1262)
; ---------------------------------------------------------------------
; The only LR1110 target. Same nRF52840 MCU/SoftDevice as the others, so
; no custom board JSON or linker — only the radio class differs, selected
; by RADIO_USE_LR1110 in include/board/t1000e.h and branched in Radio.cpp.
; HARDWARE VALIDATION PENDING: radio path ported from a working HAL but
; not bench-tested in this firmware. First flasher should verify RX/TX.
[env:T1000E]
platform = nordicnrf52
board = nrf52840_dk_adafruit
board_build.filesystem = littlefs
upload_protocol = nrfutil
extra_scripts = pre:scripts/pre_build.py
build_unflags =
${env.build_unflags}
-fno-exceptions
-fno-rtti
--specs=nano.specs
build_flags =
${env.build_flags}
-fexceptions
-frtti
--specs=nosys.specs
-DBOARD_MODEL=BOARD_T1000E
-include include/board/t1000e.h
-DUSTORE_USE_INTERNALFS
lib_deps =
${env.lib_deps}
jgromes/RadioLib @ 7.7.1
; ---------------------------------------------------------------------
; XIAO nRF52840 Kit — Seeed XIAO nRF52840 + Wio-SX1262
; ---------------------------------------------------------------------
[env:XIAO_nRF52840]
platform = nordicnrf52
board = xiao_nrf52840
board_build.filesystem = littlefs
upload_protocol = nrfutil
extra_scripts = pre:scripts/pre_build.py
build_unflags =
${env.build_unflags}
-fno-exceptions
-fno-rtti
--specs=nano.specs
build_flags =
${env.build_flags}
-fexceptions
-frtti
--specs=nosys.specs
-DBOARD_MODEL=BOARD_XIAO_NRF52840
-include include/board/xiao_nrf52840.h
-DUSTORE_USE_INTERNALFS
lib_deps =
${env.lib_deps}
jgromes/RadioLib @ 7.7.1
; ---------------------------------------------------------------------
; Heltec Mesh Node T114 — nRF52840 + SX1262 + TFT
; ---------------------------------------------------------------------
[env:Heltec_T114]
platform = nordicnrf52
board = nrf52840_dk_adafruit
board_build.filesystem = littlefs
upload_protocol = nrfutil
extra_scripts = pre:scripts/pre_build.py
build_unflags =
${env.build_unflags}
-fno-exceptions
-fno-rtti
--specs=nano.specs
build_flags =
${env.build_flags}
-fexceptions
-frtti
--specs=nosys.specs
-DBOARD_MODEL=BOARD_HELTEC_T114
-include include/board/heltec_t114.h
-DUSTORE_USE_INTERNALFS
lib_deps =
${env.lib_deps}
jgromes/RadioLib @ 7.7.1
; ---------------------------------------------------------------------
; T-Echo — LilyGO T-Echo (nRF52840 + SX1262 + GPS + e-paper)
; ---------------------------------------------------------------------
; The RNode nRF52 target named in issue #2. Ships with SoftDevice
; S140 v6.1.1 — identical to nrf52840_dk_adafruit — so no custom board
; JSON or linker is needed (unlike XIAO_nRF52840). Pin map in
; include/board/techo.h; SX1262 SPI pinout is identical to Heltec_T114.
;
; HARDWARE VALIDATION PENDING: no T-Echo on the bench when this env
; landed. First user to flash should verify RX end-to-end and
; recalibrate batt_mult via the webflasher's CALIBRATE BATTERY flow.
[env:T-Echo]
platform = nordicnrf52
board = nrf52840_dk_adafruit
board_build.filesystem = littlefs
upload_protocol = nrfutil
extra_scripts = pre:scripts/pre_build.py
build_unflags =
${env.build_unflags}
-fno-exceptions
-fno-rtti
--specs=nano.specs
build_flags =
${env.build_flags}
-fexceptions
-frtti
--specs=nosys.specs
-DBOARD_MODEL=BOARD_TECHO
-include include/board/techo.h
-DUSTORE_USE_INTERNALFS
lib_deps =
${env.lib_deps}
jgromes/RadioLib @ 7.7.1
; ---------------------------------------------------------------------
; RAK3401 1-Watt — WisBlock nRF52840 + SX1262 + 1W PA
; ---------------------------------------------------------------------
[env:RAK3401]
platform = nordicnrf52
board = nrf52840_dk_adafruit
board_build.filesystem = littlefs
upload_protocol = nrfutil
extra_scripts = pre:scripts/pre_build.py
build_unflags =
${env.build_unflags}
-fno-exceptions
-fno-rtti
--specs=nano.specs
build_flags =
${env.build_flags}
-fexceptions
-frtti
--specs=nosys.specs
-DBOARD_MODEL=BOARD_RAK3401
-include include/board/rak3401.h
-DUSTORE_USE_INTERNALFS
lib_deps =
${env.lib_deps}
jgromes/RadioLib @ 7.7.1
; native — host-side unit tests
; ---------------------------------------------------------------------
[env:native]
platform = native
framework =
test_framework = unity
build_flags =
-std=gnu++17
-Wall
-Iinclude
-Isrc
-DNATIVE_BUILD
-DUNITY_INCLUDE_DOUBLE
-DUNITY_DOUBLE_PRECISION=1e-9