Skip to content

Commit 35cc464

Browse files
faradaymtqrahman
andauthored
Use Latest Release Tag for PIO CDP Install (ClusterDuck-Protocol#447)
* download cdp from releseases Signed-off-by: faradaym <[email protected]> * typo Signed-off-by: faradaym <[email protected]> * added ini's and edited description Signed-off-by: Taraqur <[email protected]> --------- Signed-off-by: faradaym <[email protected]> Signed-off-by: Taraqur <[email protected]> Co-authored-by: Taraqur <[email protected]>
1 parent fd68914 commit 35cc464

File tree

10 files changed

+318
-55
lines changed

10 files changed

+318
-55
lines changed

examples/Basic-Ducks/DetectorDuck/platformio.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
; default_envs = prod_heltec_wifi_lora_32_V2
3232
; default_envs = prod_ttgo_t_beam
3333

34-
description = DuckLink CDP examples
34+
description = DetectorDuck CDP examples
3535

3636
[env]
3737
lib_deps =
@@ -48,7 +48,7 @@ description = DuckLink CDP examples
4848

4949
[env:release_cdp]
5050
lib_deps =
51-
https://github.com/ClusterDuck-Protocol/ClusterDuck-Protocol ; CDP from master branch
51+
https://github.com/ClusterDuck-Protocol/ClusterDuck-Protocol/archive/refs/tags/4.2.0.zip ; CDP from master branch
5252

5353

5454
; -------------------------------------------------------------------------------------------------------

examples/Basic-Ducks/DuckLink/platformio.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ description = DuckLink CDP examples
4848

4949
[env:release_cdp]
5050
lib_deps =
51-
https://github.com/ClusterDuck-Protocol/ClusterDuck-Protocol ; CDP from master branch
51+
https://github.com/ClusterDuck-Protocol/ClusterDuck-Protocol/archive/refs/tags/4.2.0.zip
5252

5353

5454
; -------------------------------------------------------------------------------------------------------

examples/Basic-Ducks/MamaDuck/platformio.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
; default_envs = prod_heltec_wifi_lora_32_V2
3232
; default_envs = prod_ttgo_t_beam
3333

34-
description = DuckLink CDP examples
34+
description = MamaDuck CDP examples
3535

3636
[env]
3737
lib_deps =
@@ -48,7 +48,7 @@ description = DuckLink CDP examples
4848

4949
[env:release_cdp]
5050
lib_deps =
51-
https://github.com/ClusterDuck-Protocol/ClusterDuck-Protocol ; CDP from master branch
51+
https://github.com/ClusterDuck-Protocol/ClusterDuck-Protocol/archive/refs/tags/4.2.0.zip
5252

5353

5454
; -------------------------------------------------------------------------------------------------------

examples/Basic-Ducks/PapaDuck/platformio.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
; default_envs = prod_heltec_wifi_lora_32_V2
3232
; default_envs = prod_ttgo_t_beam
3333

34-
description = DuckLink CDP examples
34+
description = PapaDuck CDP examples
3535

3636
[env]
3737
lib_deps =
@@ -48,7 +48,7 @@ description = DuckLink CDP examples
4848

4949
[env:release_cdp]
5050
lib_deps =
51-
https://github.com/ClusterDuck-Protocol/ClusterDuck-Protocol ; CDP from master branch
51+
https://github.com/ClusterDuck-Protocol/ClusterDuck-Protocol/archive/refs/tags/4.2.0.zip
5252

5353

5454
; -------------------------------------------------------------------------------------------------------
Lines changed: 153 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,157 @@
1-
; PlatformIO Project Configuration File
2-
;
3-
; Build options: build flags, source filter
4-
; Upload options: custom upload port, speed and extra flags
5-
; Library options: dependencies, extra library storages
6-
; Advanced options: extra scripting
7-
;
8-
; Please visit documentation for the other options and examples
9-
; https://docs.platformio.org/page/projectconf.html
10-
111
[platformio]
12-
src_dir = .
2+
src_dir = .
3+
;; uncomment the line below to build for your board
4+
5+
default_envs = local_heltec_wifi_lora_32_V3
6+
; default_envs = local_heltec_wifi_lora_32_V3
7+
; default_envs = local_heltec_wifi_lora_32_V2
8+
; default_envs = local_ttgo_t_beam
9+
10+
; default_envs = prod_heltec_wifi_lora_32_V3
11+
; default_envs = prod_heltec_wifi_lora_32_V2
12+
; default_envs = prod_ttgo_t_beam
13+
14+
description = Custom Mama Detect examples
15+
16+
[env]
17+
lib_deps =
18+
WIRE
19+
SPI
20+
contrem/arduino-timer@^3.0.1
21+
22+
olikraus/U8g2@^2.35.9
23+
24+
[env:esp32]
25+
lib_deps = knolleary/pubsubclient@^2.8.0
26+
27+
[env:local_cdp]
28+
lib_deps = symlink://../../../ ; local CDP library
29+
30+
[env:release_cdp]
31+
lib_deps =
32+
https://github.com/ClusterDuck-Protocol/ClusterDuck-Protocol/archive/refs/tags/4.2.0.zip
33+
34+
; -------------------------------------------------------------------------------------------------------
35+
; ---- PRODUCTION ENVIRONMENTS
36+
; -------------------------------------------------------------------------------------------------------
37+
38+
39+
; PRODUCTION HELTEC_WIFI_LORA_32_V2
40+
[env:prod_heltec_wifi_lora_32_V2]
41+
platform = espressif32
42+
board = heltec_wifi_lora_32_V2
43+
framework = arduino
44+
monitor_speed = 115200
45+
monitor_filters = time
46+
lib_deps =
47+
${env:esp32.lib_deps}
48+
${env:release_cdp.lib_deps}
49+
50+
; PRODUCTION HELTEC_WIFI_LORA_32_V3
51+
[env:prod_heltec_wifi_lora_32_V3]
52+
platform = espressif32
53+
board = heltec_wifi_lora_32_V3
54+
framework = arduino
55+
monitor_speed = 115200
56+
monitor_filters = time
57+
lib_deps =
58+
${env:esp32.lib_deps}
59+
${env:release_cdp.lib_deps}
60+
61+
; PRODUCTION LILYGO_T_BEAM_SX1262
62+
[env:prod_lilygo_t_beam_sx1262]
63+
platform = espressif32
64+
board = ttgo-t-beam
65+
framework = arduino
66+
monitor_speed = 115200
67+
monitor_filters = time
68+
lib_deps =
69+
${env:esp32.lib_deps}
70+
${env:release_cdp.lib_deps}
71+
72+
; PRODUCTION TTGO_LORA32_V1
73+
[env:prod_ttgo_lora32_v1]
74+
platform = espressif32
75+
board = ttgo-lora32-v1
76+
framework = arduino
77+
monitor_speed = 115200
78+
monitor_filters = time
79+
lib_deps =
80+
${env:esp32.lib_deps}
81+
${env:release_cdp.lib_deps}
82+
83+
; PRODUCTION CUBECELL_BOARD_V2
84+
[env:prod_cubecell_board_v2]
85+
platform = https://github.com/HelTecAutomation/heltec-cubecell.git
86+
board = cubecell_board_v2
87+
framework = arduino
88+
monitor_speed = 115200
89+
monitor_filters = time
90+
build_flags =
91+
-DCubeCell_Board
92+
lib_ignore =
93+
ESP Async WebServer
94+
lib_deps =
95+
${env:release_cdp.lib_deps}
96+
97+
; -------------------------------------------------------------------------------------------------------
98+
; ---- LOCAL ENVIRONMENTS
99+
; -------------------------------------------------------------------------------------------------------
13100

14-
[env:heltec_wifi_lora_32_V2]
15-
platform = espressif32
16-
board = heltec_wifi_lora_32_V2
17-
framework = arduino
18-
monitor_speed = 115200
19-
monitor_filters = time
101+
; LOCAL HELTEC_WIFI_LORA_32_V2
102+
[env:local_heltec_wifi_lora_32_V2]
103+
platform = espressif32
104+
board = heltec_wifi_lora_32_V2
105+
framework = arduino
106+
monitor_speed = 115200
107+
monitor_filters = time
108+
lib_deps =
109+
${env:esp32.lib_deps}
110+
${env:local_cdp.lib_deps}
111+
112+
; LOCAL HELTEC_WIFI_LORA_32_V3
113+
[env:local_heltec_wifi_lora_32_V3]
114+
platform = espressif32
115+
board = heltec_wifi_lora_32_V3
116+
framework = arduino
117+
monitor_speed = 115200
118+
monitor_filters = time
119+
lib_deps =
120+
${env:esp32.lib_deps}
121+
${env:local_cdp.lib_deps}
20122

21-
lib_deps =
22-
https://github.com/Call-for-Code/ClusterDuck-Protocol
123+
; LOCAL LILYGO_T_BEAM_SX1262
124+
[env:local_lilygo_t_beam_sx1262]
125+
platform = espressif32
126+
board = ttgo-t-beam
127+
framework = arduino
128+
monitor_speed = 115200
129+
monitor_filters = time
130+
lib_deps =
131+
${env:esp32.lib_deps}
132+
${env:local_cdp.lib_deps}
23133

24-
; uncomment for OTA update
25-
; upload_port = duck.local
134+
; LOCAL TTGO_LORA32_V1
135+
[env:local_ttgo_lora32_v1]
136+
platform = espressif32
137+
board = ttgo-lora32-v1
138+
framework = arduino
139+
monitor_speed = 115200
140+
monitor_filters = time
141+
lib_deps =
142+
${env:esp32.lib_deps}
143+
${env:local_cdp.lib_deps}
144+
145+
; LOCAL CUBECELL_BOARD_V2
146+
[env:local_cubecell_board_v2]
147+
platform = https://github.com/HelTecAutomation/heltec-cubecell.git
148+
board = cubecell_board_v2
149+
framework = arduino
150+
monitor_speed = 115200
151+
monitor_filters = time
152+
build_flags =
153+
-DCubeCell_Board
154+
lib_ignore =
155+
ESP Async WebServer
156+
lib_deps =
157+
${env:local_cdp.lib_deps}

0 commit comments

Comments
 (0)