[Cryptech-Commits] [sw/stm32] 01/02: Add dummy hal_free_static_memory to cli-test, to avoid a link error.

git at cryptech.is git at cryptech.is
Wed Jul 25 06:01:06 UTC 2018


This is an automated email from the git hooks/post-receive script.

paul at psgd.org pushed a commit to branch master
in repository sw/stm32.

commit 7e6a9f76d8a72dead4763fbb726cfd60fece7b03
Author: Paul Selkirk <paul at psgd.org>
AuthorDate: Tue Jul 24 22:50:55 2018 -0400

    Add dummy hal_free_static_memory to cli-test, to avoid a link error.
    
    We really ought to rototill cli-test, but not today.
---
 projects/cli-test/cli-test.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/projects/cli-test/cli-test.c b/projects/cli-test/cli-test.c
index 82946fa..c0fe57e 100644
--- a/projects/cli-test/cli-test.c
+++ b/projects/cli-test/cli-test.c
@@ -88,3 +88,9 @@ void *hal_allocate_static_memory(const size_t size)
 {
     return NULL;
 }
+
+int hal_free_static_memory(const void * const ptr)
+{
+    return 0;
+}
+



More information about the Commits mailing list