summaryrefslogtreecommitdiff
path: root/platform/wavelet3d/host_sw/log.h
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2024-05-23 20:24:51 -0600
committerAlejandro Soto <alejandro@34project.org>2024-05-24 05:58:44 -0600
commitc2d178577ae7d9272d7aff35895a36aefe626eca (patch)
tree1c8ef89df743f01db9e108dc10f559bae5a10ce6 /platform/wavelet3d/host_sw/log.h
parenta148430ae145d99ba50a87b6147fa0e6e81cb258 (diff)
platform/wavelet3d/host_sw: implement firmware loading
Diffstat (limited to '')
-rw-r--r--platform/wavelet3d/host_sw/log.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/platform/wavelet3d/host_sw/log.h b/platform/wavelet3d/host_sw/log.h
new file mode 100644
index 0000000..1396342
--- /dev/null
+++ b/platform/wavelet3d/host_sw/log.h
@@ -0,0 +1,12 @@
+#ifndef LOG_H
+#define LOG_H
+
+#include <stdio.h>
+
+#ifdef MOD_NAME
+ #define log(fmt, ...) printf(MOD_NAME ": " fmt "\n", ##__VA_ARGS__)
+#else
+ #define log(fmt, ...) printf(fmt "\n", ##__VA_ARGS__)
+#endif
+
+#endif