Skip to content

Commit 323a56e

Browse files
committed
bump up freeRTOS deps to version 10.5.1
1 parent 6763521 commit 323a56e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tools/get_deps.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# Mandatory Dependencies that is always fetched
77
# path, url, commit (Alphabet sorted by path)
88
deps_mandatory = {
9-
'lib/FreeRTOS-Kernel' : ['2a604f4a2818b8354b5e1a39e388eb5e16cfbc1f', 'https://github.com/FreeRTOS/FreeRTOS-Kernel.git' ],
9+
'lib/FreeRTOS-Kernel' : ['def7d2df2b0506d3d249334974f51e427c17a41c', 'https://github.com/FreeRTOS/FreeRTOS-Kernel.git' ],
1010
'lib/lwip' : ['159e31b689577dbf69cf0683bbaffbd71fa5ee10', 'https://github.com/lwip-tcpip/lwip.git' ],
1111
'tools/uf2' : ['19615407727073e36d81bf239c52108ba92e7660', 'https://github.com/microsoft/uf2.git' ],
1212
}
@@ -96,6 +96,7 @@ def get_a_dep(d):
9696
head = result.stdout.decode("utf-8").splitlines()[0]
9797

9898
if commit != head:
99+
subprocess.run("{} reset --hard".format(git_cmd, commit), shell=True)
99100
subprocess.run("{} fetch --depth 1 origin {}".format(git_cmd, commit), shell=True)
100101
subprocess.run("{} checkout FETCH_HEAD".format(git_cmd), shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
101102

0 commit comments

Comments
 (0)