Skip to content

Commit 44b78b5

Browse files
authored
Merge pull request #740 from LeeLeahy2/library
Add git commands to update the git repositories in the library
2 parents b0c12fe + af3082c commit 44b78b5

File tree

1 file changed

+147
-0
lines changed

1 file changed

+147
-0
lines changed

Firmware/Tools/makefile

Lines changed: 147 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,153 @@ FIRMWARE_VERSION_MAJOR=99
4949
FIRMWARE_VERSION_MINOR=99
5050
POINTPERFECT_TOKEN=
5151

52+
libraries:
53+
echo ----------------------------------
54+
cd ~/Arduino/libraries
55+
56+
echo ArduinoJson
57+
cd ArduinoJson
58+
git checkout --quiet 7.x
59+
git pull --quiet origin 7.x
60+
git checkout --quiet 6.x
61+
git pull --quiet origin 6.x
62+
git checkout --quiet v6.19.4
63+
64+
echo ArduinoMqttClient
65+
cd ../ArduinoMqttClient
66+
git checkout --quiet master
67+
git pull --quiet origin master
68+
git checkout --quiet 0.1.7
69+
70+
echo ArduinoWebsockets
71+
cd ../ArduinoWebsockets
72+
git checkout --quiet master
73+
git pull --quiet origin master
74+
git checkout --quiet 0.5.3
75+
76+
echo AsyncTCP
77+
cd ../AsyncTCP
78+
git checkout --quiet master
79+
git pull --quiet origin master
80+
81+
82+
83+
echo ESP32_BleSerial
84+
cd ../ESP32_BleSerial
85+
git checkout --quiet master
86+
git pull --quiet origin master
87+
git checkout --quiet v1.0.4
88+
89+
echo ESP32-OTA-Pull
90+
cd ../ESP32-OTA-Pull
91+
git checkout --quiet main
92+
git pull --quiet origin main
93+
git checkout --quiet v1.0.0-beta.1
94+
95+
echo ESP32Time
96+
cd ../ESP32Time
97+
git checkout --quiet main
98+
git pull --quiet origin main
99+
git checkout --quiet v2.0.0
100+
101+
echo ESPAsyncWebServer
102+
cd ../ESPAsyncWebServer
103+
git checkout --quiet master
104+
git pull --quiet origin master
105+
106+
echo Ethernet
107+
cd ../Ethernet
108+
git checkout --quiet master
109+
git pull --quiet origin master
110+
git checkout --quiet 2.0.2
111+
112+
echo JC_Button
113+
cd ../JC_Button
114+
git checkout --quiet master
115+
git pull --quiet origin master
116+
git checkout --quiet 2.1.2
117+
118+
echo NimBLE-Arduino
119+
cd ../NimBLE-Arduino
120+
git checkout --quiet release/1.4
121+
git pull --quiet origin release/1.4
122+
git checkout --quiet 1.4.1
123+
124+
echo PubSubClient
125+
cd ../PubSubClient
126+
git checkout --quiet master
127+
git pull --quiet origin master
128+
git checkout --quiet v2.8
129+
130+
echo RadioLib
131+
cd ../RadioLib
132+
git checkout --quiet master
133+
git pull --quiet origin master
134+
git checkout --quiet 5.6.0
135+
136+
echo SdFat
137+
cd ../SdFat
138+
git checkout --quiet master
139+
git pull --quiet origin master
140+
git checkout --quiet 2.1.1
141+
142+
echo SparkFun_LIS2DH12_Arduino_Library
143+
cd ../SparkFun_LIS2DH12_Arduino_Library
144+
git checkout --quiet master
145+
git pull --quiet origin master
146+
git checkout --quiet v1.0.3
147+
148+
echo SparkFun_MAX1704x_Fuel_Gauge_Arduino_Library
149+
cd ../SparkFun_MAX1704x_Fuel_Gauge_Arduino_Library
150+
git checkout --quiet main
151+
git pull --quiet origin main
152+
git checkout --quiet v1.0.4
153+
154+
echo SparkFun_Qwiic_OLED_Arduino_Library
155+
cd ../SparkFun_Qwiic_OLED_Arduino_Library
156+
git checkout --quiet main
157+
git pull --quiet origin main
158+
git checkout --quiet v1.0.9
159+
160+
echo SparkFun_u-blox_GNSS_Arduino_Library
161+
cd ../SparkFun_u-blox_GNSS_Arduino_Library
162+
git checkout --quiet main
163+
git pull --quiet origin main
164+
git checkout --quiet v2.2.24
165+
166+
echo SparkFun_u-blox_GNSS_v3
167+
cd ../SparkFun_u-blox_GNSS_v3
168+
git checkout --quiet main
169+
git pull --quiet origin main
170+
git checkout --quiet v3.0.14
171+
172+
echo SparkFun_u-blox_SARA-R5_Arduino_Library
173+
cd ../SparkFun_u-blox_SARA-R5_Arduino_Library
174+
git checkout --quiet main
175+
git pull --quiet origin main
176+
git checkout --quiet v1.1.6
177+
178+
echo SparkFun_WebServer_ESP32_W5500
179+
cd ../SparkFun_WebServer_ESP32_W5500
180+
git checkout --quiet main
181+
git pull --quiet origin main
182+
git checkout --quiet v1.5.5
183+
184+
echo SSLClientESP32
185+
cd ../SSLClientESP32
186+
git checkout --quiet master
187+
git pull --quiet origin master
188+
git checkout --quiet v2.0.0
189+
190+
echo WiFiManager
191+
cd ../WiFiManager
192+
git checkout --quiet master
193+
git pull --quiet origin master
194+
git checkout --quiet v2.0.16-rc.2
195+
196+
echo ----------------------------------
197+
~/Arduino/arduino-cli lib list
198+
52199
RTK: ../RTK_Surveyor/RTK_Surveyor.ino ../RTK_Surveyor/*.h
53200
~/Arduino/arduino-cli compile --fqbn "esp32:esp32:esp32":DebugLevel=$(DEBUG_LEVEL) ../RTK_Surveyor/RTK_Surveyor.ino --build-property build.partitions=app3M_fat9M_16MB --build-property upload.maximum_size=3145728 --build-property "compiler.cpp.extra_flags=\"-DPOINTPERFECT_TOKEN=$(POINTPERFECT_TOKEN)\" \"-DFIRMWARE_VERSION_MAJOR=$(FIRMWARE_VERSION_MAJOR)\" \"-DFIRMWARE_VERSION_MINOR=$(FIRMWARE_VERSION_MINOR)\" \"-DENABLE_DEVELOPER=$(ENABLE_DEVELOPER)\"" --export-binaries
54201

0 commit comments

Comments
 (0)