summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorhathach <[email protected]>2023-03-17 15:39:59 +0700
committerhathach <[email protected]>2023-03-17 15:39:59 +0700
commit323a56e309654601d1eaeaa4114e03f750c58a36 (patch)
treeddae6fbdb9ff67922e4d609ba622c727a02200ec /tools
parent6763521ec7f3979dcd7bc0b37a756f8d13399cbb (diff)
bump up freeRTOS deps to version 10.5.1
Diffstat (limited to 'tools')
-rw-r--r--tools/get_deps.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/get_deps.py b/tools/get_deps.py
index 358f1cb9d..24e5f383a 100644
--- a/tools/get_deps.py
+++ b/tools/get_deps.py
@@ -6,7 +6,7 @@ from multiprocessing import Pool
# Mandatory Dependencies that is always fetched
# path, url, commit (Alphabet sorted by path)
deps_mandatory = {
- 'lib/FreeRTOS-Kernel' : ['2a604f4a2818b8354b5e1a39e388eb5e16cfbc1f', 'https://github.com/FreeRTOS/FreeRTOS-Kernel.git' ],
+ 'lib/FreeRTOS-Kernel' : ['def7d2df2b0506d3d249334974f51e427c17a41c', 'https://github.com/FreeRTOS/FreeRTOS-Kernel.git' ],
'lib/lwip' : ['159e31b689577dbf69cf0683bbaffbd71fa5ee10', 'https://github.com/lwip-tcpip/lwip.git' ],
'tools/uf2' : ['19615407727073e36d81bf239c52108ba92e7660', 'https://github.com/microsoft/uf2.git' ],
}
@@ -96,6 +96,7 @@ def get_a_dep(d):
head = result.stdout.decode("utf-8").splitlines()[0]
if commit != head:
+ subprocess.run("{} reset --hard".format(git_cmd, commit), shell=True)
subprocess.run("{} fetch --depth 1 origin {}".format(git_cmd, commit), shell=True)
subprocess.run("{} checkout FETCH_HEAD".format(git_cmd), shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)